/* Authentication form styles */

.auth-container {
    width: 35rem;
    margin: 3rem auto;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 0.1rem 0.6rem rgba(0, 0, 0, 0.1);
}

.auth-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
    font-weight: 700;
}

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

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

.auth-form input[type="text"], 
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input[type="text"]:focus, 
.auth-form input[type="password"]:focus {
    outline: none;
    border-color: #57c;
    box-shadow: 0 0 0 2px rgba(85, 119, 204, 0.1);
}

.auth-form .help-text {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.auth-form .error-text {
    color: #d32f2f;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.auth-button {
    width: 100%;
    background-color: #57c;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: background-color 0.2s ease;
}

.auth-button:hover {
    background-color: #46b;
}

.auth-links {
    text-align: center;
}

.auth-links p {
    margin: 0.5rem 0;
    color: #666;
}

.auth-links a {
    color: #57c;
    text-decoration: none;
}

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

.error-message {
    background-color: #ffebee;
    border: 1px solid #f8bbd9;
    color: #c62828;
    padding: 0.75rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.success-message {
    background-color: #e8f5e8;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
    padding: 0.75rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.info-message {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    color: #1565c0;
    padding: 0.75rem;
    border-radius: 0.25rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.info-message strong {
    font-weight: 600;
}