/* Explain: Styles for common UI components like buttons, cards, and navigation. */
.site-header {
    background: linear-gradient(180deg, var(--header-a), var(--header-b));
    backdrop-filter: blur(18px);
    transition: box-shadow 280ms ease, background 280ms ease;
}

.site-header.is-scrolled {
    background: var(--header-a);
    box-shadow: 0 12px 34px rgba(43, 33, 27, 0.12);
}

.site-header a.is-current {
    color: var(--accent-color);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.85rem;
    font-weight: 700;
}

.section-kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(26, 28, 35, 0.88), rgba(20, 22, 28, 0.62));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(198, 244, 50, 0.38);
    border-radius: 999px 999px 2.5rem 2.5rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(242, 242, 242, 0.28);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(72vh, 640px);
    min-height: 440px;
}

.arch-frame-medium {
    height: 500px;
    max-width: 420px;
}

.hall-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: rgba(26, 28, 35, 0.72);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.hall-card:hover {
    border-color: rgba(198, 244, 50, 0.5);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6);
    transform: translateY(-6px);
}

.hall-media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.hall-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms ease;
}

.hall-card:hover .hall-media img {
    transform: scale(1.05);
}

.info-tile {
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: rgba(26, 28, 35, 0.6);
    padding: 1.25rem;
}

.tile-num {
    display: inline-flex;
    margin-bottom: 0.6rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

.feature-tile {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(26, 28, 35, 0.6);
    padding: 1.6rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.feature-tile:hover {
    border-color: rgba(198, 244, 50, 0.5);
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.85rem;
    font-weight: 700;
}

.form-status.success {
    color: var(--primary-color);
}

.form-status.error {
    color: var(--danger-color);
}

.btn[class*="bg-[var(--primary-color)]"],
.btn[class*="bg-[var(--button-color)]"] {
    color: var(--background-color);
}

.cal-shell {
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: rgba(26, 28, 35, 0.75);
    box-shadow: var(--shadow-soft);
    padding: clamp(1rem, 3vw, 1.7rem);
}

.cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cal-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-color);
    transition: background 200ms ease, border-color 200ms ease;
}

.cal-nav-btn:hover {
    border-color: var(--accent-color);
    background: var(--secondary-color);
}

.cal-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cal-nav-btn:disabled:hover {
    border-color: var(--glass-border);
    background: var(--surface-color);
}

.cal-week {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.4rem;
    margin-bottom: 0.45rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.4rem;
}

.cal-day {
    position: relative;
    display: flex;
    min-height: 3.4rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    background: rgba(26, 28, 35, 0.62);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.cal-day .cal-sub {
    font-size: 0.58rem;
    font-weight: 500;
    color: var(--text-muted);
}

.cal-day:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.cal-day.is-booked {
    border-color: rgba(242, 140, 124, 0.35);
    background: var(--terracotta-soft);
    color: var(--logo-subtitle-color);
    cursor: not-allowed;
}

.cal-day.is-booked:hover {
    transform: none;
}

.cal-day.is-past {
    opacity: 0.38;
    cursor: not-allowed;
}

.cal-day.is-past:hover {
    transform: none;
}

.cal-day.is-selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--background-color);
}

.cal-day.is-selected .cal-sub {
    color: rgba(14, 15, 19, 0.75);
}

.cal-day.is-today {
    box-shadow: inset 0 0 0 2px var(--accent-color);
}

.cal-day.is-blank {
    border: 0;
    background: transparent;
    pointer-events: none;
}

.booking-panel {
    border-radius: 2.2rem;
    padding: clamp(1.4rem, 4vw, 2.2rem);
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(14, 15, 19, 0.92);
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

.admin-tab {
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(26, 28, 35, 0.62);
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all 250ms ease;
}

.admin-tab:hover {
    border-color: var(--accent-color);
    color: var(--text-color);
}

.admin-tab.is-active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--background-color);
}

.admin-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(26, 28, 35, 0.78);
    padding: 0.35rem 0.85rem;
    color: var(--text-color);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 200ms ease;
}

.admin-mini:hover {
    border-color: var(--accent-color);
}

