/* Authentication Pages Styling */
:root {
    --primary-color: #005e20;
    --primary-dark: #004518;
    --secondary-color: #ffc107;
    --white: #ffffff;
}

.auth-body {
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 30px;
}

.auth-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px 25px;
    overflow: hidden;
}

.auth-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.auth-logo-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.auth-logo {
    width: 50px;
    height: auto;
    margin-right: 10px;
    background-color: white;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.auth-brand {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.auth-header h2 {
    color: #333;
    font-weight: 600;
}

.auth-form {
    margin-top: 25px;
}

.form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
}

.input-group {
    border-radius: 8px;
    overflow: hidden;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    color: var(--primary-color);
}

.form-control {
    border-left: none;
    padding-left: 5px;
}

.form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.form-control:focus + .password-toggle,
.form-control:focus ~ .input-group-text {
    border-color: var(--primary-color);
}

.password-toggle {
    cursor: pointer;
    border-left: none;
}

.password-toggle:hover {
    background-color: #f0f0f0;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.btn-auth {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-auth:active {
    transform: translateY(0);
}

.auth-footer {
    margin-top: 20px;
    color: #666;
}

.register-link, .login-link, .terms-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.register-link:hover, .login-link:hover, .terms-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.form-text {
    font-size: 0.8rem;
    color: #777;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .auth-card {
        padding: 20px 15px;
    }
    
    .auth-container {
        max-width: 100%;
    }
}

/* Animation for auth card */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    animation: fadeIn 0.5s ease-out forwards;
}