/* Authentication Styles */
.auth-message {
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 4px;
    font-weight: var(--font-weight-medium);
    position: relative;
    animation: slideIn 0.3s ease-out;
}

.auth-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Login Section Styles */
#login-section {
    max-width: 400px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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


/* Profile Modal Styles */
#profile-modal .modal-content {
    max-width: 500px;
}

#profile-modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-medium);
    color: #333;
}

#profile-modal .form-group input[readonly] {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

#profile-modal hr {
    border: none;
    border-top: 1px solid #dee2e6;
    margin: 1.5rem 0;
}

#profile-modal h3 {
    margin: 0 0 1rem 0;
    color: #495057;
    font-size: var(--font-size-md);
}

/* Responsive Design */
@media (max-width: 768px) {
    #login-section {
        margin: 1rem;
        padding: 1.5rem;
    }

    /* Header responsive rules live in responsive.css */
}

/* Hide main content when not authenticated */
#main-content.auth-hidden,
#login-section.auth-hidden {
    display: none !important;
}

.brand-title-login {
    justify-content: center;
}

.brand-logo-login {
    width: 30px;
    height: 30px;
}
