:root {
            --green-dark: #06291f;
            --green-main: #0b3f31;
            --green-soft: #0f5a44;
            --gold: #c9a247;
            --gold-light: #f1d17a;
            --gold-muted: rgba(201, 162, 71, 0.16);
            --white: #ffffff;
            --soft-white: #f8faf8;
            --text-main: #123128;
            --text-soft: #6f7f78;
            --border: rgba(11, 63, 49, 0.12);
            --danger: #d94a4a;
            --shadow: 0 24px 60px rgba(6, 41, 31, 0.18);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        body {
            min-height: 100vh;
            font-family: 'Poppins', sans-serif;
            background:
                radial-gradient(circle at top left, rgba(241, 209, 122, 0.25), transparent 34%),
                linear-gradient(135deg, #eaf7f1 0%, #f8fbf8 45%, #eef8f3 100%);
            color: var(--text-main);
            overflow-x: hidden;
        }

        .mobile-page {
            width: 100%;
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 18px;
            position: relative;
        }

        .mobile-page::before {
            content: "";
            position: fixed;
            width: 280px;
            height: 280px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(11, 63, 49, 0.16), rgba(201, 162, 71, 0.16));
            top: -90px;
            right: -100px;
            filter: blur(2px);
            z-index: 0;
        }

        .mobile-page::after {
            content: "";
            position: fixed;
            width: 240px;
            height: 240px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(201, 162, 71, 0.18), rgba(11, 63, 49, 0.10));
            bottom: -110px;
            left: -90px;
            z-index: 0;
        }

        .auth-shell {
            width: 100%;
            max-width: 390px;
            min-height: 760px;
            background: var(--white);
            border-radius: 34px;
            overflow: hidden;
            position: relative;
            z-index: 2;
            box-shadow: var(--shadow);
            border: none;
        }

        .hero-area {
            min-height: 255px;
            padding: 28px 24px 24px;
            position: relative;
            background:
                linear-gradient(145deg, rgba(6, 41, 31, 0.96), rgba(12, 89, 66, 0.92)),
                radial-gradient(circle at top right, rgba(241, 209, 122, 0.32), transparent 32%);
            color: var(--white);
            overflow: hidden;
        }

        .hero-area::before {
            content: "";
            position: absolute;
            width: 210px;
            height: 210px;
            border: 1px solid rgba(241, 209, 122, 0.20);
            border-radius: 50%;
            right: -70px;
            top: -70px;
        }

        .hero-area::after {
            content: "";
            position: absolute;
            width: 150px;
            height: 150px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 50%;
            left: -70px;
            bottom: -60px;
        }

        .brand-row {
            display: flex;
            align-items: center;
            gap: 12px;
            position: relative;
            z-index: 2;
        }

        .brand-logo {
            width: 58px;
            height: 58px;
            border-radius: 18px;
            object-fit: contain;
            background: #ffffff;
            padding: 5px;
            box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
        }

        .brand-text h1 {
            font-family: 'Cinzel', serif;
            font-size: 17px;
            line-height: 1.16;
            letter-spacing: 0.7px;
            font-weight: 700;
        }

        .brand-text p {
            font-size: 10.5px;
            color: rgba(255, 255, 255, 0.76);
            margin-top: 3px;
            letter-spacing: 0.5px;
        }

        .hero-copy {
            position: relative;
            z-index: 2;
            margin-top: 32px;
        }

        .hero-copy .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            padding: 7px 11px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.10);
            border: 1px solid rgba(255, 255, 255, 0.14);
            font-size: 10.5px;
            color: rgba(255, 255, 255, 0.88);
            margin-bottom: 14px;
        }

        .hero-copy .eyebrow i {
            color: var(--gold-light);
            font-size: 11px;
        }

        .hero-copy h2 {
            font-size: 22px;
            line-height: 1.28;
            font-weight: 650;
            max-width: 270px;
            letter-spacing: -0.3px;
        }

        .hero-copy p {
            max-width: 285px;
            margin-top: 9px;
            font-size: 12px;
            line-height: 1.65;
            color: rgba(255, 255, 255, 0.72);
            font-weight: 300;
        }

        .floating-card {
            position: absolute;
            right: 22px;
            bottom: 18px;
            width: 116px;
            padding: 12px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.16);
            backdrop-filter: blur(14px);
            z-index: 2;
        }

        .mini-chart {
            height: 54px;
            display: flex;
            align-items: end;
            gap: 5px;
        }

        .mini-chart span {
            width: 12px;
            border-radius: 10px 10px 3px 3px;
            background: linear-gradient(180deg, var(--gold-light), var(--gold));
        }

        .mini-chart span:nth-child(1) { height: 22px; }
        .mini-chart span:nth-child(2) { height: 34px; }
        .mini-chart span:nth-child(3) { height: 42px; }
        .mini-chart span:nth-child(4) { height: 52px; }

        .floating-card p {
            font-size: 9.5px;
            color: rgba(255, 255, 255, 0.78);
            margin-top: 7px;
        }

        .form-area {
            padding: 24px 24px 26px;
            background: var(--white);
            border-radius: 30px 30px 0 0;
            margin-top: -26px;
            position: relative;
            z-index: 5;
        }

        .form-heading {
            margin-bottom: 18px;
        }

        .form-heading h3 {
            font-size: 18px;
            font-weight: 650;
            letter-spacing: -0.2px;
            color: var(--text-main);
        }

        .form-heading p {
            margin-top: 5px;
            font-size: 12px;
            color: var(--text-soft);
            line-height: 1.55;
        }

        .tabs {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5px;
            padding: 5px;
            background: #f1f6f3;
            border: 1px solid var(--border);
            border-radius: 16px;
            margin-bottom: 20px;
        }

        .tab-btn {
            border: none;
            outline: none;
            text-decoration: none;
            text-align: center;
            padding: 10px 12px;
            border-radius: 12px;
            font-family: 'Poppins', sans-serif;
            font-size: 12px;
            font-weight: 600;
            color: var(--text-soft);
            background: transparent;
            cursor: pointer;
        }

        .tab-btn.active {
            color: #ffffff;
            background: linear-gradient(135deg, var(--green-main), var(--green-soft));
            box-shadow: 0 9px 18px rgba(11, 63, 49, 0.18);
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-label {
            display: block;
            font-size: 11.5px;
            font-weight: 600;
            color: var(--text-main);
            margin-bottom: 8px;
        }

        .input-box {
            position: relative;
        }

        .input-box input {
            width: 100%;
            height: 48px;
            border: 1px solid var(--border);
            background: #f8fbf9;
            border-radius: 15px;
            padding: 0 44px 0 43px;
            font-size: 13px;
            font-family: 'Poppins', sans-serif;
            color: var(--text-main);
            outline: none;
            transition: 0.25s ease;
        }

        .input-box input::placeholder {
            color: #9eaaa5;
        }

        .input-box input:focus {
            border-color: rgba(201, 162, 71, 0.75);
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(201, 162, 71, 0.13);
        }

        .input-box input.is-invalid {
            border-color: var(--danger);
            background: #fff8f8;
        }

        .icon-left {
            position: absolute;
            top: 35%;
            left: 15px;
            transform: translateY(-50%);
            font-size: 14px;
            color: var(--green-soft);
        }

        .toggle-pw {
            position: absolute;
            right: 13px;
            top: 50%;
            transform: translateY(-50%);
            border: none;
            background: transparent;
            color: #8e9a94;
            font-size: 14px;
            cursor: pointer;
            width: 28px;
            height: 28px;
            display: grid;
            place-items: center;
        }

        .field-hint,
        .field-error {
            margin-top: 6px;
            font-size: 10.5px;
            line-height: 1.45;
        }

        .field-hint {
            color: #98a5a0;
        }

        .field-error {
            color: var(--danger);
        }

        .options-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            margin: 12px 0 19px;
        }

        .check-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--text-soft);
            font-size: 11.5px;
            cursor: pointer;
            user-select: none;
        }

        .check-label input {
            display: none;
        }

        .check-box {
            width: 17px;
            height: 17px;
            border-radius: 5px;
            border: 1.4px solid rgba(11, 63, 49, 0.25);
            display: grid;
            place-items: center;
            color: #ffffff;
            font-size: 9px;
            transition: 0.2s ease;
        }

        .check-box i {
            opacity: 0;
            transform: scale(0.7);
            transition: 0.2s ease;
        }

        .check-label input:checked + .check-box {
            background: var(--green-main);
            border-color: var(--green-main);
        }

        .check-label input:checked + .check-box i {
            opacity: 1;
            transform: scale(1);
        }

        .forgot-link {
            color: var(--green-main);
            font-size: 11.5px;
            font-weight: 600;
            text-decoration: none;
            white-space: nowrap;
        }

        .submit-btn {
            width: 100%;
            height: 49px;
            border: none;
            border-radius: 16px;
            background: linear-gradient(135deg, var(--gold-light), var(--gold));
            color: #183329;
            font-family: 'Poppins', sans-serif;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 9px;
            cursor: pointer;
            box-shadow: 0 13px 25px rgba(201, 162, 71, 0.28);
            transition: 0.25s ease;
        }

        .submit-btn:active {
            transform: scale(0.985);
        }

        .submit-btn:disabled {
            opacity: 0.65;
            cursor: not-allowed;
        }

        .spinner {
            display: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px solid rgba(24, 51, 41, 0.22);
            border-top-color: #183329;
            animation: spin 0.7s linear infinite;
        }

        .submit-btn.loading .spinner {
            display: block;
        }

        .submit-btn.loading .btn-text,
        .submit-btn.loading .btn-arrow {
            display: none;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .benefit-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 22px;
        }

        .benefit-card {
            border: 1px solid var(--border);
            border-radius: 17px;
            padding: 13px 12px;
            background: #fbfdfb;
        }

        .benefit-card i {
            width: 28px;
            height: 28px;
            border-radius: 10px;
            display: grid;
            place-items: center;
            color: var(--green-main);
            background: rgba(11, 63, 49, 0.08);
            font-size: 13px;
            margin-bottom: 9px;
        }

        .benefit-card strong {
            display: block;
            font-size: 11.5px;
            color: var(--text-main);
            margin-bottom: 3px;
        }

        .benefit-card span {
            display: block;
            font-size: 10.2px;
            line-height: 1.45;
            color: var(--text-soft);
        }

        .security-note {
            margin-top: 18px;
            padding: 12px 13px;
            border-radius: 16px;
            background: rgba(11, 63, 49, 0.055);
            border: 1px solid rgba(11, 63, 49, 0.08);
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .security-note i {
            color: var(--gold);
            font-size: 14px;
            margin-top: 2px;
        }

        .security-note p {
            font-size: 10.8px;
            line-height: 1.55;
            color: var(--text-soft);
        }

        .page-footer {
            text-align: center;
            padding: 0 24px 24px;
            background: var(--white);
            color: #9aa7a1;
            font-size: 10.5px;
        }

        .page-footer a {
            color: var(--green-main);
            font-weight: 600;
            text-decoration: none;
        }

        @media (max-width: 430px) {
            .mobile-page {
                padding: 0;
                align-items: stretch;
            }

            .auth-shell {
                max-width: 100%;
                min-height: 100vh;
                border-radius: 0;
                box-shadow: none;
            }

            .hero-area {
                min-height: 250px;
                padding: 24px 21px 24px;
            }

            .form-area {
                padding: 23px 21px 24px;
            }

            .brand-logo {
                width: 54px;
                height: 54px;
            }

            .brand-text h1 {
                font-size: 16px;
            }

            .hero-copy h2 {
                font-size: 21px;
                max-width: 245px;
            }

            .floating-card {
                width: 106px;
                right: 18px;
                bottom: 16px;
            }
        }

        @media (max-width: 350px) {
            .hero-copy h2 {
                font-size: 19px;
            }

            .floating-card {
                display: none;
            }

            .benefit-grid {
                grid-template-columns: 1fr;
            }

            .options-row {
                align-items: flex-start;
                flex-direction: column;
            }
        }