/* local_qiyasiplatformstatus public status page (RTL Arabic) */

.qps-shell {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    font-family: "Tajawal", "IBM Plex Sans Arabic", system-ui, -apple-system, sans-serif;
}

.qps-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 18px;
    padding: 2.25rem 2rem;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    text-align: center;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.qps-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.qps-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.qps-message {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #334155;
    margin: 0 0 1.5rem 0;
}

.qps-expected {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 0.75rem 1.1rem;
    margin: 0.25rem 0 1.5rem 0;
}
.qps-expected-label { font-size: 0.8rem; color: #64748b; }
.qps-expected-value { font-size: 1.05rem; color: #0f172a; }

.qps-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.qps-btn {
    display: inline-block;
    padding: 0.7rem 1.3rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.06s ease, background 0.15s ease, color 0.15s ease;
    font-size: 0.98rem;
    border: 1px solid transparent;
}
.qps-btn:hover { transform: translateY(-1px); text-decoration: none; }

.qps-btn-primary {
    background: #1e40af;
    color: #fff;
}
.qps-btn-primary:hover { background: #1d3fa8; color: #fff; }

.qps-btn-ghost {
    background: transparent;
    color: #1e40af;
    border-color: #1e40af;
}
.qps-btn-ghost:hover { background: #1e40af; color: #fff; }

/* Per-mode accents — subtle, not loud. */
.qps-mode-registration_paused .qps-badge { background: #fef3c7; color: #92400e; }
.qps-mode-capacity_full       .qps-badge { background: #ffe4e6; color: #9f1239; }
.qps-mode-maintenance         .qps-badge { background: #e0f2fe; color: #075985; }
.qps-mode-private_beta        .qps-badge { background: #ede9fe; color: #5b21b6; }

/* Tighter on small screens. */
@media (max-width: 480px) {
    .qps-card     { padding: 1.6rem 1.2rem; border-radius: 14px; }
    .qps-title    { font-size: 1.4rem; }
    .qps-message  { font-size: 0.98rem; }
    .qps-actions  { flex-direction: column; }
    .qps-btn      { width: 100%; }
}
