/* Login Page Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --warning-color: #f39c12;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: var(--dark-color);
    line-height: 1.6;
}

.login-container {
    display: flex;
    min-height: 100vh;
}

.login-branding {
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo {
    width: 380px;
    height: 380px;
    margin-bottom: 1.5rem;
}

.logo img {
    width: 160%;
    height: 160%;
    object-fit: contain;
}

.login-branding h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-branding p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.login-card {
    flex: 1;
    max-width: 500px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.login-card h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.alert-error {
    background-color: #fdecea;
    color: var(--error-color);
    border-left: 4px solid var(--error-color);
}

.alert i {
    margin-right: 0.5rem;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    padding: 0.5rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-me input {
    margin-right: 0.5rem;
}

.forgot-password {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login {
    width: 100%;
    background-color: var(--secondary-color);
    color: white;
}

.btn-login:hover {
    background-color: #2980b9;
}

.btn-login i {
    margin-right: 0.5rem;
}

.login-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.login-footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.version {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-branding {
        padding: 2rem;
    }
    
    .login-card {
        max-width: 100%;
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .login-branding {
        padding: 1.5rem;
    }
    
    .login-branding h1 {
        font-size: 2rem;
    }
    
    .login-card {
        padding: 1.5rem;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .forgot-password {
        margin-left: 0;
    }
}

/* Forgot Password Specific Styles */
.instruction-text {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #7f8c8d;
}

.alert-success {
    background-color: #e8f5e9;
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.btn-login i.fa-paper-plane {
    margin-right: 0.5rem;
}

@media (max-width: 576px) {
    .login-card h2 {
        font-size: 1.5rem;
    }
    
    .instruction-text {
        font-size: 0.9rem;
    }
}