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

body {
    /*height: 100vh;*/
    display: flex;
    font-family: 'Inter', sans-serif;
    background: #f8f7f4;
    /*overflow: hidden;*/
}

/* ===== LEFT PANEL — TRAVEL VISUAL ===== */
.left-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px;
    background: url('https://images.unsplash.com/photo-1506929562872-bb421503ef21?w=1200&q=80') center/cover no-repeat;
}

.left-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.15) 0%,
        rgba(15, 23, 42, 0.55) 50%,
        rgba(15, 23, 42, 0.85) 100%
    );
    z-index: 1;
}

.left-content {
    position: relative;
    z-index: 2;
    color: #fff;
}

.left-content .tagline {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s ease forwards 0.3s;
}

.left-content .tagline span {
    color: #f59e0b;
}

.left-content .sub-tagline {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    max-width: 380px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards 0.5s;
}

.left-stats {
    display: flex;
    gap: 40px;
    margin-top: 35px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards 0.7s;
}

.left-stats .stat-item {
    text-align: left;
}

.left-stats .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #f59e0b;
}

.left-stats .stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* Floating decorative elements */
.float-icon {
    position: absolute;
    z-index: 2;
    color: rgb(255, 255, 255);
    font-size: 80px;
    animation: float 6s ease-in-out infinite;
}

.float-icon.i1 { top: 15%; left: 10%; animation-delay: 0s; }
.float-icon.i2 { top: 25%; right: 15%; animation-delay: 2s; font-size: 50px; }
.float-icon.i3 { top: 55%; left: 20%; animation-delay: 4s; font-size: 60px; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(5deg); }
}

/* ===== RIGHT PANEL — FORM ===== */
.right-panel {
    width: 520px;
    min-width: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 60px;
    background: #fff;
    position: relative;
    box-shadow: -20px 0 60px rgba(0,0,0,0.06);
}

/* Subtle pattern overlay on right */
.right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.form-wrapper {
    width: 100%;
    max-width: 360px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(30px);
    animation: slideRight 0.7s ease forwards 0.4s;
}

/* Logo */
.logo-area {
    text-align: center;
    margin-bottom: 10px;
}

.logo-area img {
    width: 140px;
    height: 66px;
    /*border-radius: 14px;*/
    /*object-fit: cover;*/
    /*box-shadow: 0 4px 20px rgba(0,0,0,0.1);*/
    margin-bottom: 5px;
}

.logo-area .brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.logo-area .brand-name span {
    color: #f59e0b;
}

.logo-area .brand-sub {
    font-size: 13px;
    color: #94a3b8;
    margin-top: 6px;
    font-weight: 300;
}

/* Welcome text */
.welcome-text {
    margin-bottom: 20px;
}

.welcome-text h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
}

.welcome-text p {
    font-size: 14px;
    color: #94a3b8;
    font-weight: 300;
}

/* Alert */
.alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shakeX 0.5s ease;
}

.alert i {
    font-size: 16px;
    flex-shrink: 0;
}

@keyframes shakeX {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

/* Input group */
.input-group {
    margin-bottom: 22px;
    position: relative;
}

.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.input-field {
    position: relative;
}

.input-field i.field-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #cbd5e1;
    font-size: 16px;
    transition: color 0.3s;
}

.input-field input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #1e293b;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.input-field input::placeholder {
    color: #b0bec5;
    font-weight: 300;
}

.input-field input:focus {
    border-color: #f59e0b;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.input-field input:focus + i,
.input-field input:focus ~ i.field-icon {
    color: #f59e0b;
}

/* Wallet badge */
.wallet-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
    font-size: 11px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 22px;
}

.wallet-badge i {
    font-size: 10px;
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4);
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:active {
    transform: translateY(0);
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 400;
    white-space: nowrap;
}

/* Footer link */
.form-footer {
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.form-footer a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.form-footer a:hover {
    color: #d97706;
    text-decoration: underline;
}

/* Security note */
.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 28px;
    font-size: 11px;
    color: #b0bec5;
}

.security-note i {
    font-size: 12px;
    color: #16a34a;
}

/* ===== ANIMATIONS ===== */
@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideRight {
    to { opacity: 1; transform: translateX(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    body {
        flex-direction: column;
        overflow-y: auto;
    }

    .left-panel {
        min-height: 280px;
        flex: none;
        padding: 40px 30px;
        display:none;
    }

    .left-content .tagline {
        font-size: 26px;
    }

    .left-stats {
        gap: 25px;
    }

    .left-stats .stat-num {
        font-size: 22px;
    }

    .right-panel {
        width: 100%;
        min-width: unset;
        padding: 40px 24px;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.06);
    }

    .float-icon { display: none; }
}

@media (max-width: 480px) {
    .left-panel {
        min-height: 220px;
        padding: 30px 20px;
    }

    .left-content .tagline {
        font-size: 22px;
    }

    .left-stats {
        gap: 20px;
        margin-top: 20px;
    }

    .right-panel {
        padding: 32px 20px;
    }

    .form-wrapper {
        max-width: 100%;
    }
}