    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    :root {
        --blue: #2563EB;
        --blue-dark: #1d4ed8;
        --blue-light: rgba(37, 99, 235, 0.1);
        --text-primary: #111827;
        --text-secondary: #6B7280;
        --text-tertiary: #9CA3AF;
        --border: #E5E7EB;
        --bg: #ffffff;
        --bg-secondary: #F9FAFB;
        --radius-sm: 10px;
        --radius-md: 12px;
    }

    body {
        font-family: 'Poppins', sans-serif;
        background: #f3f4f6;
        min-height: 100vh;
        display: flex;
        align-items: stretch;
        margin: 0;
        padding: 0;
    }

    .page-wrap {
        display: flex;
        width: 100%;
        min-height: 100vh;
    }

    /* ── FORM SIDE ── */
    .form-side {
        flex: 0 0 50%;
        background: var(--bg);
        padding: 60px 80px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 48px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        background: var(--blue);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #fff;
        font-weight: 700;
    }

    .logo-name {
        font-size: 18px;
        font-weight: 700;
        color: var(--text-primary);
        letter-spacing: -0.3px;
    }

    .tab-row {
        display: flex;
        margin-bottom: 36px;
        border-bottom: 1.5px solid var(--border);
    }

    .tab-btn {
        background: none;
        border: none;
        padding: 0 0 14px;
        margin-right: 32px;
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        font-weight: 400;
        color: var(--text-secondary);
        cursor: pointer;
        position: relative;
        transition: color 0.2s;
        outline: none;
    }

    .tab-btn.active {
        font-weight: 600;
        color: var(--text-primary);
    }

    .tab-btn.active::after {
        content: '';
        position: absolute;
        bottom: -1.5px;
        left: 0;
        right: 0;
        height: 2.5px;
        background: var(--blue);
        border-radius: 2px;
    }

    .panel {
        display: none;
    }

    .panel.active {
        display: block;
    }

    .heading {
        font-size: 28px;
        font-weight: 700;
        color: var(--text-primary);
        margin-bottom: 6px;
        line-height: 1.25;
        letter-spacing: -0.5px;
    }

    .subtext {
        font-size: 13px;
        font-weight: 400;
        color: var(--text-secondary);
        margin-bottom: 32px;
    }

    .field-group {
        margin-bottom: 16px;
    }

    .field-label {
        display: block;
        font-size: 12.5px;
        font-weight: 500;
        color: var(--text-primary);
        margin-bottom: 7px;
    }

    .field-input {
        width: 100%;
        padding: 11px 14px;
        border: 1.5px solid var(--border);
        border-radius: var(--radius-sm);
        background: var(--bg);
        font-family: 'Poppins', sans-serif;
        font-size: 13.5px;
        color: var(--text-primary);
        outline: none;
        transition: border-color 0.18s, box-shadow 0.18s;
    }

    .field-input:hover {
        border-color: #D1D5DB;
    }

    .field-input:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 3px var(--blue-light);
    }

    .field-input::placeholder {
        color: var(--text-tertiary);
        font-size: 13px;
    }

    .row-inline {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 7px;
    }

    .forgot-link {
        font-size: 12.5px;
        font-weight: 500;
        color: var(--blue);
        text-decoration: none;
        cursor: pointer;
        transition: opacity 0.15s;
    }

    .forgot-link:hover {
        opacity: 0.75;
    }

    .remember-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 24px;
        font-size: 13px;
        color: var(--text-secondary);
        cursor: pointer;
        user-select: none;
    }

    .remember-row input[type=checkbox] {
        accent-color: var(--blue);
        width: 15px;
        height: 15px;
        cursor: pointer;
    }

    .btn-primary {
        width: 100%;
        padding: 13px;
        background: var(--blue);
        color: #fff;
        border: none;
        border-radius: var(--radius-sm);
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.18s, transform 0.1s;
        margin-bottom: 22px;
        letter-spacing: 0.1px;
    }

    .btn-primary:hover {
        background: var(--blue-dark);
    }

    .btn-primary:active {
        transform: scale(0.99);
    }

    .divider {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 18px;
    }

    .divider-line {
        flex: 1;
        height: 1px;
        background: var(--border);
    }

    .divider-text {
        font-size: 12px;
        color: var(--text-tertiary);
        font-weight: 400;
    }

    .social-row {
        display: flex;
        gap: 10px;
        margin-bottom: 28px;
    }

    .btn-social {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 11px 0;
        border: 1.5px solid var(--border);
        border-radius: var(--radius-sm);
        background: var(--bg);
        font-family: 'Poppins', sans-serif;
        font-size: 12.5px;
        font-weight: 500;
        color: var(--text-primary);
        cursor: pointer;
        transition: background 0.15s, border-color 0.15s;
    }

    .btn-social:hover {
        background: var(--bg-secondary);
        border-color: #D1D5DB;
    }

    .footer-text {
        text-align: center;
        font-size: 13px;
        color: var(--text-secondary);
    }

    .footer-link {
        color: var(--blue);
        cursor: pointer;
        font-weight: 600;
        text-decoration: none;
    }

    .footer-link:hover {
        text-decoration: underline;
    }

    .name-row {
        display: flex;
        gap: 12px;
    }

    .name-row .field-group {
        flex: 1;
    }

    .terms-text {
        font-size: 11.5px;
        color: var(--text-tertiary);
        text-align: center;
        margin-bottom: 16px;
        line-height: 1.7;
    }

    .terms-text a {
        color: var(--blue);
        text-decoration: none;
        font-weight: 500;
    }

    .terms-text a:hover {
        text-decoration: underline;
    }

    /* ── MAP SIDE ── */
    .map-side {
        flex: 1;
        background: #1c1c1e;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        padding: 24px;
    }

    .map-side svg.map-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .app-badge {
        position: relative;
        z-index: 2;
        width: 52px;
        height: 52px;
        background: #ffffff;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
        .page-wrap {
            flex-direction: column;
        }

        .form-side {
            flex: none;
            padding: 48px 32px;
        }

        .map-side {
            min-height: 240px;
            flex: none;
        }
    }