﻿        :root {
            --app-red: #E62828;
            --app-red-hover: #CC1F1F;
            --app-red-gradient: linear-gradient(165deg, #E62828 0%, #D01919 50%, #9E0D0D 100%);
            --app-dark-text: #172033;
            --app-muted: #8E9BAE;
            --app-border: #E2E8F0;
        }

        * {
            box-sizing: border-box;
        }

        body {
            font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            color: var(--app-dark-text);
            background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .viewport-wrapper {
            width: 100%;
            max-width: 860px;
            padding: 2rem 1.25rem;
            margin: 0 auto;
        }

        /* Top Header */
        .top-header-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.25rem;
            padding: 0 0.25rem;
        }

        .heading-login-now {
            font-size: 1.6rem;
            font-weight: 900;
            letter-spacing: -0.01em;
            color: #172338;
            margin: 0;
            text-transform: uppercase;
        }

        .top-brand-logo {
            max-height: 32px;
            width: auto;
            object-fit: contain;
        }

        /* Master Auth Card */
        .auth-card-wrapper {
            background: #FFFFFF;
            border-radius: 26px;
            box-shadow: 0 18px 45px rgba(230, 40, 40, 0.08), 0 4px 18px rgba(0, 0, 0, 0.04);
            overflow: hidden;
            border: 1px solid rgba(226, 232, 240, 0.85);
            display: grid;
            grid-template-columns: 44% 56%;
        }

        /* Left Red Hero Section */
        .hero-left-pane {
            background: var(--app-red-gradient);
            padding: 3.5rem 2.25rem;
            text-align: center;
            color: #FFFFFF;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        /* Frosted Glass Icon Box */
        .glass-icon-box {
            width: 82px;
            height: 82px;
            margin: 0 auto 1.5rem;
            background: rgba(255, 255, 255, 0.18);
            border: 1.5px solid rgba(255, 255, 255, 0.28);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-radius: 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        }

        .glass-icon-svg {
            width: 38px;
            height: 38px;
            fill: #FFFFFF;
        }

        .hero-title {
            font-size: 1.85rem;
            font-weight: 800;
            color: #FFFFFF;
            margin-bottom: 0.85rem;
            letter-spacing: -0.02em;
        }

        .hero-subtitle {
            font-size: 0.88rem;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.5;
            margin: 0 auto;
            max-width: 290px;
            font-weight: 400;
        }

        /* Right Form Section */
        .form-right-pane {
            padding: 3rem 2.75rem 2.75rem;
            background: #FFFFFF;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* Single LOGIN Tab (JOIN removed as requested) */
        .auth-tab-row {
            margin-bottom: 1.85rem;
            border-bottom: 1px solid #F1F5F9;
            padding-bottom: 0.35rem;
        }

        .auth-tab-heading {
            font-size: 1.1rem;
            font-weight: 800;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            color: #172338;
            position: relative;
            display: inline-block;
            padding-bottom: 0.65rem;
            margin: 0;
        }

        .auth-tab-heading::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -1px;
            width: 100%;
            height: 3.5px;
            background-color: #E62828;
            border-radius: 3px;
        }

        /* Inputs & Groups */
        .auth-input-group {
            margin-bottom: 1.35rem;
        }

        .auth-field-label {
            font-size: 0.74rem;
            font-weight: 800;
            color: #64748B;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            margin-bottom: 0.45rem;
            display: block;
        }

        .auth-input-container {
            display: flex;
            align-items: center;
            background: #FFFFFF;
            border: 1.5px solid #E2E8F0;
            border-radius: 12px;
            padding: 0 0.85rem;
            height: 52px;
            transition: all 0.2s ease;
            position: relative;
        }

        .auth-input-container.active-focus {
            border-color: #E62828;
            box-shadow: 0 0 0 3px rgba(230, 40, 40, 0.12);
        }

        .auth-input-container.has-red-border {
            border-color: #E62828;
        }

        .auth-input-icon {
            font-size: 1.05rem;
            color: #94A3B8;
            margin-right: 0.65rem;
            display: flex;
            align-items: center;
            transition: color 0.2s ease;
        }

        .auth-input-icon.red-icon {
            color: #E62828;
        }

        .auth-text-field {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 0.92rem;
            font-weight: 500;
            color: #1E293B;
            outline: none;
            padding: 0;
            width: 100%;
        }

        .auth-text-field::placeholder {
            color: #94A3B8;
            font-weight: 400;
        }

        /* Right Counter Badges */
        .input-counter-badge {
            background: #F8FAFC;
            border: 1px solid #E2E8F0;
            color: #94A3B8;
            font-size: 0.72rem;
            font-weight: 600;
            padding: 0.2rem 0.5rem;
            border-radius: 6px;
            user-select: none;
            white-space: nowrap;
        }

        .input-counter-badge.valid-badge {
            color: #059669;
            background: #ECFDF5;
            border-color: #A7F3D0;
        }

        .password-addon-group {
            display: flex;
            align-items: center;
            gap: 0.45rem;
        }

        .btn-pwd-eye {
            background: none;
            border: none;
            color: #94A3B8;
            padding: 0.2rem;
            cursor: pointer;
            font-size: 1.05rem;
            display: flex;
            align-items: center;
            transition: color 0.2s ease;
        }

        .btn-pwd-eye:hover {
            color: #E62828;
        }

        /* Bottom Row & Submit Button */
        .auth-bottom-action-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 1.75rem;
        }

        .quick-demo-link {
            font-size: 0.76rem;
            color: #E62828;
            text-decoration: none;
            font-weight: 700;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
        }

        .quick-demo-link:hover {
            text-decoration: underline;
        }

        .btn-main-login {
            background: #E2E8F0;
            color: #94A3B8;
            font-size: 0.88rem;
            font-weight: 800;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            border: none;
            border-radius: 10px;
            padding: 0.65rem 2rem;
            cursor: pointer;
            transition: all 0.25s ease;
            box-shadow: none;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 105px;
            height: 44px;
        }

        .btn-main-login.active-ready {
            background: #E62828;
            color: #FFFFFF;
            box-shadow: 0 4px 14px rgba(230, 40, 40, 0.38);
        }

        .btn-main-login.active-ready:hover {
            background: #D01919;
            transform: translateY(-1px);
            box-shadow: 0 6px 18px rgba(230, 40, 40, 0.45);
        }

        .btn-main-login:disabled {
            opacity: 0.75;
            cursor: not-allowed;
            transform: none;
        }

        /* Bottom Meta Strip */
        .bottom-security-meta {
            text-align: center;
            margin-top: 1.5rem;
            font-size: 0.72rem;
            color: #94A3B8;
        }

        .bottom-security-meta a {
            color: #00367D;
            text-decoration: none;
            font-weight: 600;
        }

        .bottom-security-meta a:hover {
            text-decoration: underline;
        }

        /* -------------------------------------------------------------
           MOBILE RESPONSIVENESS (< 768px)
           Vertical stack matching mobile view
           ------------------------------------------------------------- */
        @media (max-width: 767px) {
            body {
                align-items: flex-start;
                padding: 1.5rem 1.25rem 2.5rem;
            }

            .viewport-wrapper {
                max-width: 440px;
                padding: 0;
            }

            .auth-card-wrapper {
                grid-template-columns: 1fr;
            }

            .hero-left-pane {
                padding: 2.5rem 1.75rem 2.25rem;
            }

            .form-right-pane {
                padding: 2rem 1.5rem 1.75rem;
            }

            .hero-title {
                font-size: 1.7rem;
            }
        }
