/* Auth Forms CSS */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 160px); /* Account for header/footer */
    padding: 2rem 1rem;
    background-color: #f7f9fc;
    margin-top: 100px;
}

.auth-form-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
}

.auth-form-container h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.auth-intro {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.auth-error {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    display: none; /* Hidden by default, shown by JS when needed */
    border: 1px solid #d32f2f;
    font-size: 0.9rem;
    line-height: 1.4;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

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

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.auth-form input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.auth-form small {
    display: block;
    margin-top: 0.25rem;
    color: #777;
    font-size: 0.85rem;
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
}

.remember-me {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

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

.remember-me input[type="checkbox"] {
    margin-right: 0.5rem;
    width: auto;
}

.forgot-password {
    color: #4a90e2;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-primary {
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #357abd;
}

.btn-block {
    display: block;
    width: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    color: #666;
}

.auth-footer a {
    color: #4a90e2;
    text-decoration: none;
}

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

/* Responsive design */
@media (max-width: 576px) {
    .auth-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
} 