.admin-mini.is-primary {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--background-color);
}

.admin-mini.is-danger {
    border-color: rgba(242, 140, 124, 0.4);
    color: var(--danger-color);
}

.stat-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(26, 28, 35, 0.75);
    padding: 1.35rem;
}

.admin-item-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(26, 28, 35, 0.72);
    padding: clamp(1rem, 3vw, 1.5rem);
    box-shadow: var(--shadow-soft);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--primary-color);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(26, 28, 35, 0.6);
}

.data-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.data-table th {
    background: var(--surface-color);
    padding: 0.85rem 1rem;
    color: var(--text-color);
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.data-table td {
    border-top: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    color: var(--text-muted);
    vertical-align: middle;
}

.data-table tr:hover td {
    background: rgba(198, 244, 50, 0.06);
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(6, 7, 10, 0.72);
    padding: 1rem;
}

.admin-modal.is-open {
    display: flex;
}

.admin-modal-panel {
    width: 100%;
    max-width: 26rem;
    border-radius: 1.8rem;
    border: 1px solid var(--glass-border);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
    padding: 1.6rem;
}

.admin-tab-card {
    position: relative;
    display: flex;
    min-height: 5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    background: rgba(26, 28, 35, 0.62);
    padding: 0.7rem 0.4rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    transition: transform 250ms ease, background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.admin-tab-card i {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1rem;
    transition: transform 250ms ease, background 250ms ease, color 250ms ease;
}

.admin-tab-card:hover i {
    transform: translateY(-2px) scale(1.08);
}

.admin-tab-card:hover {
    border-color: var(--accent-color);
    background: rgba(26, 28, 35, 0.95);
    color: var(--text-color);
    transform: translateY(-2px);
}

.admin-tab-card.is-active {
    border-color: var(--primary-color);
    background: linear-gradient(160deg, var(--primary-color), var(--sage-dark));
    box-shadow: var(--shadow-button);
    color: var(--background-color);
}

.admin-tab-card.is-active i {
    background: rgba(14, 15, 19, 0.16);
    color: var(--background-color);
    transform: none;
}

.admin-tab-card .status-badge {
    position: absolute;
    top: 0.3rem;
    inset-inline-end: 0.35rem;
}

.account-shortcut {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    background: rgba(26, 28, 35, 0.85);
    padding: 0.9rem 1rem;
    color: var(--text-color);
    transition: transform 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.account-shortcut i {
    display: inline-flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1.05rem;
    transition: transform 250ms ease, background 250ms ease, color 250ms ease;
}

.account-shortcut:hover i {
    transform: translateY(-2px) scale(1.08);
    background: var(--terracotta-soft);
}

.account-shortcut span {
    font-size: 0.85rem;
    font-weight: 700;
}

.account-shortcut small {
    color: var(--text-muted);
    font-size: 0.7rem;
    line-height: 1.7;
}

.account-shortcut:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.whatsapp-float {
    position: fixed;
    inset-inline-start: 1rem;
    bottom: 5.4rem;
    z-index: 55;
    display: inline-flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: #25D366;
    color: #08331B;
    font-size: 1.7rem;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 44px rgba(37, 211, 102, 0.38);
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

@media (min-width: 768px) {
    .whatsapp-float {
        inset-inline-start: 1.6rem;
        bottom: 1.6rem;
        width: 3.8rem;
        height: 3.8rem;
    }
}

@media print {
    .whatsapp-float {
        display: none !important;
    }
}

/* ===== القوائم الجانبية للوحة التحكم وحساب العميل ===== */
.admin-shell,
.account-shell {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.admin-side,
.account-side {
    min-width: 0;
}

.side-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.side-nav .side-link {
    scroll-snap-align: start;
}

.side-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.9rem;
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    background: var(--glass-bg);
    padding: 0.5rem 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    transition: border-color 220ms ease, background 220ms ease, color 220ms ease, transform 220ms ease;
}

.side-link i {
    color: var(--sage-dark);
    font-size: 0.9rem;
    transition: color 220ms ease;
}

.side-link:hover {
    border-color: var(--accent-color);
    color: var(--text-color);
    transform: translateY(-1px);
}

.side-link.is-active {
    border-color: var(--primary-color);
    background: linear-gradient(160deg, var(--primary-color), var(--sage-dark));
    box-shadow: var(--shadow-button);
    color: var(--background-color);
    transform: none;
}

.side-link.is-active i {
    color: var(--background-color);
}

.side-group-title {
    margin: 0.9rem 0 0.35rem;
    padding-inline-start: 0.3rem;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.side-note {
    margin-top: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    background: var(--glass-bg);
    padding: 0.85rem 1rem;
    font-size: 0.72rem;
    line-height: 1.9;
    color: var(--text-muted);
}

.side-panel {
    min-width: 0;
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    background: var(--glass-bg);
    padding: 0.85rem 0.9rem;
}

.side-panel .task-counter {
    min-height: 2.4rem;
    border-radius: 0.85rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
}

.side-panel .task-counter strong {
    font-size: 0.95rem;
}

.side-panel .task-row {
    border-radius: 0.85rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.72rem;
}

.mini-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    border-radius: 999px;
    background: var(--primary-color);
    color: var(--background-color);
    padding: 0.05rem 0.35rem;
    font-size: 0.62rem;
    font-weight: 700;
}

.mini-badge.is-on {
    display: inline-flex;
}

.unread-pill {
    display: none;
    align-items: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.unread-pill.is-on {
    display: inline-flex;
}

.admin-content > section {
    padding-inline: 0;
    padding-bottom: 0;
}

@media (max-width: 1023px) {
    .side-group-title {
        display: none;
    }
}

@media (min-width: 1024px) {
    .admin-shell,
    .account-shell {
        grid-template-columns: 16rem minmax(0, 1fr);
        gap: 1.75rem;
    }

    .admin-side,
    .account-side {
        position: sticky;
        top: 5.5rem;
        max-height: calc(100vh - 6.5rem);
        overflow-y: auto;
        overflow-x: hidden;
        padding-inline-end: 0.25rem;
        scrollbar-width: thin;
    }

    .side-nav {
        flex-direction: column;
        overflow: visible;
        padding-bottom: 0;
    }

    .side-link {
        width: 100%;
        justify-content: flex-start;
        white-space: normal;
        text-align: start;
    }

    .side-link .mini-badge {
        margin-inline-start: auto;
    }
}

@media (max-width: 767px) {
    .arch-frame-large,
    .arch-frame-medium {
        height: 460px;
        min-height: 0;
    }

    .cal-day {
        min-height: 3rem;
        font-size: 0.85rem;
    }
}

/* ===== لوحة التحكم: مركز العمل، البطاقات الإحصائية والاختصارات ===== */
.dash-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: linear-gradient(150deg, var(--panel-a), var(--panel-b));
    box-shadow: var(--shadow-soft);
    padding: clamp(1rem, 3vw, 1.6rem);
}

.dash-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    padding: 0.35rem 0.85rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
}

.kpi-grid {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1rem;
}

.kpi-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    background: var(--card-bg);
    padding: 0.85rem 0.95rem;
    transition: border-color 220ms ease, transform 220ms ease;
}

.kpi-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.kpi-card::after {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    content: "";
}

.kpi-icon {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 0.85rem;
}

.kpi-label {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.7;
}

.kpi-value {
    margin-top: 0.1rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
}

.kpi-note {
    margin-top: 0.1rem;
    color: var(--text-muted);
    font-size: 0.62rem;
    line-height: 1.7;
}

.dash-collect {
    margin-top: 0.9rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    background: var(--card-bg);
    padding: 0.8rem 0.95rem;
}

.dash-collect-pct {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.dash-bar {
    overflow: hidden;
    height: 0.5rem;
    margin-top: 0.6rem;
    border-radius: 999px;
    background: var(--glass-bg);
}

.dash-bar-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--sage-dark));
    transition: width 700ms ease;
}

