@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden;
    background-color: #f5f5f5;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Left Panel - Visual/Brand */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1a2455 0%, #0d122b 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

/* Abstract decorative circles */
.login-left::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(202, 164, 114, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
}

.login-left::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(202, 164, 114, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: 50px;
    right: 50px;
    border-radius: 50%;
}

.brand-showcase {
    position: relative;
    z-index: 2;
    text-align: center;
}

.brand-showcase img {
    max-width: 200px;
    margin-bottom: 30px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.brand-showcase h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(to right, #ffffff, #caa472);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-showcase p {
    font-size: 1.1rem;
    color: #a0aec0;
    line-height: 1.6;
    max-width: 80%;
    margin: 0 auto;
}

/* Right Panel - Login Form */
.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 40px;
}

.login-form-container {
    width: 100%;
    max-width: 450px;
    padding: 0 20px;
}

.login-header {
    margin-bottom: 40px;
    text-align: left;
}

.login-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.login-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.video-cta {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    color: #caa472;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.video-cta:hover {
    color: #b08d55;
}

.video-cta i {
    margin-right: 8px;
    border: 1px solid #caa472;
    border-radius: 50%;
    padding: 4px;
    font-size: 0.6rem;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #1e293b;
    transition: all 0.2s;
    background-color: #f8fafc;
    font-family: 'Inter', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #caa472;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(202, 164, 114, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

.forgot-password {
    display: block;
    text-align: right;
    color: #64748b;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 8px;
    margin-bottom: 30px;
    font-weight: 500;
}

.forgot-password:hover {
    color: #1a2455;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background-color: #1a2455;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    background-color: #2a3b75;
}

.btn-primary:active {
    transform: scale(0.99);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #94a3b8;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider::before {
    margin-right: 15px;
}

.divider::after {
    margin-left: 15px;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-social {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background-color: white;
    color: #1e293b;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font-size: 0.9rem;
}

.btn-social:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.btn-social img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.register-link {
    text-align: center;
    margin-top: 30px;
    color: #64748b;
    font-size: 0.9rem;
}

.register-link a {
    color: #1a2455;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

.error {
    background-color: #fee2e2;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-align: center;
    border: 1px solid #fecaca;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .login-left {
        flex: 0 0 250px;
        padding: 30px 20px;
    }

    .login-left::before, .login-left::after {
        display: none;
    }

    .brand-showcase img {
        max-width: 120px;
        margin-bottom: 15px;
    }

    .brand-showcase h1 {
        font-size: 1.8rem;
    }

    .brand-showcase p {
        font-size: 0.95rem;
        display: none;
    }

    .login-right {
        padding: 40px 20px;
        flex: 1;
    }
}