/* لوحة العمل (Dashboard) — اتجاه "استقبال فندقي هادئ": دافئ، واثق، بلا فوضى.
   يعتمد على ألوان app.css فقط ولا يعدّله. */

/* ── الهيرو الترحيبي ─────────────────────────────────────────── */
.dash-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    padding: 26px 28px;
    margin-bottom: 22px;
    border: 1px solid #F2D9E2;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #FBEFF3 100%);
    box-shadow: 0 12px 32px rgba(45, 106, 79, 0.08);
}

.dash-hero__greeting {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-hero__dates {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    color: #6E5560;
    font-size: 0.85rem;
}

.dash-hero__dates b { color: #4A3B41; font-weight: 600; }

.dash-hero__side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.dash-hero__inline-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
}

.dash-hero__inline-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: #6E5560;
    font-size: 0.85rem;
}

.dash-hero__inline-stat b {
    font-size: 1.15rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #8E2952;
}

.dash-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ── بطاقات المؤشرات ─────────────────────────────────────────── */
.dash-metric {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100px;
    padding: 18px 20px;
    border: 1px solid #F0DCE3;
    border-radius: 16px;
    background: var(--mud-palette-surface, #fff);
    box-shadow: 0 8px 24px rgba(94, 35, 55, 0.06);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.dash-metric:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(94, 35, 55, 0.12);
}

.dash-metric__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dash-metric__icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #f3f7f5;
    color: #A03A64;
}

.dash-metric__value {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
}

.dash-metric__label { color: #6E5560; }

.dash-metric__trend {
    font-size: 0.78rem;
    color: #6E5560;
    font-variant-numeric: tabular-nums;
}

/* ── يومك اليوم: قائمة زمنية ─────────────────────────────────── */
.dash-today {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dash-today__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid #F0DCE3;
    border-radius: 14px;
    background: var(--mud-palette-surface, #fff);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out;
}

.dash-today__item:hover {
    transform: translateY(-2px);
    border-color: #EBC4D2;
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.1);
}

.dash-today__time {
    min-width: 66px;
    font-size: 1.2rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #8E2952;
}

.dash-today__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.dash-today__body small { color: #6E5560; overflow-wrap: anywhere; }

.dash-today__empty {
    padding: 22px 16px;
    text-align: center;
    color: #6E5560;
    border: 1px dashed #cfe2dc;
    border-radius: 14px;
}

/* ── يحتاج انتباهك: بلاطات 2×2 ───────────────────────────────── */
.dash-attention {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dash-attention__tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.dash-attention__tile:hover,
.dash-attention__tile:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
    outline: none;
}

.dash-attention__tile span { font-size: 0.85rem; font-weight: 500; }

.dash-attention__tile b {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.dash-attention__tile--warning { background: #fdf6ec; border-color: #f0dfc4; color: #8a5a13; }
.dash-attention__tile--info    { background: #eef5fb; border-color: #d3e3f2; color: #2c5d84; }
.dash-attention__tile--danger  { background: #fdf0f0; border-color: #f0d4d4; color: #99342f; }

/* ── وصول سريع: بلاطات أيقونة + نص ───────────────────────────── */
.dash-quick {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.dash-quick__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 18px 12px;
    border: 1px solid #F0DCE3;
    border-radius: 16px;
    background: var(--mud-palette-surface, #fff);
    text-decoration: none;
    color: #4A3B41;
    font-weight: 500;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.dash-quick__tile:hover,
.dash-quick__tile:focus-visible {
    transform: translateY(-3px);
    border-color: #EBC4D2;
    box-shadow: 0 12px 26px rgba(45, 106, 79, 0.12);
    outline: none;
}

.dash-quick__tile .mud-icon-root { color: #A03A64; font-size: 1.7rem; }

/* ── استجابة الشاشات الصغيرة ─────────────────────────────────── */
@media (max-width: 959px) {
    .dash-attention { grid-template-columns: minmax(0, 1fr); }
}

/* أزرار الهيرو: نصوص بيضاء واضحة فوق التدرج التركوازي */
.dash-hero__actions .mud-button-text {
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, .65);
    border-radius: 12px;
}

.dash-hero__actions .mud-button-text:hover {
    background: rgba(255, 255, 255, .12);
}

.dash-hero__actions .mud-button-filled {
    box-shadow: 0 6px 16px rgba(94, 35, 55, .35);
}