.dash-panel {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: var(--card-bg);
    padding: clamp(1rem, 3vw, 1.5rem);
}

.dash-quick-grid {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: 1fr;
    margin-top: 0.85rem;
}

.dash-quick {
    display: flex;
    min-height: 3.5rem;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    background: var(--background-color);
    padding: 0.55rem 0.7rem;
    color: var(--text-color);
    text-align: start;
    transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.dash-quick:hover {
    border-color: var(--accent-color);
    background: var(--surface-color);
    transform: translateY(-2px);
}

.dash-quick-icon {
    display: inline-flex;
    width: 2.1rem;
    height: 2.1rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 0.85rem;
}

.dash-quick-title {
    display: block;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 700;
}

.dash-quick-note {
    display: block;
    margin-top: 0.1rem;
    color: var(--text-muted);
    font-size: 0.66rem;
    line-height: 1.7;
}

.dash-activity {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    background: var(--background-color);
    padding: 0.55rem 0.7rem;
    color: var(--text-color);
    transition: border-color 220ms ease, background 220ms ease;
}

.dash-activity:hover {
    border-color: var(--accent-color);
    background: var(--surface-color);
}

.dash-activity-icon {
    display: inline-flex;
    width: 1.9rem;
    height: 1.9rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 0.75rem;
}

@media (min-width: 640px) {
    .dash-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .dash-quick-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .kpi-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .side-note {
        display: none;
    }

    .dash-hero {
        padding: 0.9rem;
    }

    .kpi-value {
        font-size: 1.05rem;
    }
}

/* ===== الهوية الكريمية الدافئة: أزرار مستقيمة الحواف، نصوص بيضاء على اللون الأساسي، وصور بلمسة دافئة ===== */
.btn {
    border-radius: 0.15rem;
    font-weight: 700;
    transition: transform 200ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.btn[class*="bg-[var(--primary-color)]"],
.btn[class*="bg-[var(--button-color)]"],
.status-badge[class*="bg-[var(--primary-color)]"],
.status-badge[class*="bg-[var(--button-color)]"] {
    color: #FFFFFF;
}

html[data-site-theme] .site-header {
    background: linear-gradient(180deg, var(--header-a), var(--header-b));
}

html[data-site-theme] .glass-panel {
    background: linear-gradient(145deg, var(--panel-a), var(--panel-b));
}

html[data-site-theme] .hall-card {
    border-color: var(--glass-border);
    background: var(--card-bg);
}

html[data-site-theme] .hall-card:hover {
    border-color: rgba(196, 87, 47, 0.55);
    box-shadow: 0 26px 64px rgba(43, 33, 27, 0.16);
}

html[data-site-theme] .info-tile,
html[data-site-theme] .feature-tile,
html[data-site-theme] .cal-shell {
    background: var(--card-bg);
}

html[data-site-theme] .feature-tile:hover {
    border-color: rgba(196, 87, 47, 0.45);
}

.arch-frame {
    border-color: rgba(196, 87, 47, 0.35);
}

.arch-frame::after {
    border-color: rgba(255, 255, 255, 0.55);
}

.mobile-book-bar {
    background: rgba(245, 239, 230, 0.94);
}

.data-table tr:hover td {
    background: var(--row-hover);
}

html[data-site-theme] .cal-day.is-booked {
    border-color: rgba(43, 33, 27, 0.22);
}

.admin-mini.is-danger {
    border-color: rgba(176, 66, 54, 0.35);
}

.admin-mini.is-primary,
.admin-tab.is-active,
.auth-tab.is-active,
.admin-tab-card.is-active,
.cal-day.is-selected,
.side-link.is-active,
html[data-site-theme] .admin-mini.is-primary,
html[data-site-theme] .admin-tab-card.is-active,
html[data-site-theme] .cal-day.is-selected,
html[data-site-theme] .side-link.is-active {
    color: #FFFFFF;
}

html[data-site-theme] .cal-day.is-selected .cal-sub {
    color: rgba(255, 255, 255, 0.85);
}

.admin-tab-card.is-active i,
.side-link.is-active i,
html[data-site-theme] .admin-tab-card.is-active i,
html[data-site-theme] .side-link.is-active i {
    color: #FFFFFF;
}

html[data-site-theme] .sign-image,
html[data-site-theme] .contract-stamp,
html[data-site-theme] .invite-qr img {
    filter: none;
}