/* Shared styles for account pages (login, forgot-password, etc.) */

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-family: 'Open Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.login-card {
    width: 100%;
    max-width: 26rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
    padding: 2.5rem 2rem 2rem;
}

.login-logo-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.5rem;
}

.login-logo {
    height: 44px;
    width: auto;
}

.login-heading {
    text-align: center;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.login-subtext {
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: -1rem;
    margin-bottom: 1.25rem;
}

/* Status message alert — modern card style */
.status-message-alert {
    border-radius: 10px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    margin-bottom: 1rem;
}

.status-message-alert.mud-alert-filled-error {
    background-color: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

.status-message-alert.mud-alert-filled-error .mud-alert-icon,
.status-message-alert.mud-alert-filled-error .mud-icon-root {
    color: #dc2626 !important;
}

.status-message-alert.mud-alert-filled-success {
    background-color: #16a34a !important;
    color: #fff !important;
}

.status-message-alert.mud-alert-filled-success .mud-alert-icon,
.status-message-alert.mud-alert-filled-success .mud-icon-root {
    color: #fff !important;
}

.login-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Round the MudTextField outlined borders */
.login-fields .mud-input-outlined .mud-input-outlined-border {
    border-radius: 10px;
}

/* Pill-shaped submit button */
.login-submit-btn {
    border-radius: 9999px !important;
    text-transform: none !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    padding: 10px 24px !important;
    margin-top: 0.5rem;
    background-color: #1e293b !important;
    color: #fff !important;
}

.login-submit-btn:hover {
    background-color: #334155 !important;
}

/* "or" divider */
.login-divider {
    display: flex;
    align-items: center;
    margin: 1.25rem 0 1rem;
}

.login-divider-line {
    flex: 1;
    height: 1px;
    background-color: #e2e8f0;
}

.login-divider-text {
    padding: 0 0.75rem;
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: lowercase;
}

/* Hyperlink-style links */
.login-links {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
}

.login-link {
    font-size: 0.8rem;
    color: #1976d2;
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}
