
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: #f0f2f5;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    max-height: 940px;
    display: flex;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin: 20px;
}

.banner-section {
    flex: 1.2; /* Roughly matches the 788:x ratio */
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.banner-section img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.login-form {
    width: 100%;
    max-width: 450px;
}

.form-title {
    margin-bottom: 30px;
}

.form-title h2 {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-title h2 span {
    display: block;
    color: #6366f1;
    font-size: 32px;
    font-weight: 800;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    color: #374151;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.social-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.social-btn img {
    width: 20px;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
    color: #9ca3af;
    font-size: 14px;
}

.divider::before, .divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e5e7eb;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 0 15px;
    transition: border-color 0.2s;
    border: 2px solid transparent;
}

.input-wrapper:focus-within {
    border-color: #6366f1;
    background: white;
}

.input-icon {
    color: #6b7280;
    margin-right: 12px;
}

.form-control {
    background: transparent !important;
    border: none !important;
    padding: 15px 0 !important;
    box-shadow: none !important;
    height: auto !important;
}

.input-label-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.input-label-inner label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: -5px;
    margin-top: 5px;
}

.password-toggle {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 5px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.form-check-label {
    font-size: 14px;
    color: #4b5563;
}

.forgot-password {
    font-size: 14px;
    color: #6366f1;
    text-decoration: none;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s;
    cursor: pointer;
}

.btn-login:hover {
    background: #4f46e5;
}

.register-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #4b5563;
}

.register-link a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
}

/* Modal/SweatAlert fix */
.swal2-container {
    z-index: 9999;
}

@media (max-width: 992px) {
    .banner-section {
        display: none;
    }
    .login-container {
        max-width: 500px;
        height: auto;
    }
    .form-section {
        padding: 40px;
    }
}
