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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    box-sizing: border-box;
}

/* Main Container */
.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

/* Image Section (70% width on desktop) */
.login-image-section {
    flex: 0 0 70%;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
}

.image-content {
    text-align: center;
    color: white;
    padding: 30px;
    max-width: 450px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.image-content h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.image-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.image-content p {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Login Form Section (30% width on desktop) */
.login-form-section {
    flex: 0 0 30%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: 100vh;
    overflow-y: auto;
}

.login-form-container {
    width: 100%;
    max-width: 320px;
    padding: 30px 25px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin: 0 15px;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    justify-content: center;
}

.logo-container svg {
    margin-right: 8px;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
    text-align: center;
}

.login-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 25px;
    text-align: center;
}

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

.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 0.9rem;
    color: #374151;
    transition: border-color 0.3s ease;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input[type="email"]::placeholder,
.form-group input[type="password"]::placeholder {
    color: #9ca3af;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 22px;
    color: #4b5563;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input[type="checkbox"] {
    margin-right: 6px;
    accent-color: #3B82F6; 
}

.remember-me label {
    color: #4b5563;
}

.forgot-password-link {
    color: #3B82F6; 
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    text-decoration: underline;
    color: #2563EB;
}

.btn-sign-in {
    width: 100%;
    padding: 12px;
    background-color: #3B82F6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-sign-in:hover {
    background-color: #2563EB;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 10px 15px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin-bottom: 18px;
    font-size: 0.85rem;
}

.alert-danger ul {
    margin: 0;
    padding-left: 20px;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .login-image-section {
        flex: 0 0 60%;
    }
    
    .login-form-section {
        flex: 0 0 40%;
        padding: 20px 15px;
    }
    
    .login-form-container {
        margin: 0 10px;
        max-width: 300px;
    }
    
    .image-content h2 {
        font-size: 1.8rem;
    }
    
    .image-content h1 {
        font-size: 2.5rem;
    }
    
    .image-content p {
        font-size: 0.9rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: 100vh;
    }
    
    .login-image-section {
        display: none; /* Hide image on mobile */
    }
    
    .login-form-section {
        flex: 1;
        height: 100vh;
        padding: 15px;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        overflow-y: auto;
    }
    
    .login-form-container {
        max-width: 100%;
        padding: 25px 20px;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        margin: 0 8px;
    }
    
    .login-title {
        font-size: 1.7rem;
    }
    
    .image-content h2 {
        font-size: 1.6rem;
    }
    
    .image-content h1 {
        font-size: 2.2rem;
    }
    
    .image-content p {
        font-size: 0.85rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .login-form-section {
        padding: 10px;
    }
    
    .login-form-container {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .forgot-password-link {
        align-self: flex-end;
    }
} 