/* Authentication Forms Styling */
.auth-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.auth-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border: 1px solid #e0e0e0;
}

.register-card {
    max-width: 600px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: #333;
    font-weight: 600;
    margin: 0;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #555;
}

.auth-form .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.5;
    min-height: 2.5rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.auth-form select.form-control {
    height: auto;
    min-height: 2.5rem;
    padding: 0.75rem 2rem 0.75rem 0.75rem;
}

.auth-form .form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.auth-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.auth-form .form-check-input {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.auth-form .form-check-label {
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

.auth-form .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    width: 100%;
}

.auth-form .btn-primary:hover {
    background-color: #0056b3;
}

.auth-form .btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.auth-footer p {
    margin-bottom: 0.5rem;
    color: #666;
}

.auth-footer .btn-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer .btn-link:hover {
    text-decoration: underline;
}

.text-danger {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-text {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.text-muted {
    color: #6c757d;
}

/* Responsive design */
@media (max-width: 768px) {
    .auth-container {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }
    
    .auth-card {
        padding: 1.5rem;
        margin: 0;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
}

/* Validation summary styling */
.validation-summary-errors {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    display: block !important;
}

.validation-summary-errors ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.validation-summary-errors li {
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

/* Hide validation summary when there are no errors */
.validation-summary-valid {
    display: none !important;
}

/* Additional validation styling */
.validation-summary {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.validation-summary ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger ul {
    margin: 0;
    padding-left: 1.25rem;
}
