/* ==========================================================================
   RP SMS - Login Page Split-Screen Stylesheet
   ========================================================================== */

:root {
    --brand-orange: #ff5722;
    --brand-orange-hover: #f4511e;
    --dark-bg: #0b0f19;
    --dark-card: #111827;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: #1e293b;
}

.split-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Mobile Top Bar (Dark Header Bar matching reference image) */
.mobile-top-bar {
    width: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(255, 87, 34, 0.08) 0%, transparent 40%),
                linear-gradient(145deg, #090d16 0%, #0f1624 100%);
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

/* Left Hero Pane (50% equal width on Desktop) */
.hero-pane {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    background: radial-gradient(circle at 10% 20%, rgba(255, 87, 34, 0.08) 0%, transparent 40%),
                linear-gradient(145deg, #090d16 0%, #0f1624 100%);
    color: #ffffff;
    padding: 3.5rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hero-title {
    font-size: clamp(1.4rem, 2.05vw, 2.05rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    white-space: nowrap;
}

.text-orange {
    color: var(--brand-orange) !important;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.feature-check {
    width: 26px;
    height: 26px;
    background: rgba(255, 87, 34, 0.18);
    color: var(--brand-orange);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.feature-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: #e2e8f0;
    letter-spacing: -0.01em;
}

/* Right Form Pane (50% equal width on Desktop) */
.form-pane {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    min-height: 100vh;
}

.form-box {
    width: 100%;
    max-width: 440px;
}

/* Professional Form Fields */
.form-field-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #475569;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
    display: block;
}

.form-input-box {
    display: flex;
    align-items: center;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 0.9rem;
    height: 48px;
    transition: all 0.2s ease-in-out;
    position: relative;
    width: 100%;
}

.form-input-box:focus-within {
    background-color: #ffffff;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15);
}

.form-input-box .input-icon-left {
    color: #64748b;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.form-input-box .form-control-custom {
    flex: 1 1 auto;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    padding: 0 !important;
    height: 100%;
    width: 100%;
}

.form-input-box .form-control-custom::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.form-input-box .btn-toggle-password {
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
    margin-left: 0.5rem;
    color: #64748b;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.form-input-box .btn-toggle-password:hover {
    color: #1e293b;
}

.form-check-input {
    border-radius: 4px;
    border-color: #cbd5e1;
    width: 1.05rem;
    height: 1.05rem;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    border-color: #0d6efd;
}

.btn-sign-in {
    background-color: var(--brand-orange);
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    padding: 0.8rem 1.5rem;
    height: 48px;
    font-size: 0.98rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.25);
}

.btn-sign-in:hover {
    background-color: var(--brand-orange-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 87, 34, 0.35);
}

.btn-google {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.72rem 1rem;
    height: 46px;
    font-weight: 500;
    font-size: 0.92rem;
    color: #334155;
    background: #ffffff;
    transition: all 0.2s ease;
}

.btn-google:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* Mobile Responsive (< 992px) */
@media (max-width: 991.98px) {
    .split-layout {
        flex-direction: column;
        min-height: 100vh;
        min-height: 100dvh;
        background: #ffffff;
    }
    /* Hide desktop left section */
    .hero-pane {
        display: none !important;
    }
    /* Top bar displayed full width at the top */
    .mobile-top-bar {
        display: block !important;
    }
    /* Form pane fills remaining height, top aligned */
    .form-pane {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        padding: 1.75rem 1.25rem 2.5rem 1.25rem !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: center !important;
        background: #ffffff;
    }
    .form-box {
        width: 100%;
        max-width: 440px;
    }
    .form-box h2 {
        font-size: 1.75rem !important;
    }
}

/* Global Sleek Scrollbar */
html, body, *, *::before, *::after {
    scrollbar-width: thin;
    scrollbar-color: #475569 transparent;
}
*::-webkit-scrollbar, ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
*::-webkit-scrollbar-button, ::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
*::-webkit-scrollbar-track, ::-webkit-scrollbar-track {
    background: transparent !important;
}
*::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb {
    background-color: #475569 !important;
    border-radius: 10px !important;
}
*::-webkit-scrollbar-thumb:hover, ::-webkit-scrollbar-thumb:hover {
    background-color: #64748b !important;
}
