/* Auth page styles - shared across all authentication pages */

body {
    background: #f5f7fa;
    font-family: 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.mst-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.mst-auth-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.07), 0 4px 12px rgba(0,0,0,0.05);
    padding: 2rem;
    width: 100%;
    max-width: 420px;
}

.mst-auth-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.mst-auth-logo img {
    width: 40px;
    height: 40px;
}

.mst-auth-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

.mst-auth-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 1.5rem 0;
}

.mst-auth-form-group {
    margin-bottom: 1rem;
}

.mst-auth-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.375rem;
}

.mst-auth-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #111827;
    background: #ffffff;
    transition: border-color 150ms, box-shadow 150ms;
    outline: none;
}

.mst-auth-input:focus {
    border-color: #0f6973;
    box-shadow: 0 0 0 3px rgba(15, 105, 115, 0.12);
}

.mst-auth-btn {
    width: 100%;
    padding: 0.625rem 1rem;
    background: linear-gradient(135deg, #0c5560, #0f6973);
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 150ms;
    margin-top: 0.5rem;
}

.mst-auth-btn:hover { opacity: 0.9; }
.mst-auth-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.mst-auth-link {
    color: #0f6973;
    text-decoration: none;
    font-weight: 500;
}

.mst-auth-link:hover { text-decoration: underline; }

.mst-auth-alert {
    padding: 0.625rem 0.875rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.mst-auth-alert-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #dc2626;
}

.mst-auth-alert-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #16a34a;
}

.mst-auth-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 1.25rem 0;
}

.mst-auth-footer {
    text-align: center;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: 1.25rem;
}
