/* ── MasjidManager portal styles ── */

.mm-blank-container {
    background: var(--bs-body-bg);
    padding: 1rem;
}

.mm-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.mm-header {
    background: linear-gradient(135deg, #1a2a4a 0%, #2a3d6a 100%);
    border-bottom: 3px solid #f8b84c;
    color: #fff;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.mm-header__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.mm-header__user {
    font-size: 0.875rem;
    opacity: 0.9;
}

.mm-content {
    flex: 1;
}

/* Arabic content mirrors the kiosk shell's font choice (mk_shell.html) so what an admin types
   here previews in the same face it renders in on the TV. Scoped to the actual editable field
   (.mm-rtl-field wraps a UiInput/SimpleInput) rather than a bare [dir="rtl"] on the whole
   control — that also caught the field's own English label/hint, rendering "Arabic line" itself
   right-to-left in Amiri, which was never the intent. */
.mm-rtl-field input,
.mm-rtl-field textarea {
    direction: rtl;
    text-align: right;
    font-family: 'Amiri', 'Noto Naskh Arabic', serif;
}

/* .ctl-row's right (input) column sizes to var(--DDL_RIGHT, max-content) — undefined here, so it
   falls back to the browser's intrinsic input width, which an RTL text input computes differently
   than an LTR one at the same MaxLength. Both English/Arabic prayer-session and silence-reminder
   text fields get an explicit, equal width instead of leaving it to that fallback. */
.mm-long-field {
    --DDL_RIGHT: clamp(192px, 36vw, 448px);
}

/* Jumu'ah is always the last chip in this checklist (Bits = [1,2,4,8,16,32]) — a distinct hue
   makes it visually obvious it isn't a sixth daily prayer. */
.mm-prayer-checklist .uicl-item:last-child {
    --acc: #2dd4bf;
    --acc-soft: rgba(45, 212, 191, .16);
}
