/* Auth-specific styles for login, register, and password reset pages */

.auth-container {
    max-width: 450px;
    margin: 3rem auto;
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-container h2 {
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

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

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

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #7b4f25; /* brown-700 */
}

.btn {
    width: 100%;
    padding: 0.875rem;
    background: linear-gradient(180deg, #7b4f25, #5a3518); /* brown-700 to brown-900 */
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background: #5a3518; /* brown-900 */
}

.messages {
    list-style: none;
    margin-bottom: 1.5rem;
}

.messages li {
    padding: 0.875rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.messages .success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.messages .error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.messages .info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

.errorlist {
    list-style: none;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.helptext {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
    display: block;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.auth-links a {
    color: #7b4f25; /* brown-700 */
    text-decoration: none;
}

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