/* Modern Gradient Background */
.login-theme-wrapper {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.login-hero-section {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.login-branding {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.login-branding h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.login-branding p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Form Container */
.login-form-container {
    width: 500px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.login-card {
    width: 100%;
    max-width: 400px;
}

/* Custom Form Styling */
.custom-login-form .login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.icon-graduation-cap {
    font-size: 2rem;
}

.custom-login-form h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Form Fields */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    z-index: 10;
    font-size: 1.1rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Footer Links */
.login-footer-links {
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer-links a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
}

.login-footer-links a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 10px;
    color: #ccc;
}

/* Alert Styling */
.alert.alert-danger {
    background: #fee;
    border-left: 4px solid #f44336;
    padding: 12px;
    border-radius: 8px;
    color: #d32f2f;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-theme-wrapper {
        flex-direction: column;
    }
    
    .login-hero-section {
        min-height: 250px;
    }
    
    .login-form-container {
        width: 100%;
        padding: 1.5rem;
    }
    
    .login-branding h1 {
        font-size: 2rem;
    }
}