:root {
    --bg: #eef2f8;
    --panel: rgba(255, 255, 255, 0.78);
    --panel-strong: rgba(255, 255, 255, 0.94);
    --line: rgba(125, 138, 162, 0.18);
    --text: #182235;
    --muted: #667389;
    --shadow: 0 18px 44px rgba(39, 53, 82, 0.12);
    --brand-color: #846846;
    --brand-shadow: rgba(132, 104, 70, 0.28);
    --app-header-height: 52px;
    --pilgrim-bottom-nav-height: 104px;
    --pilgrim-bottom-nav-space: calc(var(--pilgrim-bottom-nav-height) + env(safe-area-inset-bottom));
    --pilgrim-bottom-content-gap: 20px;
}

@property --dashboard-progress {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 0%;
}

* {
    box-sizing: border-box;
}

html {
    height: 100vh;
    overflow: hidden;
    touch-action: manipulation;
    overscroll-behavior: none;
}

body {
    margin: 0;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    overscroll-behavior: none;
    font-family: "Tajawal", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(26, 115, 255, 0.14), transparent 24%),
        radial-gradient(circle at bottom left, rgba(37, 164, 108, 0.12), transparent 22%),
        linear-gradient(180deg, #f8f9fc 0%, var(--bg) 100%);
}

body::before {
    content: "فهيد القرشي لخدمات حجاج الداخل";
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: var(--app-header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(132, 104, 70, 0.96);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    z-index: 1000;
    box-shadow: 0 8px 18px rgba(132, 104, 70, 0.18);
}

.portal-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(248, 249, 252, 0.62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.portal-loading-overlay[hidden] {
    display: none;
}

.portal-loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.portal-loading-overlay__panel {
    width: min(280px, 100%);
    min-height: 138px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    border: 1px solid rgba(132, 104, 70, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(31, 47, 74, 0.2);
    color: #5f4525;
}

.portal-loading-overlay__panel strong {
    font-size: 1.04rem;
    font-weight: 800;
    line-height: 1.5;
}

.portal-loading-overlay__spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid rgba(132, 104, 70, 0.16);
    border-top-color: #846846;
    animation: portal-loading-spin 0.75s linear infinite;
}

@keyframes portal-loading-spin {
    to {
        transform: rotate(360deg);
    }
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.login-shell {
    height: calc(100dvh - var(--app-header-height));
    display: grid;
    place-items: center;
    padding: 0;
    overflow: hidden;
    overscroll-behavior: none;
    margin-top: var(--app-header-height);
}

.mobile-frame {
    width: 100%;
    height: calc(100dvh - var(--app-header-height));
    min-height: calc(100dvh - var(--app-header-height));
    max-height: calc(100dvh - var(--app-header-height));
    padding: 14px 14px 0;
    border-radius: 0;
    background: linear-gradient(180deg, #fcfdff 0%, #eef3fb 100%);
    border: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    overscroll-behavior: none;
}

.mobile-frame--app {
    min-height: 100vh;
}

.mobile-frame::before {
    content: none;
}

.mobile-frame::after {
    content: none;
}

.mobile-frame__status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 10px 18px;
    font-size: 0.92rem;
    font-weight: 700;
}

.single-page-content,
.stack-form,
.info-grid,
.stats-grid {
    display: grid;
    gap: 14px;
}

.landing-stack,
.pilgrim-dashboard,
.employee-dashboard {
    display: grid;
    gap: 14px;
    height: 100%;
    min-height: 0;
}

.single-page-content {
    height: calc(100dvh - var(--app-header-height));
    overflow: hidden;
    padding-bottom: 0;
}

.app-stage {
    position: relative;
    height: 100%;
    min-height: 0;
}

.app-stage:has(.pilgrim-bottom-nav) {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    padding-bottom: var(--pilgrim-bottom-nav-space);
    overflow: hidden;
    box-sizing: border-box;
}

.single-page-content:has(> .pilgrim-dashboard ~ .pilgrim-bottom-nav) {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    padding-bottom: var(--pilgrim-bottom-nav-space);
    overflow: hidden;
    box-sizing: border-box;
}

.landing-stack,
.employee-dashboard {
    overflow-y: auto;
}

.pilgrim-dashboard {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: var(--pilgrim-bottom-content-gap);
    scroll-padding-bottom: var(--pilgrim-bottom-content-gap);
    box-sizing: border-box;
    align-content: start;
    padding-top: 16px;
}

.single-page-content:has(> .pilgrim-dashboard ~ .pilgrim-bottom-nav) > .pilgrim-dashboard {
    min-height: 0;
    padding-bottom: var(--pilgrim-bottom-content-gap);
    scroll-padding-bottom: var(--pilgrim-bottom-content-gap);
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 2px 8px;
}

.top-bar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-bar__title {
    display: grid;
    gap: 10px;
}

.top-bar__title strong {
    font-size: 0.98rem;
}

.top-bar__title span {
    color: var(--muted);
    font-size: 0.74rem;
}

.top-bar__title--pilgrim {
    gap: 0;
    text-align: right;
}

.pilgrim-home-welcome {
    margin: 10px 0 30px;
    color: #7f6c57;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

.pilgrim-home-welcome span {
    color: var(--text);
}

.menu-btn,
.close-btn,
.admin-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
    cursor: pointer;
    flex-shrink: 0;
}

.top-bar__logout-form {
    margin: 0;
}

.top-bar__icon-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--text);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
    cursor: pointer;
}

.top-bar__icon-btn svg {
    width: 22px;
    height: 22px;
}

.menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    margin: 2px 0;
}

.close-btn {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--text);
}

.admin-btn {
    font-size: 1.2rem;
}

.side-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 78%;
    height: 100%;
    padding: 22px 18px;
    border-radius: 30px 0 0 30px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: -14px 0 32px rgba(24, 34, 53, 0.12);
    transform: translateX(110%);
    transition: transform 0.28s ease;
    z-index: 3;
}

.side-panel__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.side-panel__head h2 {
    margin: 8px 0 0;
    font-size: 1.3rem;
}

.side-nav {
    display: grid;
    gap: 10px;
}

.side-nav a {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(238, 242, 248, 0.9);
    font-weight: 500;
}

.side-overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 34, 53, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    z-index: 2;
    border-radius: 30px;
}

.empty-stage {
    height: calc(100% - 60px);
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(26, 115, 255, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42));
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.08);
}

.sidebar-toggle:checked ~ .app-stage .side-panel {
    transform: translateX(0);
}

.sidebar-toggle:checked ~ .app-stage .side-overlay {
    opacity: 1;
    pointer-events: auto;
}

.glass-card,
.login-card-only {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.login-card-only,
.hero-card,
.section-block,
.stat-card {
    border-radius: 26px;
    padding: 20px;
}

.login-card-only {
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.login-tabs-card {
    justify-content: flex-start;
    gap: 18px;
    margin-top: 100px;
}

.login-tabs-card__intro {
    margin-bottom: 0;
    text-align: center;
    align-items: center;
}

.login-tabs-card__intro h1,
.login-tabs-card__intro p {
    text-align: center;
}

.login-tab-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.login-tabs-switch {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
    border-radius: 22px;
    background: rgba(238, 242, 248, 0.95);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.login-tabs-switch::before {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: calc((100% - 20px) / 2);
    height: calc(100% - 12px);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 18px rgba(39, 53, 82, 0.08);
    transition: transform 0.28s ease;
}

.login-tabs-switch__item {
    position: relative;
    z-index: 1;
    padding: 13px 16px;
    border-radius: 18px;
    text-align: center;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.login-system-disabled-message {
    margin: -4px auto 2px;
    color: #d73737;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
}

.login-tab-panel {
    display: none;
    gap: 16px;
}

.login-tab-panel--static {
    display: grid;
}

.login-tab-panel__copy {
    display: grid;
    gap: 6px;
}

.login-tab-panel__copy p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.employee-entry-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.clinic-card {
    padding: 18px;
    border-radius: 28px;
}

.clinic-hero {
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.clinic-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.clinic-form {
    gap: 16px;
}

.clinic-form__field {
    display: grid;
    gap: 8px;
}

.clinic-form__field textarea,
.clinic-form__field select {
    width: 100%;
    border: 0;
    border-radius: 20px;
    padding: 16px 18px;
    background: rgba(244, 247, 252, 0.98);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
    color: var(--text);
    resize: none;
}

.clinic-form__field textarea::placeholder {
    color: rgba(102, 115, 137, 0.62);
}

.clinic-doctor-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    border-radius: 20px;
    background: rgba(244, 247, 252, 0.98);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
    color: var(--text);
    font-weight: 700;
}

.clinic-doctor-info #clinicDoctorName {
    margin-inline-start: 5px;
}

.clinic-doctor-info__separator {
    color: var(--brand-color);
}

.clinic-doctor-info__map {
    width: 38px;
    height: 38px;
    margin-inline-start: auto;
    margin-inline-end: 5px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    background: rgba(132, 104, 70, 0.12);
    color: var(--brand-color);
    transition: opacity 0.2s ease;
}

.clinic-doctor-info__map svg {
    width: 20px;
    height: 20px;
}

.clinic-doctor-info__map.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.clinic-case-number {
    display: grid;
    justify-items: center;
    gap: 6px;
    margin-top: 4px;
}

.clinic-case-number small {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 600;
}

.clinic-case-number strong {
    color: var(--brand-color);
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
}

.clinic-page-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.clinic-page-actions__link {
    min-width: 142px;
    justify-content: center;
}

.clinic-summary-card {
    margin-top: 16px;
    padding: 16px 18px;
    border-radius: 22px;
    background: rgba(240, 244, 252, 0.98);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
}

.clinic-summary-card__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 18px;
    align-items: center;
}

.clinic-summary-card__grid strong {
    color: var(--text);
    font-size: 1.55rem;
    font-weight: 800;
    text-align: left;
}

.clinic-summary-card__grid span {
    color: var(--muted);
    font-size: 1rem;
    text-align: right;
}

.clinic-history {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.clinic-history--table {
    margin-top: 14px;
}

.clinic-history__item,
.clinic-history__empty {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(244, 247, 252, 0.98);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
}

.clinic-history__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.clinic-history__row + .clinic-history__row {
    margin-top: 8px;
}

.clinic-history__row span,
.clinic-history__empty {
    color: var(--muted);
    font-size: 0.92rem;
}

.clinic-history__row strong {
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 700;
}

.clinic-history-table-card {
    padding: 10px 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
    overflow-x: auto;
}

.clinic-history-table {
    display: grid;
    grid-template-columns: 56px 92px 72px 54px 54px 44px;
    gap: 6px 8px;
    min-width: 370px;
    align-items: center;
    text-align: center;
}

.clinic-history-table--admin {
    grid-template-columns: 56px 92px 92px 58px 58px;
    min-width: 0;
}

.clinic-case-create-history {
    display: grid;
    gap: 10px;
}

.clinic-history-table__head {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.clinic-history-table__cell {
    color: #8a6f4a;
    font-size: 0.82rem;
    font-weight: 700;
}

.clinic-history-table__map {
    width: 28px;
    height: 28px;
    margin: 0 auto;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--brand-color);
    color: #fff;
}

.clinic-history-table__map svg {
    width: 15px;
    height: 15px;
}

.clinic-history-table__map--disabled {
    opacity: 0.35;
}

.support-request-card {
    padding: 18px;
}

.support-request-form {
    gap: 12px;
}

.support-request-form__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.support-request-form__field input,
.support-request-form__field textarea,
.support-request-form__field select {
    width: 100%;
}

.support-request-history {
    margin-top: 16px;
}

.support-request-history-card {
    padding: 10px 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.support-request-history-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 6px;
    align-items: center;
}

.support-request-history-item__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 0.73rem;
    font-weight: 500;
    color: #8a6f4a;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.support-request-history-item__meta::-webkit-scrollbar {
    display: none;
}

.support-request-history-item__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.support-request-history-item__title {
    color: #5d4a30;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
    min-width: 0;
    overflow-wrap: anywhere;
}

.support-request-history-item__reply {
    color: #6f7b8d;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.5;
    min-width: 0;
    overflow-wrap: anywhere;
}

.support-request-history-item__status {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-request-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 68px;
    padding: 6px 8px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

.support-request-status-badge--processing {
    background: rgba(232, 108, 71, 0.14);
    color: #b3472a;
}

.support-request-status-badge--replied {
    background: rgba(53, 124, 210, 0.14);
    color: #235a9f;
}

.support-request-status-badge--completed {
    background: rgba(32, 163, 99, 0.14);
    color: #18794b;
}

.support-request-status-badge--closed {
    background: rgba(32, 163, 99, 0.14);
    color: #18794b;
}

.support-request-detail-layout {
    display: grid;
    gap: 14px;
}

.support-request-detail-modal {
    position: relative;
}

.support-request-detail-stamp {
    position: absolute;
    top: 78px;
    left: 34px;
    z-index: 3;
    padding: 10px 22px;
    border: 3px solid rgba(24, 121, 75, 0.78);
    border-radius: 12px;
    color: #18794b;
    background: rgba(255, 255, 255, 0.72);
    font-size: 1.35rem;
    font-weight: 900;
    transform: rotate(-10deg);
    box-shadow: 0 10px 24px rgba(24, 121, 75, 0.12);
    pointer-events: none;
}

.support-request-detail-timer {
    display: grid;
    gap: 10px;
}

.support-request-detail-timer__bar {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: #eca3a1;
    min-height: 16px;
}

.support-request-detail-timer__fill {
    position: absolute;
    inset: 0 auto 0 0;
    background: linear-gradient(90deg, #6fbe73 0%, #7fd28f 100%);
    border-radius: inherit;
}

.support-request-detail-timer__percent {
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 16px;
}

.support-request-detail-top {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}

.support-request-detail-photo,
.support-request-detail-personal,
.support-request-detail-mini-card,
.support-request-detail-line {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(155, 129, 87, 0.18);
    border-radius: 22px;
}

.support-request-detail-photo {
    min-height: 190px;
    overflow: hidden;
    position: relative;
}

.support-request-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.support-request-detail-photo--blurred img {
    filter: blur(16px);
    transform: scale(1.06);
}

.support-request-detail-photo__placeholder {
    min-height: 190px;
    display: grid;
    place-items: center;
    color: #9b8157;
    font-weight: 700;
}

.support-request-detail-personal {
    padding: 16px 18px;
}

.support-request-detail-personal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.support-request-detail-personal__grid small,
.support-request-detail-mini-card small,
.support-request-detail-line small {
    display: block;
    color: #9b8157;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.support-request-detail-personal__grid strong,
.support-request-detail-mini-card strong,
.support-request-detail-line strong {
    display: block;
    color: #243043;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.6;
}

.support-request-detail-assignments {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.support-request-detail-mini-card {
    padding: 14px 16px;
    min-height: 92px;
}

.support-request-detail-mini-card--timer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-request-detail-mini-card--timer strong {
    color: #25803b;
    font-size: 1.25rem;
    text-align: center;
}

.support-request-detail-line {
    padding: 16px 18px;
}

.support-request-detail-line--details strong {
    white-space: pre-wrap;
}

.support-request-detail-line--reply strong {
    color: #235a9f;
    white-space: pre-wrap;
}

.support-request-detail-reply-form {
    display: grid;
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid rgba(53, 124, 210, 0.14);
    border-radius: 22px;
    background: rgba(244, 249, 255, 0.92);
}

.support-request-detail-reply-form label {
    display: grid;
    gap: 8px;
}

.support-request-detail-reply-form span {
    color: #235a9f;
    font-size: 0.86rem;
    font-weight: 800;
}

.support-request-detail-reply-form textarea {
    width: 100%;
    border: 1px solid rgba(120, 134, 159, 0.22);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 12px 14px;
    resize: vertical;
}

.support-request-detail-actions {
    display: flex;
    justify-content: center;
}

.support-request-detail-actions .primary-btn {
    min-width: 220px;
}

.admin-modal-close-x {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.16);
    color: #8f2d2d;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.support-request-admin-form {
    gap: 14px;
}

.support-request-admin-search {
    position: relative;
}

.support-request-admin-search__results {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 40;
    display: grid;
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(29, 45, 68, 0.14);
    border: 1px solid rgba(155, 129, 87, 0.14);
}

.support-request-admin-search__results[hidden],
.support-request-admin-search__results:empty {
    display: none !important;
}

.support-request-admin-search__result,
.support-request-admin-search__empty {
    border: 0;
    width: 100%;
    text-align: right;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(244, 247, 252, 0.94);
    display: grid;
    gap: 4px;
}

.support-request-admin-search__result {
    cursor: pointer;
}

.support-request-admin-search__result strong {
    color: #243043;
    font-size: 0.95rem;
    font-weight: 800;
}

.support-request-admin-search__result span,
.support-request-admin-search__empty {
    color: #78869f;
    font-size: 0.82rem;
}

.support-request-admin-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.support-request-admin-summary__item {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(155, 129, 87, 0.16);
}

.support-request-admin-summary__item small {
    display: block;
    color: #9b8157;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.support-request-admin-summary__item strong {
    display: block;
    color: #243043;
    font-size: 0.96rem;
    font-weight: 800;
}

.clinic-list-head {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
}

.clinic-list-head h2 {
    margin: 0;
    font-size: 1.2rem;
}

.clinic-list-head p {
    margin: 0;
    color: var(--muted);
}

.clinic-directory {
    display: grid;
    gap: 12px;
}

.clinic-directory__item {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(244, 247, 252, 0.98);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
}

.clinic-directory__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.clinic-directory__row span {
    color: var(--muted);
    font-size: 0.92rem;
}

.clinic-directory__row strong {
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 700;
}

.clinic-directory__map {
    justify-content: center;
}

#tab-pilgrim:checked ~ .login-tabs-switch label[for="tab-pilgrim"],
#tab-employee:checked ~ .login-tabs-switch label[for="tab-employee"] {
    color: var(--text);
}

#tab-employee:checked ~ .login-tabs-switch::before {
    transform: translateX(-100%);
}

#tab-pilgrim:checked ~ #login-panel-pilgrim,
#tab-employee:checked ~ #login-panel-employee {
    display: grid;
}

#tab-pilgrim:checked ~ #login-panel-pilgrim {
    animation: loginPanelSlideFromRight 0.24s ease both;
}

#tab-employee:checked ~ #login-panel-employee {
    animation: loginPanelSlideFromLeft 0.24s ease both;
}

@keyframes loginPanelSlideFromRight {
    from {
        opacity: 0;
        transform: translateX(14px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes loginPanelSlideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-14px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-tabs-switch::before {
        transition: none;
    }

    #tab-pilgrim:checked ~ #login-panel-pilgrim,
    #tab-employee:checked ~ #login-panel-employee {
        animation: none;
    }
}

.compact-card {
    min-height: auto;
}

.eyebrow {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.login-card-only__intro {
    margin-bottom: 24px;
}

.login-card-only__intro h1,
.hero-card h2,
.section-head h3 {
    margin: 10px 0 12px;
    line-height: 1.35;
}

.login-card-only__intro h1,
.hero-card h2 {
    font-size: 1.9rem;
}

.login-card-only__intro p,
.hero-card p,
.stat-card p {
    color: var(--muted);
    line-height: 1.8;
}

.pilgrim-welcome-name {
    margin: 0;
    color: var(--text) !important;
    font-size: 1.35rem;
    font-weight: 700;
}

.stack-form label {
    display: grid;
    gap: 10px;
    font-weight: 500;
}

.field-note {
    color: rgba(102, 115, 137, 0.42);
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: -2px;
}

.remember-login-option {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    justify-self: stretch;
    direction: rtl;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    text-align: right;
}

.remember-login-option input {
    flex: 0 0 18px;
    width: 18px !important;
    min-width: 18px;
    max-width: 18px;
    height: 18px !important;
    margin: 0;
    padding: 0;
    accent-color: var(--brand-color);
}

.login-field-first {
    margin-top: 28px;
}

.stack-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    padding: 14px 16px;
    color: var(--text);
    outline: none;
}

.stack-form select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    padding: 14px 16px;
    color: var(--text);
    outline: none;
}

.stack-form input:focus {
    border-color: rgba(26, 115, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(26, 115, 255, 0.12);
}

.primary-btn,
.ghost-btn {
    border: 0;
    border-radius: 999px;
    padding: 12px 18px;
    cursor: pointer;
}

.primary-btn {
    color: #fff;
    background: var(--brand-color);
    box-shadow: 0 10px 24px var(--brand-shadow);
}

.ghost-btn {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.16);
}

.login-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
}

.login-note strong {
    color: var(--text);
}

.alert {
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 16px;
}

.alert.error {
    background: #fff0f0;
    color: #9c2f2f;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.badge-row span {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--panel-strong);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.15);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.info-grid {
    grid-template-columns: 1fr;
}

.info-grid div {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.54);
}

.info-grid span {
    color: var(--muted);
    font-size: 0.92rem;
}

.info-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.info-grid--compact div {
    padding: 12px;
    gap: 4px;
}

.info-grid--compact span {
    font-size: 0.78rem;
}

.info-grid--compact strong {
    font-size: 0.88rem;
    line-height: 1.4;
}

.stats-grid {
    grid-template-columns: 1fr;
}

.stat-card strong {
    display: block;
    margin-bottom: 8px;
}

.employee-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.employee-pilgrim-lookup {
    display: grid;
    gap: 14px;
    position: relative;
    z-index: 80;
    overflow: visible;
}

.employee-pilgrim-search {
    position: relative;
    z-index: 120;
}

.employee-pilgrim-search__field {
    display: block;
}

.employee-pilgrim-search__field input {
    width: 100%;
    border: 1px solid rgba(139, 109, 73, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    min-height: 48px;
    padding: 0 16px;
    outline: none;
    color: var(--text);
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.employee-pilgrim-search__results {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 6px;
    padding: 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(139, 109, 73, 0.12);
    box-shadow: 0 18px 34px rgba(24, 34, 53, 0.18);
}

.employee-pilgrim-search__results[hidden] {
    display: none;
}

.employee-pilgrim-search__item {
    border: 0;
    border-radius: 14px;
    background: rgba(246, 241, 232, 0.78);
    padding: 10px 12px;
    display: grid;
    gap: 2px;
    text-align: right;
    cursor: pointer;
    color: var(--text);
}

.employee-pilgrim-search__item strong {
    font-size: 0.94rem;
}

.employee-pilgrim-search__item .employee-trip-search-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    justify-content: flex-start;
}

.employee-trip-search-summary b {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.employee-trip-search-summary em {
    color: #2f6cd8;
    font-style: normal;
    font-weight: 900;
}

.employee-pilgrim-search__item span,
.employee-pilgrim-search__empty,
.employee-pilgrim-profile-empty {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.employee-pilgrim-search__empty,
.employee-pilgrim-profile-empty {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.employee-pilgrim-profile-result {
    display: grid;
    gap: 12px;
}

.employee-pilgrim-profile-result .profile-card {
    margin: 0;
}

.employee-hajj-pilgrim-card {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.employee-hajj-pilgrim-card__hero {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
}

.employee-hajj-pilgrim-card__photo {
    width: 132px;
    height: 132px;
}

.employee-hajj-pilgrim-card__identity {
    display: grid;
    gap: 4px;
}

.employee-hajj-pilgrim-card__identity h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 900;
}

.employee-hajj-pilgrim-card__identity span {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 800;
}

.employee-hajj-pilgrim-card__mobile,
.employee-hajj-pilgrim-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(139, 109, 73, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
    padding: 12px 14px;
}

.employee-hajj-pilgrim-card__mobile small,
.employee-hajj-pilgrim-card__row span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.employee-hajj-pilgrim-card__mobile strong,
.employee-hajj-pilgrim-card__row strong {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 900;
    text-align: left;
}

.employee-hajj-pilgrim-card__mobile a,
.employee-hajj-pilgrim-card__call {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    border: 0 !important;
    box-shadow: 0 12px 24px rgba(137, 93, 38, 0.22) !important;
}

.employee-hajj-pilgrim-card__mobile a svg,
.employee-hajj-pilgrim-card__call svg {
    width: 22px;
    height: 22px;
    display: block;
    color: #fff !important;
    fill: #fff !important;
    stroke: none !important;
}

.employee-hajj-pilgrim-card__mobile a svg path,
.employee-hajj-pilgrim-card__call svg path {
    fill: #fff !important;
    stroke: none !important;
}

.employee-hajj-pilgrim-card__details {
    display: grid;
    gap: 8px;
}

.employee-hajj-pilgrim-card__booking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.employee-hajj-pilgrim-card__booking-item {
    display: grid;
    align-content: center;
    gap: 5px;
    min-height: 70px;
    border: 1px solid rgba(139, 109, 73, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
    padding: 10px 12px;
    text-align: center;
}

.employee-hajj-pilgrim-card__booking-item span {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.employee-hajj-pilgrim-card__booking-item strong {
    min-width: 0;
    color: var(--text);
    font-size: 0.96rem;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.employee-location-pilgrim-result {
    gap: 10px;
}

.employee-location-pilgrim-card {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.employee-location-pilgrim-card__top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.employee-location-pilgrim-card__top h3 {
    margin: 2px 0 4px;
    color: var(--text);
    font-size: 1.08rem;
}

.employee-location-pilgrim-card__top span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.employee-location-pilgrim-card__grid {
    margin-top: 0;
}

.employee-location-pilgrim-card__location {
    margin-top: 0;
}

.employee-arrival-location-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.gathering-image-column,
.gathering-form-stack {
    display: grid;
    gap: 10px;
    align-self: start;
}

.gathering-image-column > span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-location-image-upload {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 244px;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    border: 1px dashed rgba(37, 99, 235, 0.34);
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(255, 255, 255, 0.9));
    cursor: pointer;
}

.admin-location-image-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.admin-location-image-upload__image {
    width: 100%;
    height: 100%;
    min-height: 244px;
    object-fit: cover;
}

.admin-location-image-upload__placeholder {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    color: #fff;
    background: rgba(15, 23, 42, 0.62);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(8px);
}

.admin-location-image-upload__placeholder svg {
    width: 28px;
    height: 28px;
}

.admin-location-image-preview {
    display: grid;
    gap: 10px;
    position: relative;
    width: min(100%, 420px);
}

.admin-location-image-preview img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
}

.admin-location-image-preview__delete {
    position: absolute;
    inset-inline-end: 10px;
    top: 10px;
    bottom: auto;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(153, 27, 27, 0.86);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
    cursor: pointer;
    z-index: 3;
}

.admin-location-image-upload:not(.has-image) .admin-location-image-preview__delete,
.admin-location-image-preview__delete[hidden] {
    display: none;
}

.admin-location-image-preview__delete input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.admin-location-image-preview__delete svg {
    width: 20px;
    height: 20px;
}

.admin-location-image-preview__delete:has(input:checked) {
    background: #111827;
}

.employee-train-tickets-page {
    gap: 14px;
}

.employee-qr-page {
    align-content: start;
    gap: 14px;
}

.employee-qr-card {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 20px;
}

.employee-qr-start {
    width: min(100%, 260px);
    min-height: 170px;
    border: 1px dashed rgba(15, 23, 42, 0.24);
    border-radius: 18px;
    display: grid;
    place-items: center;
    gap: 10px;
    color: #0f172a;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.9));
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.employee-qr-start__icon {
    width: 76px;
    height: 76px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: #0f172a;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.18);
}

.employee-qr-start__icon svg {
    width: 38px;
    height: 38px;
}

.employee-qr-reader {
    position: relative;
    width: min(100%, 360px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
    background: #0f172a;
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.22);
}

.employee-qr-reader__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.employee-qr-reader__html5 {
    width: 100%;
    height: 100%;
}

.employee-qr-reader__html5:empty {
    display: none;
}

.employee-qr-reader__html5 video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.employee-qr-reader__html5 img,
.employee-qr-reader__html5 select,
.employee-qr-reader__html5 button {
    display: none !important;
}

.employee-qr-reader__frame {
    position: absolute;
    inset: 12%;
    border: 3px solid rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    box-shadow: 0 0 0 999px rgba(15, 23, 42, 0.22);
    pointer-events: none;
}

.employee-qr-status {
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

.employee-qr-result {
    min-width: min(100%, 280px);
    padding: 10px 14px;
    border-radius: 14px;
    text-align: center;
    color: #0f5132;
    background: #dcfce7;
    border: 1px solid rgba(22, 163, 74, 0.18);
    font-weight: 900;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.employee-qr-result.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.employee-qr-result.is-warning {
    color: #854d0e;
    background: #fef3c7;
    border-color: rgba(217, 119, 6, 0.2);
}

.employee-qr-result.is-error {
    color: #991b1b;
    background: #fee2e2;
    border-color: rgba(220, 38, 38, 0.2);
}

.pilgrim-card-arrival-qr {
    display: grid;
    justify-items: center;
    gap: 2px;
    margin-top: 4px;
}

.pilgrim-card-arrival-qr__code {
    width: 62px;
    height: 62px;
    padding: 2px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.12);
}

.pilgrim-card-arrival-qr__code svg {
    width: 100%;
    height: 100%;
    display: block;
}

.employee-booking-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(139, 109, 73, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.employee-booking-summary__item {
    min-width: 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(246, 241, 232, 0.78);
    text-align: center;
}

.employee-booking-summary__item span {
    display: none;
}

.employee-booking-summary__item strong {
    display: block;
    overflow: hidden;
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-booking-summary__prefix {
    color: var(--muted);
}

.employee-profile-page {
    gap: 14px;
}

.employee-self-card {
    display: grid;
    gap: 14px;
}

.employee-photo-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(246, 241, 232, 0.7);
}

.employee-photo-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.employee-photo-form input[type="file"] {
    width: 100%;
    min-width: 0;
    padding: 9px;
    border: 1px solid rgba(139, 109, 73, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    font-size: 0.78rem;
}

.employee-photo-form .primary-btn {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    white-space: nowrap;
}

.employee-assignments-list {
    display: grid;
    gap: 8px;
}

.employee-assignment-item {
    display: grid;
    grid-template-columns: minmax(74px, auto) minmax(0, 1fr);
    gap: 4px 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(139, 109, 73, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
}

.employee-assignment-item span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.employee-assignment-item strong {
    min-width: 0;
    overflow: hidden;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-assignment-item small {
    grid-column: 2;
    min-width: 0;
    overflow: hidden;
    color: #2f6cd8;
    font-size: 0.76rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 420px) {
    .employee-photo-form {
        grid-template-columns: 1fr;
    }
}

.employee-train-trips-card {
    display: grid;
    gap: 14px;
}

.employee-train-trip-list {
    display: grid;
    gap: 10px;
}

.employee-train-layout-card {
    margin-top: 0;
}

.employee-train-car-layout__body {
    align-items: stretch;
}

.employee-train-passenger-seat {
    min-height: 66px;
    border: 1px solid rgba(139, 105, 49, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    color: #6b7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 5px;
    text-align: center;
    overflow: hidden;
}

.employee-train-passenger-seat--reverse {
    flex-direction: column-reverse;
}

.employee-train-passenger-seat.is-booked {
    background: rgba(220, 252, 231, 0.72);
    border-color: rgba(34, 197, 94, 0.35);
    color: #14532d;
}

.employee-train-passenger-seat.is-empty {
    background: rgba(244, 247, 252, 0.74);
    color: #9aa3af;
}

.employee-train-passenger-seat strong {
    max-width: 100%;
    color: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
}

.employee-train-passenger-seat span {
    max-width: 100%;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.employee-train-search-trip-item {
    background: rgba(220, 252, 231, 0.78);
}

.employee-bus-layout-card {
    margin-top: 0;
}

.employee-bus-trip-compact {
    display: grid;
    grid-template-columns: 30px repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
}

.employee-bus-trip-compact span {
    min-width: 0;
    display: grid;
    gap: 2px;
    text-align: center;
}

.employee-bus-trip-compact b {
    color: #536179;
    font-size: 0.68rem;
    font-weight: 700;
}

.employee-bus-trip-compact strong {
    color: #2f6cd8;
    font-size: 0.88rem;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
}

.employee-train-trip-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.employee-bus-trip-option--dimmed {
    opacity: 0.48;
    filter: grayscale(0.35);
    background: rgba(244, 247, 252, 0.62);
}

.employee-bus-trip-option--dimmed:hover,
.employee-bus-trip-option--dimmed:focus-visible {
    opacity: 0.62;
}

.train-trip-option.is-selected.employee-bus-trip-option--dimmed {
    opacity: 1;
    filter: none;
}

.employee-bus-contacts {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
}

.employee-bus-contact-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 0.75fr) minmax(0, 0.9fr) 32px 32px;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border: 1px solid rgba(139, 109, 73, 0.13);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.74);
    text-align: right;
}

.employee-bus-contact-row b {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.employee-bus-contact-row strong,
.employee-bus-contact-row span,
.employee-bus-contact-row em {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-bus-contact-row strong {
    color: var(--text);
    font-size: 0.72rem;
    font-weight: 700;
}

.employee-bus-contact-row span,
.employee-bus-contact-row em {
    color: #2f6cd8;
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 700;
}

.employee-bus-contact-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2f6cd8;
    color: #fff;
    text-decoration: none;
}

.employee-bus-contact-row a:last-child {
    background: #1fa855;
}

.employee-bus-contact-row a.is-disabled {
    pointer-events: none;
    opacity: 0.32;
}

.employee-bus-contact-row svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.employee-bus-trip-status {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    justify-self: center;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1;
}

.employee-bus-trip-status.is-waiting {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.34);
}

.employee-bus-trip-status.is-departed {
    background: rgba(34, 197, 94, 0.16);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.38);
}

.employee-bus-depart-action {
    display: grid;
    justify-items: center;
    margin-top: 12px;
}

.employee-bus-depart-action .primary-btn {
    width: min(100%, 220px);
}

.employee-room-layout-card {
    display: grid;
    gap: 12px;
    margin-top: 0;
}

.employee-room-details {
    display: grid;
    gap: 8px;
}

.employee-room-supervisor-row {
    grid-template-columns: auto minmax(0, 1.1fr) minmax(0, 0.85fr) minmax(0, 0.9fr) 32px 32px;
}

.employee-room-grid {
    display: grid;
    gap: 12px;
}

.employee-room-seat-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
    gap: 8px;
}

.employee-room-seat {
    min-height: 58px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 8px 7px;
    border: 1px solid rgba(139, 105, 49, 0.16);
    border-radius: 8px;
    background: rgba(244, 247, 252, 0.74);
    text-align: center;
}

.employee-room-seat.is-booked {
    background: rgba(220, 252, 231, 0.72);
    border-color: rgba(34, 197, 94, 0.35);
    color: #166534;
}

.employee-room-seat.is-empty {
    color: #9aa3af;
}

.employee-room-seat__number {
    color: #6b7280;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.employee-room-seat strong {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-mina-room-plan {
    width: min(100%, 330px);
    padding: 12px;
    border-color: rgba(58, 63, 72, 0.72);
}

.employee-mina-room-row {
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr);
    min-height: 42px;
    gap: 4px;
}

.employee-mina-room-aisle {
    min-height: 42px;
}

.employee-mina-room-plan-seat {
    min-height: 42px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 5px;
    align-items: stretch;
    border-radius: 8px;
    background: rgba(244, 247, 252, 0.9);
    border: 1px solid rgba(139, 105, 49, 0.14);
    padding: 3px;
    box-shadow: none;
}

.employee-mina-room-plan-seat.camp-room-seat--right {
    grid-template-columns: minmax(0, 1fr) 34px;
}

.employee-mina-room-plan-seat__visual {
    min-width: 0;
    display: flex;
    align-items: stretch;
}

.employee-mina-room-plan-seat__visual .camp-room-seat {
    width: 100%;
}

.employee-mina-room-plan-seat__visual .train-seat-number {
    display: none;
}

.employee-mina-room-plan-seat__visual .train-seat-chair {
    transform: none;
}

.employee-mina-room-plan-seat.camp-room-seat--right .employee-mina-room-plan-seat__visual {
    order: 2;
}

.employee-mina-room-plan-seat.camp-room-seat--right .employee-mina-room-plan-seat__info {
    order: 1;
}

.employee-mina-room-plan-seat__info {
    min-width: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 2px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.84);
    padding: 3px 4px;
    text-align: center;
}

.employee-mina-room-plan-seat.is-booked {
    background: rgba(220, 252, 231, 0.78);
    border-color: rgba(34, 197, 94, 0.34);
    color: #166534;
}

.employee-mina-room-plan-seat.is-empty {
    background: rgba(244, 247, 252, 0.74);
    color: #9aa3af;
}

.employee-mina-room-plan-seat__info span {
    color: #6b7280;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
}

.employee-mina-room-plan-seat__info strong {
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-mina-room-plan-seat__contact {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #8b6d49;
    box-shadow: 0 5px 10px rgba(137, 93, 38, 0.18);
}

.employee-mina-room-plan-seat__contact svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.employee-mina-room-empty-slot {
    min-height: 42px;
}

.employee-room-settle-action {
    display: grid;
    justify-items: center;
    padding: 10px 0 2px;
}

.employee-room-settle-action .primary-btn {
    width: min(100%, 220px);
}

.employee-room-option--settled {
    border-color: rgba(34, 197, 94, 0.32);
}

.employee-group-schedule-compact {
    grid-template-columns: 30px repeat(4, minmax(0, 1fr));
}

.employee-group-schedule-action {
    display: grid;
    justify-items: center;
    padding-top: 8px;
}

.employee-group-schedule-action .primary-btn {
    width: min(100%, 190px);
}

.employee-group-schedule-select {
    display: block;
    margin-bottom: 12px;
}

.employee-group-schedule-select select {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(139, 109, 73, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font: inherit;
    font-weight: 800;
}

.employee-support-requests-page {
    gap: 14px;
}

.employee-support-request-list {
    display: grid;
    gap: 12px;
}

.employee-support-request-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(139, 109, 73, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
}

.employee-support-request-card__top {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
    gap: 8px;
}

.employee-support-request-card__top span {
    min-width: 0;
    display: grid;
    gap: 3px;
    padding: 8px 9px;
    border-radius: 10px;
    background: rgba(246, 241, 232, 0.72);
}

.employee-support-request-card__top b {
    color: #536179;
    font-size: 0.66rem;
    font-weight: 800;
}

.employee-support-request-card__top strong {
    min-width: 0;
    overflow: hidden;
    color: #2f6cd8;
    font-size: 0.82rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-support-request-card h2 {
    margin: 2px 0 0;
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 900;
    line-height: 1.35;
}

.employee-support-request-card p {
    margin: 0;
    color: #536179;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.65;
    white-space: pre-wrap;
}

.employee-support-request-card__timer strong {
    color: #25803b;
    font-size: 0.78rem;
    font-weight: 900;
}

.employee-support-request-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.employee-support-request-card__footer form {
    margin: 0;
}

.employee-support-request-card__footer .primary-btn {
    min-height: 38px;
    padding: 8px 18px;
}

.employee-bus-trips-heading {
    width: 100%;
    text-align: center;
}

.employee-bus-search-heading .eyebrow {
    margin-bottom: -8px;
}

.employee-bus-trips-heading h3 {
    margin: 2px 0 0;
    font-size: 0.58rem;
    font-weight: 500;
    line-height: 1.2;
}

.employee-train-trips-card .section-head:has(.employee-bus-trips-heading) {
    margin-bottom: -4px;
}

.bus-layout__shell.employee-bus-layout__shell {
    --bus-seat-size: 66px;
    --bus-seat-gap: 4px;
    --bus-pair-width: calc((var(--bus-seat-size) * 2) + var(--bus-seat-gap));
    width: min(100%, 360px);
    padding-inline: 5px;
}

.bus-layout__shell.employee-bus-layout__shell::before {
    left: 5px;
    right: 5px;
}

.bus-layout__shell.employee-bus-layout__shell::after {
    background:
        linear-gradient(90deg, transparent 0 5px, rgba(85, 89, 96, 0.08) 5px 7px, transparent 7px calc(100% - 7px), rgba(85, 89, 96, 0.08) calc(100% - 7px) calc(100% - 5px), transparent calc(100% - 5px) 100%);
}

.bus-layout__shell.employee-bus-layout__shell .bus-layout__row {
    grid-template-columns: var(--bus-pair-width) 1fr var(--bus-pair-width);
    gap: 0;
}

.bus-layout__shell.employee-bus-layout__shell .bus-layout__rear-seats {
    grid-template-columns: repeat(5, var(--bus-seat-size));
    gap: var(--bus-seat-gap);
}

.bus-layout__shell.employee-bus-layout__shell .bus-layout__seat-pair {
    gap: var(--bus-seat-gap);
}

.bus-layout__shell.employee-bus-layout__shell .bus-layout__door-zone {
    width: var(--bus-pair-width);
}

.employee-bus-layout__trip-card {
    min-height: 58px;
    border-radius: 14px 14px 10px 10px;
    background: rgba(255, 255, 255, 0.86);
    color: #6f4f2b;
    display: grid;
    place-items: center;
    gap: 2px;
    padding: 7px 10px;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(139, 105, 49, 0.18);
}

.employee-bus-layout__trip-card span,
.employee-bus-layout__trip-card strong {
    max-width: 100%;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.employee-bus-layout__trip-card span {
    font-size: 0.9rem;
    font-weight: 900;
}

.employee-bus-layout__trip-card strong {
    color: #2f2418;
    font-size: 1.18rem;
    font-weight: 900;
}

.employee-bus-passenger-seat {
    width: var(--bus-seat-size);
    min-height: 44px;
    border: 1px solid rgba(139, 105, 49, 0.16);
    border-radius: 10px;
    background: rgba(244, 247, 252, 0.78);
    color: #9aa3af;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px 4px;
    text-align: center;
    overflow: hidden;
}

.employee-bus-passenger-seat-wrap {
    width: var(--bus-seat-size);
    display: grid;
    gap: 2px;
    justify-items: center;
}

.employee-bus-passenger-seat-number {
    color: #6b7280;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.employee-bus-passenger-seat.is-booked {
    background: rgba(220, 252, 231, 0.72);
    border-color: rgba(34, 197, 94, 0.35);
    color: #14532d;
}

.employee-bus-passenger-seat strong,
.employee-bus-passenger-seat span {
    max-width: 100%;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.employee-bus-passenger-seat strong {
    font-size: 0.62rem;
    font-weight: 500;
}

.employee-bus-passenger-seat span {
    font-size: 0.56rem;
    font-weight: 500;
}

.profile-avatar-card--readonly {
    cursor: default;
}

.app-stage--employee .pilgrim-dashboard--home {
    padding-top: 12px;
}

.employee-icons-grid {
    align-content: start;
}

.employee-bottom-nav__logout {
    margin: 0;
}

.employee-bottom-nav__logout button {
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
    width: 100%;
}

.employee-pilgrims-page {
    gap: 14px;
}

.employee-registration-group-card {
    margin: 0;
}

.employee-registration-group-select {
    border: 0;
    width: 100%;
    text-align: right;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
}

.employee-registration-group-select:hover {
    background: rgba(180, 147, 84, 0.16);
}

.centered-action-card {
    display: grid;
    place-items: center;
    min-height: 150px;
}

.center-action-link {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 18px;
    text-align: center;
    color: var(--text);
}

.center-action-link__icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand-color);
    box-shadow: 0 10px 24px rgba(132, 104, 70, 0.24);
}

.pilgrim-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    height: var(--pilgrim-bottom-nav-space);
    min-height: var(--pilgrim-bottom-nav-height);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 -10px 24px rgba(24, 34, 53, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 30;
}

.pilgrim-bottom-nav__item {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 6px 4px;
    border-radius: 18px;
    color: var(--muted);
    font-size: 0.72rem;
    -webkit-tap-highlight-color: transparent;
}

.pilgrim-bottom-nav__icon {
    position: relative;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    line-height: 1;
    transition: filter 0.12s ease;
}

.pilgrim-bottom-nav__item:not(.pilgrim-bottom-nav__item--home) .pilgrim-bottom-nav__icon {
    width: 34px;
    height: 34px;
}

.pilgrim-bottom-nav__item:active .pilgrim-bottom-nav__icon {
    filter: brightness(0.8);
}

.pilgrim-bottom-nav__icon svg {
    width: 100%;
    height: 100%;
}

.pilgrim-bottom-nav__item.is-active {
    color: #1458c8;
    background: rgba(27, 114, 255, 0.1);
}

.pilgrim-bottom-nav__item--home .pilgrim-bottom-nav__icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand-color);
    box-shadow: 0 10px 24px rgba(132, 104, 70, 0.22);
}

.camp-booking-form {
    gap: 16px;
}

.booking-inline-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.booking-inline-fields--bus {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    align-items: stretch;
}

.bus-commitment-alert {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(185, 28, 28, 0.22);
    border-radius: 16px;
    background: rgba(254, 226, 226, 0.72);
    color: #b91c1c;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.5;
}

.bus-commitment-alert input {
    width: 18px;
    height: 18px;
    margin: 0;
    flex: 0 0 auto;
    accent-color: #b91c1c;
}

.booking-inline-fields--arafah-top {
    grid-template-columns: minmax(96px, 0.82fr) minmax(0, 1.18fr);
    align-items: stretch;
    gap: 8px;
}

.booking-inline-fields--arafah-top > * {
    min-width: 0;
}

.booking-inline-fields--camp-top {
    grid-template-columns: minmax(112px, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
}

.booking-inline-guide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    color: var(--text);
}

.booking-inline-guide strong,
.booking-inline-guide span {
    display: block;
    line-height: 1.4;
    white-space: nowrap;
}

.booking-inline-guide span {
    color: var(--muted);
    font-size: 0.88rem;
    text-align: left;
}

.booking-inline-guide--wide {
    min-width: 0;
}

.booking-inline-guide--wide strong,
.booking-inline-guide--wide span {
    overflow: hidden;
    text-overflow: ellipsis;
}

#bus-guide-name {
    font-size: 0.84rem;
    line-height: 1.3;
}

.camp-supervisor-inline {
    justify-content: center;
}

.camp-supervisor-inline strong {
    width: 100%;
    font-size: 0.76rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

.bus-luggage-gate {
    display: grid;
    justify-items: center;
    gap: 12px;
}

.bus-luggage-gate__button {
    width: min(100%, 220px);
}

.camp-seats-wrap {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.52);
}

.camp-seats-head {
    display: grid;
    gap: 4px;
}

.camp-seats-head span {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1;
    text-align: center;
}

.camp-seats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.arafah-seats-grid {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    direction: ltr;
    overflow-x: visible;
    padding: 8px 0 14px;
}

.arafah-zone-column {
    min-width: 0;
    flex: 1 1 0;
    display: grid;
    justify-items: center;
    gap: 4px;
}

.arafah-zone-column__title {
    color: #211cff;
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0;
}

.arafah-zone-column__seats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: center;
}

.arafah-seat-box,
.seat-box.arafah-seat-box,
.seat-box.arafah-seat-box.is-available,
.seat-box.arafah-seat-box.is-selected,
.seat-box.arafah-seat-box.is-booked {
    min-height: 42px;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    flex-direction: row;
    justify-content: center;
    gap: 0;
}

.arafah-seat-box .train-seat-chair {
    transform: rotate(0deg);
}

.arafah-seat-box--up .train-seat-chair {
    transform: rotate(0deg);
}

.arafah-seat-box--down .train-seat-chair {
    transform: rotate(180deg);
}

.arafah-seat-box--right .train-seat-chair {
    transform: rotate(90deg);
}

.arafah-seat-box--left .train-seat-chair {
    transform: rotate(-90deg);
}

.arafah-seat-box .train-seat-number {
    position: relative;
    z-index: 4;
    min-width: 0;
    text-align: center;
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.68rem;
    line-height: 1;
    color: #111827;
    font-weight: 900;
}

.arafah-seat-box.is-booked .train-seat-chair {
    --seat-color: rgba(248, 113, 113, 0.42);
    --seat-stroke: #dc6b6b;
}

.camp-booking-page {
    gap: 18px;
}

.camp-plan-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.camp-plan-entry__label {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--heading-color);
}

.camp-plan-entry--inline {
    justify-content: center;
}

.camp-plan-trigger,
.camp-plan-back {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(132, 104, 104, 0.18);
    color: var(--brand-color);
    box-shadow: 0 10px 24px rgba(31, 35, 53, 0.08);
}

.camp-plan-trigger svg,
.camp-plan-back svg {
    width: 22px;
    height: 22px;
}

.camp-booking-visuals {
    display: grid;
    gap: 16px;
}

.camp-plan-page {
    gap: 18px;
}

.camp-plan-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.camp-plan-zoom-btn {
    border: 1px solid rgba(132, 104, 104, 0.18);
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-color);
    border-radius: 14px;
    min-width: 46px;
    height: 42px;
    padding: 0 14px;
    font-size: 1.12rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(31, 35, 53, 0.08);
}

.camp-plan-zoom-btn--fit {
    min-width: 126px;
    font-size: 0.95rem;
}

.camp-plan-viewer {
    width: 100%;
    min-height: 68vh;
    border-radius: 24px;
    overflow: hidden;
    background: #f4f6fb;
    border: 1px solid rgba(132, 104, 104, 0.14);
}

.camp-plan-image-wrap {
    width: 100%;
    min-height: 68vh;
    max-height: 68vh;
    overflow: auto;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.camp-plan-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

.camp-plan-back-btn {
    width: 100%;
}

.camp-map-wrap {
    display: grid;
    gap: 14px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: 0 5px 10px rgba(36, 24, 18, 0.16);
}

.camp-map-wrap__head {
    justify-items: center;
}

.camp-map-image-wrap {
    width: 100%;
}

.camp-map-image-stage {
    position: relative;
    width: min(100%, 620px);
    margin: 0 auto;
    aspect-ratio: 2539 / 3845;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}

.camp-map-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #fff;
}

.camp-map-image-overlay {
    position: absolute;
    inset: 0;
}

.camp-map-pin {
    position: absolute;
    border: 0;
    padding: 0;
    display: grid;
    place-items: center;
    align-content: center;
    background: transparent;
    color: #24354f;
    cursor: default;
}

.camp-map-pin strong {
    font-size: 0.96rem;
    line-height: 1;
    font-weight: 800;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        0 0 6px rgba(255, 255, 255, 0.92);
}

.camp-map-pin.is-active {
    cursor: pointer;
    color: #0f57cb;
}

.camp-map-pin.is-current {
    color: #1f8a4c;
}

.camp-map-pin.is-restricted {
    cursor: pointer;
    color: #c45d1d;
}

.camp-map-pin.is-disabled {
    opacity: 0.14;
}

.camp-room-wrap__head {
    justify-items: center;
}

.camp-room-wrap {
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.camp-selection-hero {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.camp-selection-hero__image-wrap {
    width: 100%;
    max-height: 48vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.camp-selection-hero img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

.camp-selection-toolbar {
    margin-top: -4px;
}

.camp-selection-toolbar[hidden] {
    display: none;
}

.camp-room-layout {
    display: block;
}

.camp-room-scene {
    display: grid;
    grid-template-columns: minmax(0, 78px) minmax(0, 268px) minmax(0, 78px);
    gap: 6px;
    align-items: start;
    justify-content: center;
}

.camp-room-layout__plan {
    width: min(100%, 268px);
    margin: 0 auto;
    display: grid;
    row-gap: 2px;
    column-gap: 0;
    padding: 10px 10px 8px;
    border-radius: 12px;
    background: #ffffff;
    border: 2px solid rgba(58, 63, 72, 0.82);
    box-shadow:
        inset 0 0 0 4px rgba(238, 242, 248, 0.92),
        0 12px 24px rgba(39, 53, 82, 0.08);
    position: relative;
    overflow: hidden;
}

.camp-room-layout__plan--ghost {
    width: 78px;
    padding: 10px 0 8px;
    opacity: 0.48;
    box-shadow: none;
    pointer-events: none;
    border: 0;
    background: transparent;
}

.camp-room-layout__plan--ghost .camp-room-layout__row {
    grid-template-columns: 1fr;
    min-height: 30px;
}

.camp-room-layout__row--ghost {
    gap: 0;
}

.camp-room-layout__plan--ghost .camp-room-seat {
    min-height: 30px;
    background: #dfe4ec;
    color: #7f8897;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.camp-room-layout__plan--ghost .train-seat-number {
    display: none;
    min-width: 0;
    width: 0;
}

.camp-room-layout__plan--ghost .camp-room-seat {
    gap: 0;
}

.camp-room-layout__plan--ghost .camp-room-seat__head {
    background: #9ca5b2;
    color: #ffffff;
}

.camp-room-layout__plan--ghost .camp-room-seat__body {
    background: #e8edf4;
}

.camp-room-layout__plan--ghost-left .camp-room-seat {
    justify-content: flex-end;
}

.camp-room-layout__plan--ghost-right .camp-room-seat {
    justify-content: flex-end;
}

.camp-room-layout__plan--ghost-left .train-seat-chair {
    transform: rotate(90deg);
}

.camp-room-layout__plan--ghost-right .train-seat-chair {
    transform: rotate(-90deg);
}

.camp-room-layout__plan--ghost .camp-room-layout__door {
    display: none;
}

.camp-room-layout__plan::after {
    display: none;
}

.camp-room-layout__row {
    display: grid;
    grid-template-columns: 1fr 0 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 34px;
}

.camp-room-layout__aisle {
    position: relative;
    min-height: 34px;
    border-radius: 10px;
    background: transparent;
}

.camp-room-layout__aisle::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
}

.camp-room-layout__empty {
    min-height: 34px;
}

.camp-room-layout__door {
    position: relative;
    width: 118px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    background: transparent;
    margin-top: -1px;
    margin-right: 0;
    margin-left: auto;
}

.camp-room-layout__door--left {
    margin-right: auto;
    margin-left: 0;
}

.camp-room-layout__door-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.camp-room-layout__door--left .camp-room-layout__door-svg {
    transform: scaleX(-1);
}

.camp-room-layout__door--swing-right .camp-room-layout__door-svg {
    transform: scaleX(-1);
}

.camp-room-layout__door--left.camp-room-layout__door--swing-right .camp-room-layout__door-svg {
    transform: none;
}

.camp-room-layout__door-label {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.18;
    font-weight: 800;
    color: #6c553c;
    transform: translate(10px, 8px);
}

.camp-room-layout__door--left .camp-room-layout__door-label {
    transform: translate(-10px, 8px);
}

.tent-door-config {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(180px, 1fr) minmax(180px, 1fr);
    grid-template-areas: "preview swing side";
    gap: 24px;
    align-items: start;
    padding-top: 14px;
}

.tent-door-config__group {
    display: grid;
    gap: 24px;
    align-content: start;
}

.tent-door-config__group--side {
    grid-area: side;
}

.tent-door-config__group--swing {
    grid-area: swing;
}

.tent-door-config__preview-column {
    grid-area: preview;
    display: grid;
    gap: 16px;
    justify-items: center;
    align-content: start;
}

.tent-door-config__label {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
}

.tent-door-option {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 700;
    color: var(--text);
}

.tent-door-option input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-color);
}

.tent-door-preview {
    display: grid;
    gap: 14px;
    justify-items: center;
}

.tent-door-preview__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
}

.tent-door-preview__room {
    width: 172px;
    height: 184px;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 7px 1fr;
    gap: 2px;
    align-items: start;
    padding: 10px 8px 24px;
    border-radius: 12px;
    background: #ffffff;
    border: 2px solid rgba(58, 63, 72, 0.82);
    box-shadow: inset 0 0 0 3px rgba(238, 242, 248, 0.92);
    overflow: hidden;
}

.tent-door-preview__beds {
    display: grid;
    gap: 3px;
}

.tent-door-preview__beds span {
    min-height: 32px;
    display: block;
    background: #cfd8fb;
    position: relative;
}

.tent-door-preview__beds--left span::before,
.tent-door-preview__beds--right span::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 14px;
    background: #193b93;
}

.tent-door-preview__beds--left span::before {
    left: 0;
}

.tent-door-preview__beds--right span::before {
    right: 0;
}

.tent-door-preview__aisle {
    min-height: 100%;
}

.tent-door-preview__door {
    position: absolute;
    right: -4px;
    bottom: -1px;
    width: 86px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tent-door-preview__door--left {
    right: auto;
    left: -4px;
}

.tent-door-preview__door svg {
    width: 100%;
    height: 100%;
    display: block;
}

.tent-door-preview__door--left svg {
    transform: scaleX(-1);
}

.tent-door-preview__door--swing-right svg {
    transform: scaleX(-1);
}

.tent-door-preview__door--left.tent-door-preview__door--swing-right svg {
    transform: none;
}

.tent-door-submit {
    width: 100%;
    display: flex;
    justify-content: center;
}

.tent-door-submit .primary-btn {
    min-width: 200px;
}

.camp-room-seat {
    min-height: 34px;
    border-radius: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background: #cfd8fb;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.camp-room-seat--ghost {
    pointer-events: none;
}

.camp-room-seat.is-available {
    background: #cfd8fb;
    color: #193b93;
}

.camp-room-seat.is-selected {
    background: #d9f3df;
    color: #227748;
}

.camp-room-seat.is-booked {
    background: #d94d4d;
    color: #ffffff;
}

.camp-room-seat--left {
    flex-direction: row;
}

.camp-room-seat--right {
    flex-direction: row-reverse;
}

.camp-room-seat__head {
    width: 18px;
    flex: 0 0 18px;
    display: grid;
    place-items: center;
    background: #193b93;
    color: #fff;
    position: relative;
    z-index: 1;
}

.camp-room-seat__head-number {
    font-size: 0.54rem;
    line-height: 1;
    font-weight: 800;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.camp-room-seat--right .camp-room-seat__head-number {
    transform: none;
}

.camp-room-seat__body {
    flex: 1 1 auto;
    display: block;
}

.camp-room-seat.is-available,
.camp-room-seat.is-selected {
    color: #193b93;
}

.camp-room-seat--profiled {
    background: #d94d4d;
}

.camp-room-seat__profile {
    flex: 1 1 auto;
    width: auto;
    height: auto;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 2px 4px;
}

.camp-room-seat__number {
    color: #193b93;
    font-size: 0.56rem;
    line-height: 1;
}

.camp-room-seat__name {
    font-size: 0.42rem;
    line-height: 1.04;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.camp-room-seat__meta {
    font-size: 0.4rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.employee-mina-room-plan .employee-mina-room-plan-seat {
    min-height: 42px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 5px;
    align-items: stretch;
    border-radius: 8px;
    background: rgba(244, 247, 252, 0.9);
    border: 1px solid rgba(139, 105, 49, 0.14);
    padding: 3px;
    box-shadow: none;
}

.employee-mina-room-plan .employee-mina-room-plan-seat.camp-room-seat--right {
    grid-template-columns: minmax(0, 1fr) 34px;
}

.employee-mina-room-plan .employee-mina-room-plan-seat__visual {
    min-width: 0;
    display: flex;
    align-items: stretch;
}

.employee-mina-room-plan .employee-mina-room-plan-seat.camp-room-seat--right .employee-mina-room-plan-seat__visual {
    order: 2;
}

.employee-mina-room-plan .employee-mina-room-plan-seat.camp-room-seat--right .employee-mina-room-plan-seat__info {
    order: 1;
}

.employee-mina-room-plan .employee-mina-room-plan-seat__visual .train-seat-number {
    display: none;
}

.employee-mina-room-plan .employee-mina-room-plan-seat__info {
    min-width: 0;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 2px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.84);
    padding: 3px 4px;
    text-align: center;
}

.employee-mina-room-plan .employee-mina-room-plan-seat.is-booked {
    background: rgba(220, 252, 231, 0.78);
    border-color: rgba(34, 197, 94, 0.34);
    color: #166534;
}

.employee-mina-room-plan .employee-mina-room-plan-seat.is-empty {
    background: rgba(244, 247, 252, 0.74);
    color: #9aa3af;
}

.employee-mina-room-plan .employee-mina-room-plan-seat__info span {
    color: #6b7280;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
}

.employee-mina-room-plan .employee-mina-room-plan-seat__info strong {
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    font-size: 0.66rem;
    font-weight: 800;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.employee-mina-room-plan .employee-mina-room-plan-seat__contact {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #8b6d49;
    box-shadow: 0 5px 10px rgba(137, 93, 38, 0.18);
}

.employee-mina-room-plan .employee-mina-room-plan-seat__contact svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.employee-arafah-zone-layout-wrap {
    display: grid;
    gap: 12px;
    justify-items: center;
}

.employee-arafah-zone-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 8px;
}

.employee-arafah-zone-card {
    border: 1px solid rgba(139, 109, 73, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    display: grid;
    gap: 3px;
    justify-items: center;
    padding: 10px 8px;
    cursor: pointer;
}

.employee-arafah-zone-card span,
.employee-arafah-zone-card small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.employee-arafah-zone-card strong {
    color: var(--text);
    font-size: 1rem;
    font-weight: 900;
}

.employee-arafah-zone-card.is-selected {
    border-color: rgba(34, 197, 94, 0.36);
    background: rgba(220, 252, 231, 0.82);
    color: #166534;
}

.employee-arafah-zone-card.is-selected strong {
    color: #166534;
}

.employee-arafah-zone-plan {
    width: min(100%, 360px);
}

.bus-seats-grid {
    display: block;
}

.seat-box {
    min-height: 52px;
    border: 0;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    padding: 0 8px;
}

.seat-box__content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.seat-box.is-booked .seat-box__content,
.seat-box.is-selected .seat-box__content {
    justify-content: space-evenly;
}

.seat-box__label {
    font-size: 1rem;
    line-height: 1;
}

.seat-box__gender-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(110, 95, 95, 0.9);
    flex-shrink: 0;
}

.seat-box__gender-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.seat-box__divider {
    width: 1px;
    height: 24px;
    background: rgba(112, 96, 96, 0.35);
    border-radius: 999px;
    flex-shrink: 0;
}

.seat-box.is-available {
    background: #d9ecff;
    color: #1458c8;
}

.seat-box.is-selected {
    background: #d9f3df;
    color: #227748;
}

.seat-box.camp-room-seat,
.seat-box.camp-room-seat.is-available,
.seat-box.camp-room-seat.is-selected,
.seat-box.camp-room-seat.is-booked,
.seat-box.camp-room-seat.camp-room-seat--profiled {
    border-radius: 0 !important;
}

.seat-box.camp-room-seat .camp-room-seat__head,
.seat-box.camp-room-seat .camp-room-seat__body,
.seat-box.camp-room-seat .camp-room-seat__profile {
    border-radius: 0 !important;
}

.bus-layout-card {
    padding: 18px 12px 16px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.95), rgba(244, 247, 252, 0.92) 48%, rgba(234, 239, 247, 0.98) 100%);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.08);
}

.bus-layout-card.has-bus-layout {
    padding-top: 8px;
}

.bus-layout-card__head {
    margin-bottom: 14px;
}

.bus-selection-hero {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.bus-selection-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.arafah-selection-hero {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.arafah-selection-hero__image-wrap {
    width: 100%;
    max-height: 48vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.arafah-selection-hero img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}

.arafah-selection-toolbar {
    margin-top: -4px;
}

.arafah-selection-toolbar[hidden] {
    display: none;
}

.booking-inline-fields--arafah-top .camp-plan-trigger {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.booking-inline-fields--arafah-top .camp-select {
    min-width: 0;
    padding-inline: 12px 34px;
    font-size: 0.94rem;
}

.booking-inline-fields--arafah-top .booking-inline-guide {
    min-width: 0;
    padding: 10px 12px;
    gap: 8px;
}

.booking-inline-fields--arafah-top .booking-inline-guide strong {
    font-size: 0.92rem;
}

.booking-inline-fields--arafah-top .camp-supervisor-inline strong {
    font-size: 0.76rem;
    font-weight: 500;
    text-align: center;
}

.booking-inline-fields--arafah-top .booking-inline-guide span {
    font-size: 0.8rem;
}

@media (max-width: 720px) {
    .booking-inline-fields--arafah-top {
        grid-template-columns: minmax(88px, 0.8fr) minmax(0, 1.2fr);
        gap: 6px;
    }

    .booking-inline-fields--arafah-top .camp-plan-entry {
        justify-content: center;
    }

    .booking-inline-fields--arafah-top .camp-plan-trigger {
        width: 40px;
        height: 40px;
    }

    .booking-inline-fields--arafah-top .camp-select {
        padding-inline: 10px 30px;
        font-size: 0.88rem;
    }

    .booking-inline-fields--arafah-top .booking-inline-guide {
        padding: 8px 10px;
        gap: 4px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .booking-inline-fields--arafah-top .booking-inline-guide strong,
    .booking-inline-fields--arafah-top .booking-inline-guide span {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: right;
    }

    .booking-inline-fields--arafah-top .booking-inline-guide strong {
        font-size: 0.84rem;
    }

    .booking-inline-fields--arafah-top .camp-supervisor-inline strong {
        font-size: 0.76rem;
        text-align: center;
    }

    .booking-inline-fields--arafah-top .booking-inline-guide span {
        font-size: 0.74rem;
    }
}

.pilgrim-dashboard--card {
    align-content: start;
    justify-items: center;
    padding: 8px 0 12px;
}

.pilgrim-card-sheet {
    overflow: hidden;
    padding: 0;
    background: #fff;
    width: 5.4cm;
    height: 8.6cm;
    box-sizing: border-box;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(31, 35, 53, 0.12);
}

.pilgrim-card-sheet--employee-id,
.pilgrim-card-sheet--pilgrim-id {
    width: 5.4cm;
    height: 8.6cm;
    min-height: 0;
    box-sizing: border-box;
    border-radius: 3mm;
    position: relative;
    background:
        linear-gradient(135deg, rgba(123, 93, 67, 0.18) 0 18%, transparent 18% 100%),
        linear-gradient(315deg, rgba(231, 161, 29, 0.17) 0 15%, transparent 15% 100%),
        #fffaf2;
    isolation: isolate;
}

.pilgrim-card-sheet--employee-id::before,
.pilgrim-card-sheet--pilgrim-id::before {
    content: "";
    position: absolute;
    inset: 18mm 5mm auto auto;
    width: 20mm;
    height: 20mm;
    border: 1.4px solid rgba(123, 93, 67, 0.34);
    transform: rotate(35deg);
    z-index: -1;
}

.pilgrim-card-sheet--employee-id::after,
.pilgrim-card-sheet--pilgrim-id::after {
    content: "";
    position: absolute;
    inset: auto auto 10mm 5mm;
    width: 22mm;
    height: 22mm;
    border: 1.4px solid rgba(231, 161, 29, 0.38);
    transform: rotate(35deg);
    z-index: -1;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-sheet__header,
.pilgrim-card-sheet--pilgrim-id .pilgrim-card-sheet__header {
    padding: 7px 10px 6px;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-sheet__brand,
.pilgrim-card-sheet--pilgrim-id .pilgrim-card-sheet__brand {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 7px;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-sheet__logo,
.pilgrim-card-sheet--pilgrim-id .pilgrim-card-sheet__logo {
    width: 34px;
    height: 34px;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-sheet__brand-copy h1,
.pilgrim-card-sheet--pilgrim-id .pilgrim-card-sheet__brand-copy h1 {
    font-size: 0.78rem;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-sheet__brand-copy p,
.pilgrim-card-sheet--pilgrim-id .pilgrim-card-sheet__brand-copy p {
    font-size: 0.64rem;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-sheet__body,
.pilgrim-card-sheet--pilgrim-id .pilgrim-card-sheet__body {
    gap: 5px;
    padding: 6px 10px 8px;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-sheet__title,
.pilgrim-card-sheet--pilgrim-id .pilgrim-card-sheet__title {
    font-size: 10px;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-sheet__photo-frame,
.pilgrim-card-sheet--pilgrim-id .pilgrim-card-sheet__photo-frame {
    width: 25mm;
    height: 30mm;
    padding: 1.4mm;
    border: 1px solid rgba(123, 93, 67, 0.28);
    border-radius: 3.4mm;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(123, 93, 67, 0.42), rgba(231, 161, 29, 0.28)) border-box;
    box-shadow: 0 8px 18px rgba(39, 53, 82, 0.10);
}

.pilgrim-card-sheet--employee-id .pilgrim-card-sheet__photo,
.pilgrim-card-sheet--pilgrim-id .pilgrim-card-sheet__photo {
    border-radius: 2.3mm;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-sheet__name,
.pilgrim-card-sheet--pilgrim-id .pilgrim-card-sheet__name {
    margin-top: 3px;
    font-size: 0.92rem;
    line-height: 1.25;
}

.pilgrim-card-sheet--pilgrim-id .pilgrim-card-sheet__photo-frame {
    width: 23mm;
    height: 28mm;
}

.pilgrim-card-sheet--pilgrim-id .pilgrim-card-sheet__name {
    margin-top: 0;
}

.pilgrim-card-sheet--pilgrim-id .pilgrim-card-grid {
    grid-template-columns: 1fr;
    gap: 4px;
}

.pilgrim-card-sheet--pilgrim-id .pilgrim-card-grid__travel-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    min-width: 0;
    direction: rtl;
}

.pilgrim-card-lower {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    direction: ltr;
}

.pilgrim-card-sheet--pilgrim-id .pilgrim-card-grid__item {
    gap: 6px;
}

.pilgrim-card-sheet--pilgrim-id .pilgrim-card-grid__item--travel-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    min-width: 0;
}

.pilgrim-card-sheet--pilgrim-id .pilgrim-card-grid__content {
    min-height: 0;
}

.pilgrim-card-sheet--pilgrim-id .pilgrim-card-grid__content--travel-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    width: 100%;
    min-height: 0;
}

.pilgrim-card-sheet--pilgrim-id .pilgrim-card-grid__content--travel-row span {
    display: block;
    width: 10px;
    height: 1px;
    background: rgba(111, 98, 86, 0.42);
    justify-self: center;
}

.pilgrim-card-sheet--pilgrim-id .pilgrim-card-grid__item strong {
    font-size: 0.74rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.pilgrim-card-sheet--pilgrim-id .pilgrim-card-grid__icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 10px;
}

.pilgrim-card-sheet--pilgrim-id .pilgrim-card-grid__icon svg {
    width: 16px;
    height: 16px;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-sheet__section-title {
    font-size: 0.72rem;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-grid {
    grid-template-columns: 1fr;
    gap: 0;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-grid__item {
    gap: 5px;
    justify-content: center;
    min-height: 18px;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-grid__icon {
    flex-basis: 25px;
    width: 25px;
    height: 25px;
    border-radius: 8px;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-grid__icon svg {
    width: 15px;
    height: 15px;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-grid__item small {
    font-size: 0.68rem;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-grid__item strong {
    color: #4a4f5c;
    font-size: 0.72rem;
    line-height: 1.25;
    text-align: center;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-grid__content {
    justify-content: center;
    text-align: center;
    min-height: 0;
}

.pilgrim-card-sheet--employee-id .pilgrim-card-grid__content--stack {
    gap: 0;
}

.employee-id-card-field--job {
    margin-top: 4px;
}

.employee-id-card-field--nationality {
    margin-bottom: 4px;
}

.employee-id-card-barcode {
    display: grid;
    gap: 1px;
    justify-items: center;
    margin-top: 2px;
    direction: ltr;
}

.employee-id-card-barcode__bars {
    width: 100%;
    height: 6mm;
    display: block;
}

.employee-id-card-barcode__bars svg {
    width: 100%;
    height: 100%;
    display: block;
}

.employee-id-card-barcode__text {
    color: #303443;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

.awareness-message-counter {
    display: block;
    margin-top: 6px;
    color: #7b8190;
    font-size: 0.82rem;
    font-weight: 700;
}

.awareness-message-compose {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
}

.awareness-message-compose .awareness-all-pilgrims-toggle {
    margin-top: 27px;
}

.awareness-delivery-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
}

.awareness-delivery-methods > span,
.awareness-delivery-methods > p {
    grid-column: 1 / -1;
}

.awareness-delivery-methods > span {
    color: #667389;
    font-size: 0.9rem;
    font-weight: 800;
}

.awareness-delivery-methods label {
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    background: #f7f3eb;
    color: #4b5563;
    font-weight: 800;
}

.awareness-delivery-methods input {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-color);
}

.awareness-delivery-methods p {
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.6;
}

.awareness-private-picker {
    display: grid;
    gap: 10px;
}

.awareness-target-section {
    display: grid;
    gap: 12px;
}

.awareness-target-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.awareness-target-card {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(132, 104, 70, 0.14);
    border-radius: 14px;
    display: grid;
    gap: 9px;
    align-content: start;
    background: #fffdf8;
}

.awareness-target-card label {
    display: grid;
    gap: 6px;
}

.awareness-target-card label span {
    color: #4b5563;
    font-size: 0.84rem;
    font-weight: 900;
}

.awareness-target-card input[type="search"] {
    width: 100%;
    min-width: 0;
}

.awareness-target-card__results {
    max-height: 196px;
    overflow: auto;
}

.awareness-target-card .awareness-private-picker__results {
    gap: 0;
    border-top: 1px solid rgba(132, 104, 70, 0.12);
}

.awareness-target-card .awareness-private-picker__result {
    min-height: 28px;
    padding: 3px 2px;
    border: 0;
    border-bottom: 1px solid rgba(132, 104, 70, 0.12);
    border-radius: 0;
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: space-between;
    background: transparent;
}

.awareness-target-card .awareness-private-picker__result strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.76rem;
    line-height: 1.2;
}

.awareness-target-card .awareness-private-picker__result span {
    flex: 0 0 auto;
    font-size: 0.66rem;
    line-height: 1.2;
}

.awareness-target-card__selected {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 0;
}

.awareness-target-summary {
    padding: 10px 12px;
    border-radius: 14px;
    background: #f8f4ed;
}

.awareness-smart-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: end;
}

.awareness-all-pilgrims-toggle {
    min-height: 42px;
    padding: 9px 12px;
    border-radius: 12px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    background: #f7f3eb;
    font-weight: 800;
    white-space: nowrap;
}

.awareness-all-pilgrims-toggle input {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-color);
}

.awareness-private-picker__results {
    display: grid;
    gap: 7px;
}

.awareness-private-picker__result {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(132, 104, 70, 0.14);
    border-radius: 12px;
    display: grid;
    gap: 3px;
    text-align: right;
    background: #fffaf2;
    color: #303443;
    cursor: pointer;
}

.awareness-private-picker__result strong,
.awareness-private-picker__chip strong {
    font-size: 0.88rem;
}

.awareness-private-picker__result span,
.awareness-private-picker__chip span {
    color: #7b8190;
    font-size: 0.76rem;
    font-weight: 700;
}

.awareness-private-picker__empty {
    padding: 10px 12px;
    border-radius: 12px;
    color: #7b8190;
    background: #f7f8fb;
    font-weight: 700;
}

.awareness-private-picker__selected {
    display: grid;
    gap: 8px;
}

.awareness-private-picker__selected > strong {
    color: #4b5563;
    font-size: 0.86rem;
}

.awareness-private-picker__selected > small {
    color: #8a6a35;
    font-size: 0.78rem;
    font-weight: 700;
}

.awareness-private-picker__selected > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.awareness-private-picker__chip {
    max-width: 100%;
    padding: 7px 10px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    background: #f5efe4;
    color: #303443;
    cursor: pointer;
}

.awareness-private-picker__chip em {
    color: #9a3412;
    font-style: normal;
    font-weight: 900;
}

@media (max-width: 1200px) {
    .awareness-target-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .awareness-target-cards {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .pilgrim-card-sheet,
    .pilgrim-card-sheet--employee-id,
    .pilgrim-card-sheet--pilgrim-id {
        width: 5.4cm;
        height: 8.6cm;
        min-height: 0;
        zoom: 1.55;
    }
}

@media (max-width: 380px) {
    .pilgrim-card-sheet,
    .pilgrim-card-sheet--employee-id,
    .pilgrim-card-sheet--pilgrim-id {
        zoom: 1.42;
    }
}

@media (min-width: 421px) and (max-width: 640px) {
    .pilgrim-card-sheet,
    .pilgrim-card-sheet--employee-id,
    .pilgrim-card-sheet--pilgrim-id {
        zoom: 1.7;
    }
}


.pilgrim-card-sheet__header {
    padding: 10px 14px 8px;
    position: relative;
    overflow: hidden;
    background-color: var(--system-header-color, #6f4f2b);
    background-image:
        linear-gradient(rgba(111, 79, 43, 0.84), rgba(111, 79, 43, 0.9)),
        url('../images/ui/admin-header-pattern.png'),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 42%);
    background-repeat: no-repeat, repeat-x, no-repeat;
    background-position: center, center center, top right;
    background-size: auto, auto 100%, auto;
    color: #fff;
}

.pilgrim-card-sheet__header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(111, 79, 43, 0.1), rgba(111, 79, 43, 0.34));
    pointer-events: none;
}

.pilgrim-card-sheet__brand {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.pilgrim-card-sheet__logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.pilgrim-card-sheet__brand img.pilgrim-card-sheet__logo {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.pilgrim-card-sheet__logo--placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    font-size: 1.35rem;
    font-weight: 800;
}

.pilgrim-card-sheet__brand-copy h1 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
}

.pilgrim-card-sheet__brand-copy p {
    margin: 3px 0 0;
    font-size: 0.8rem;
    opacity: 0.96;
}

.pilgrim-card-sheet__accent {
    height: 4px;
    background: #e7a11d;
}

.pilgrim-card-sheet__body {
    display: grid;
    gap: 9px;
    padding: 8px 14px 14px;
}

.pilgrim-card-sheet__title {
    margin: 0;
    text-align: center;
    color: #6f6256;
    font-size: 1rem;
    font-weight: 800;
}

.pilgrim-card-sheet__section-title {
    margin: 0;
    text-align: center;
    color: #a79c90;
    font-size: 0.86rem;
    font-weight: 800;
}

.pilgrim-card-sheet__photo-frame {
    width: 118px;
    height: 142px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    background: #efede8;
}

.pilgrim-card-sheet__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pilgrim-card-sheet__name {
    margin: -2px 0 0;
    text-align: center;
    color: #2e3443;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.45;
}

.pilgrim-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
}

.pilgrim-card-grid__item {
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: flex-start;
    min-width: 0;
}

.pilgrim-card-grid__content {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 32px;
    text-align: right;
}

.pilgrim-card-grid__content--stack {
    display: grid;
    align-items: center;
    gap: 1px;
}

.pilgrim-card-grid__item small {
    color: #a79c90;
    font-size: 0.82rem;
    font-weight: 700;
}

.pilgrim-card-grid__item strong {
    color: #303443;
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: right;
    display: -webkit-box;
    max-height: 2.7em;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
}

.pilgrim-card-grid__icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a27f56;
    background: #f5f0e9;
    box-shadow: inset 0 0 0 1px rgba(160, 127, 84, 0.08);
}

.pilgrim-card-grid__icon svg {
    width: 18px;
    height: 18px;
}

.bus-layout__placeholder {
    padding: 18px 16px;
    border-radius: 22px;
    text-align: center;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.bus-layout__shell {
    --bus-seat-size: 40px;
    --bus-seat-gap: 6px;
    --bus-pair-width: calc((var(--bus-seat-size) * 2) + var(--bus-seat-gap));
    width: min(100%, 270px);
    margin: 0 auto;
    padding: 12px 10px 16px;
    direction: ltr;
    display: grid;
    gap: 8px;
    position: relative;
    border-radius: 34px 34px 28px 28px;
    background: linear-gradient(180deg, #f7f8fa 0%, #edf0f4 100%);
    box-shadow:
        inset 0 0 0 2px rgba(90, 94, 101, 0.82),
        inset 0 0 0 6px rgba(255, 255, 255, 0.58),
        0 18px 36px rgba(39, 53, 82, 0.12);
    overflow: hidden;
}

.bus-layout__shell::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 28px 28px 22px 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(239, 242, 247, 0.94));
    z-index: 0;
}

.bus-layout__shell::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(90deg, transparent 0 10px, rgba(85, 89, 96, 0.08) 10px 12px, transparent 12px calc(100% - 12px), rgba(85, 89, 96, 0.08) calc(100% - 12px) calc(100% - 10px), transparent calc(100% - 10px) 100%);
    pointer-events: none;
}

.bus-layout__cockpit,
.bus-layout__row,
.bus-layout__rear-seats,
.bus-layout__rear {
    position: relative;
    z-index: 1;
}

.bus-layout__cockpit {
    display: grid;
    grid-template-columns: minmax(0, 104px) minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    min-height: 66px;
    padding: 2px 2px 4px;
}

.bus-layout__driver {
    min-height: 58px;
    border-radius: 14px 14px 10px 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #2e3136 0%, #1f2228 100%);
    color: #d7d9df;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.bus-layout__driver-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bus-layout__driver-icon svg {
    width: 100%;
    height: 100%;
}

.bus-layout__cockpit-spacer {
    min-height: 58px;
}

.bus-layout__row {
    display: grid;
    grid-template-columns: var(--bus-pair-width) 28px var(--bus-pair-width);
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.bus-layout__row--rear-door {
    align-items: stretch;
}

.bus-layout__rear-seats {
    display: grid;
    grid-template-columns: repeat(5, var(--bus-seat-size));
    gap: var(--bus-seat-gap);
    justify-content: center;
    align-items: center;
    padding: 2px 0 0;
}

.bus-layout__seat-pair {
    display: grid;
    grid-template-columns: repeat(2, var(--bus-seat-size));
    gap: var(--bus-seat-gap);
    justify-content: center;
}

.bus-layout__aisle {
    min-height: 40px;
    border-radius: 12px;
    position: relative;
    background: transparent;
}

.bus-layout__aisle::before {
    content: "";
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
}

.bus-layout__door-zone {
    width: var(--bus-pair-width);
    min-height: 40px;
    position: relative;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(210, 216, 225, 0.16));
}

.bus-layout__door-zone::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 8px;
    width: 2px;
    border-radius: 999px;
    background: rgba(83, 88, 96, 0.68);
}

.bus-layout__door-lane {
    position: absolute;
    top: 7px;
    bottom: 7px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
}

.bus-layout__rear {
    height: 10px;
    margin: 2px 26px 0;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(98, 102, 109, 0.58), rgba(98, 102, 109, 0.28));
}

.bus-layout__empty {
    width: var(--bus-seat-size);
    min-height: 40px;
}

.bus-seat-box {
    width: var(--bus-seat-size);
    min-height: 40px;
    padding: 0 4px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.34),
        0 4px 10px rgba(39, 53, 82, 0.08);
}

.bus-seat-box::before,
.bus-seat-box::after {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    width: 5px;
    border-radius: 999px;
    background: rgba(78, 81, 88, 0.72);
}

.bus-seat-box::before {
    left: -1px;
}

.bus-seat-box::after {
    right: -1px;
}

.bus-seat-box .seat-box__content {
    gap: 5px;
}

.bus-seat-box .seat-box__label {
    font-size: 0.86rem;
}

.bus-seat-box .seat-box__gender-icon {
    width: 16px;
    height: 16px;
}

.bus-seat-box--icon-only .seat-box__content {
    justify-content: center !important;
}

.bus-seat-box--icon-only .seat-box__gender-icon {
    width: 18px;
    height: 18px;
}

.bus-seat-box.is-available {
    background: #d7ebff;
    color: #1458c8;
}

.bus-seat-box.is-selected {
    background: rgba(220, 252, 231, 0.52);
    color: #227748;
}

.seat-box.bus-seat-box.is-booked {
    background: rgba(239, 169, 169, 0.5);
    color: #b42318;
}


body::before {
    content: none !important;
}

.global-app-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0;
    background: rgba(132, 104, 70, 0.96);
    color: #fff;
    z-index: 1000;
    box-shadow: 0 8px 18px rgba(132, 104, 70, 0.18);
}

.global-app-header__title {
    display: block;
    padding: 0 46px;
    text-align: center;
    line-height: 1.1;
}

.global-app-header__title-main {
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.global-app-header__title-inline-sub {
    display: inline;
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.92;
    margin-right: 6px;
}

.global-app-header__title-sub {
    display: none;
}

.global-app-header__logout {
    position: absolute;
    left: 10px;
    top: 7px;
    margin: 0;
}

.global-app-header__logout-btn {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 6px;
    display: grid;
    place-items: center;
    padding: 0;
    background: #fff;
    color: #8b6d49;
    box-shadow: 0 6px 14px rgba(24, 34, 53, 0.14);
    cursor: pointer;
    color: #e22222;
}

.global-app-header__logout-btn svg {
    width: 22px;
    height: 22px;
}

.app-icons-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 12px;
    direction: rtl;
    align-items: start;
    align-content: start;
    padding: 0 8px 0;
    margin-top: -6px;
}

.app-icon-card {
    display: grid;
    grid-template-rows: 62px minmax(24px, auto);
    align-content: start;
    justify-items: center;
    gap: 10px;
    min-height: 106px;
    padding: 2px;
    border-radius: 24px;
    background: transparent;
    box-shadow: none;
    text-align: center;
    color: var(--text);
    user-select: none;
    -webkit-user-select: none;
}

a.app-icon-card,
.pilgrim-bag-popover__item {
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
}

button.app-icon-card {
    border: 0;
    font: inherit;
    cursor: pointer;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
}

.app-icon-card__icon {
    position: relative;
    width: 62px;
    height: 62px;
    border-radius: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    box-shadow: 0 14px 26px rgba(39, 53, 82, 0.17);
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transition: filter 0.12s ease, box-shadow 0.12s ease;
}

.app-icon-card__icon:active {
    filter: brightness(0.8);
}

.app-icon-card__icon svg {
    display: block;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.app-icon-card__symbol--arrival-location {
    width: 34px !important;
    height: 34px !important;
}

.app-icon-card__label {
    margin-top: 0;
    font-size: 0.68rem;
    line-height: 1.12;
    font-weight: 700;
}

.pilgrim-dashboard--home {
    gap: 0;
    align-content: start;
    min-height: auto;
    overflow-y: auto;
    padding-top: 24px;
    position: relative;
}

.app-icon-card__icon--kaaba {
    background: linear-gradient(180deg, #8f7448 0%, #6e5734 100%);
    color: #fff7e1;
}

.app-icon-card__icon--bus {
    background: linear-gradient(180deg, #4a82e8 0%, #2f66cf 100%);
    color: #eff6ff;
}

.app-icon-card__icon--tent {
    background: linear-gradient(180deg, #1da067 0%, #157f50 100%);
    color: #ecfff4;
}

.app-icon-card__icon--salon {
    background: linear-gradient(180deg, #c78a2d 0%, #ab6d1b 100%);
    color: #fff6e8;
}

.app-icon-card__icon--group {
    background: linear-gradient(180deg, #7a65d6 0%, #5c49b6 100%);
    color: #f4f0ff;
}

.app-icon-card__icon--group-schedule {
    background: linear-gradient(180deg, #d48e35 0%, #b36a13 100%);
    color: #fff7eb;
}

.app-icon-card__icon--technical-support {
    background: linear-gradient(180deg, #2f6cd8 0%, #1f4fb0 100%);
    color: #eef5ff;
}

.app-icon-card__icon--campaign-program {
    background: linear-gradient(180deg, #f3f4f6 0%, #e9edf1 100%);
    color: #846846;
    box-shadow: inset 0 0 0 1px rgba(132, 104, 70, 0.1);
}

.app-icon-card__logo {
    width: 31px;
    height: 31px;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}

.group-join-card {
    gap: 16px;
}

.group-join-hero {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.group-join-hero img {
    display: block;
    width: 100%;
    height: auto;
}

.group-join-form {
    gap: 14px;
}

.group-join-status-wrap {
    display: flex;
    justify-content: center;
    margin-top: -2px;
    margin-bottom: 8px;
}

.group-join-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 106px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    text-align: center;
}

.group-join-status-badge--joined {
    background: rgba(28, 186, 99, 0.16);
    color: #18794b;
}

.group-join-status-badge--waiting {
    background: rgba(243, 99, 99, 0.16);
    color: #b23333;
}

.group-join-form__select select {
    width: 100%;
}

.group-join-form__select {
    margin-top: 14px;
}

.group-join-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.group-join-stats article,
.group-join-supervisor {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.group-join-stats article {
    display: grid;
    gap: 6px;
    padding: 14px 10px;
    text-align: center;
}

.group-join-stats small,
.group-join-supervisor small {
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
}

.group-join-stats strong {
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 800;
}

.group-join-supervisor {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px 16px;
}

.group-join-supervisor div {
    display: grid;
    gap: 4px;
}

.group-join-supervisor strong {
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 700;
}

.group-join-capacity-alert {
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(243, 99, 99, 0.14);
    color: #b23333;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
}

.app-icon-card__icon--locations {
    background: linear-gradient(180deg, #4f8d79 0%, #356756 100%);
    color: #f2fff8;
}

.app-icon-card__icon--card {
    background: linear-gradient(180deg, #d45f66 0%, #b94653 100%);
    color: #fff1f2;
}

.app-icon-card__icon--clinic {
    background: linear-gradient(180deg, #32a6b2 0%, #268490 100%);
    color: #effcff;
}

.app-icon-card__icon--support {
    background: linear-gradient(180deg, #dd5f8f 0%, #b73f6e 100%);
    color: #fff0f7;
}

.app-icon-card__icon--messages {
    background: linear-gradient(180deg, #35d967 0%, #16b94f 100%);
    color: #ffffff;
}

.app-icon-card__icon--phone {
    background: linear-gradient(180deg, #35d967 0%, #16b94f 100%);
    color: #ffffff;
}

.app-icon-card__icon--pilgrim-bag {
    background: linear-gradient(180deg, #b49354 0%, #846846 100%);
    color: #fff8e8;
}

.pilgrim-bag-popover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    pointer-events: none;
    opacity: 0;
    z-index: 1200;
    transition: opacity 0.18s ease;
}

.pilgrim-bag-popover.is-open {
    pointer-events: auto;
    opacity: 1;
}

.pilgrim-bag-popover__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(24, 34, 53, 0.24);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    cursor: pointer;
}

.pilgrim-bag-popover__panel {
    position: relative;
    width: min(100%, 360px);
    padding: 20px 18px 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(24, 34, 53, 0.22);
}

.pilgrim-bag-popover__title {
    margin: 0 0 50px;
    color: var(--text);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
}

.pilgrim-bag-popover__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 12px;
}

.pilgrim-bag-popover__item {
    display: grid;
    justify-items: center;
    gap: 2px;
    min-width: 0;
    color: var(--text);
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.15;
}

.pilgrim-bag-popover__item .app-icon-card__icon {
    width: 62px;
    height: 62px;
    border-radius: 19px;
}

.pilgrim-bag-popover__item .app-icon-card__icon svg {
    width: 44px;
    height: 44px;
}

.app-icon-card__badge {
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    position: absolute;
    top: -8px;
    left: -8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff3b30;
    color: #ffffff;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 900;
    border: 1px solid currentColor;
    box-shadow: 0 5px 10px rgba(36, 24, 18, 0.16);
}

.app-icon-card__icon--qibla {
    background: linear-gradient(180deg, #3a8f84 0%, #286e66 100%);
    color: #effffc;
}

.app-icon-card__icon--adhkar {
    background: linear-gradient(180deg, #4d8f6f 0%, #356c52 100%);
    color: #f1fff6;
}

.app-icon-card__icon--quran {
    background: linear-gradient(180deg, #7b8c4f 0%, #5f6f37 100%);
    color: #f6ffe9;
}

.app-icon-card__icon--sunnah {
    background: linear-gradient(180deg, #4a82e8 0%, #2f66cf 100%);
    color: #eef5ff;
}

.app-icon-card__icon--dua {
    background: linear-gradient(180deg, #32a6b2 0%, #268490 100%);
    color: #effcff;
}

.app-icon-card__icon--whatsapp {
    background: linear-gradient(180deg, #35d967 0%, #16b94f 100%);
    color: #ffffff;
}

.app-icon-card__icon--instructions {
    background: linear-gradient(180deg, #d7b274 0%, #9a6a2e 100%);
    color: #ffffff;
}

.app-icon-card__icon--qr {
    background: linear-gradient(180deg, #1f2937 0%, #0f172a 100%);
    color: #ffffff;
}

.app-icon-card__icon--instructions svg {
    width: 36px;
    height: 36px;
}

.app-icon-card__icon--hajj {
    background: linear-gradient(180deg, #8f7448 0%, #6e5734 100%);
    color: #fff7e1;
}

.service-placeholder-card {
    min-height: 220px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 16px;
    text-align: center;
}

.portal-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 6px 2px;
}

.portal-page-head__main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.portal-page-head h1 {
    margin: 4px 0 0;
    font-size: 1.35rem;
}

.portal-page-head__back {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
    color: var(--text);
    font-size: 2rem;
    line-height: 1;
}

.portal-page-head__action {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
    color: #b42318;
}

.portal-page-head__action svg {
    width: 22px;
    height: 22px;
}

.awareness-message-list {
    display: grid;
    gap: 12px;
    padding: 10px 4px 20px;
}

.whatsapp-group-list {
    display: grid;
    gap: 12px;
    padding: 10px 4px 20px;
}

.pilgrim-dashboard--messages {
    align-content: start;
    padding-top: 8px;
}

.awareness-message-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow:
        inset 0 0 0 1px rgba(120, 134, 159, 0.12),
        0 12px 24px rgba(39, 53, 82, 0.08);
}

.awareness-message-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #35d967 0%, #16b94f 100%);
    color: #ffffff;
}

.awareness-message-card__icon svg {
    width: 32px;
    height: 32px;
}

.awareness-message-card h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.5;
}

.awareness-message-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    white-space: pre-wrap;
}

.awareness-message-card time {
    display: block;
    margin-top: 10px;
    color: #19a66a;
    font-size: 0.82rem;
    font-weight: 800;
}

.whatsapp-group-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 0 0 0 1px rgba(120, 134, 159, 0.12),
        0 12px 24px rgba(39, 53, 82, 0.08);
}

.whatsapp-group-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #35d967 0%, #16b94f 100%);
    color: #ffffff;
}

.whatsapp-group-card__icon svg {
    width: 34px;
    height: 34px;
}

.whatsapp-group-card__body {
    min-width: 0;
}

.whatsapp-group-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.whatsapp-group-card__head h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.45;
}

.whatsapp-group-card__head span {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(22, 185, 79, 0.12);
    color: #128542;
    font-size: 0.72rem;
    font-weight: 800;
}

.whatsapp-group-card p {
    margin: 8px 0 12px;
    color: var(--muted);
    line-height: 1.7;
}

.whatsapp-group-card form {
    display: flex;
    justify-content: center;
}

.whatsapp-group-card__join {
    min-height: 40px;
    padding: 9px 18px;
    margin-inline: auto;
}

.instruction-admin-thumb {
    width: 72px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    background: #f4f6fb;
    border: 1px solid rgba(120, 134, 159, 0.18);
}

.instruction-admin-form > label:not(.full-span) {
    display: none;
}

.instruction-upload-field {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-weight: 800;
}

.instruction-image-uploader {
    position: relative;
    width: 100%;
    min-height: 126px;
    border-radius: 14px;
    border: 1px dashed rgba(154, 106, 46, 0.34);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 247, 232, 0.95), rgba(255, 255, 255, 0.9));
}

.instruction-images-uploader {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.instruction-images-uploader .instruction-image-uploader {
    min-height: 86px;
    aspect-ratio: 1 / 1;
}

.instruction-image-uploader--icon {
    width: 86px;
    min-height: 86px;
    aspect-ratio: 1 / 1;
}

.instruction-image-uploader--icon .instruction-image-uploader__preview {
    object-fit: contain;
    padding: 12px;
}

.instruction-image-uploader__preview {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
}

.instruction-image-uploader__empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #8a704e;
    font-size: 0.82rem;
    text-align: center;
    padding: 8px;
}

.instruction-image-uploader__camera,
.instruction-image-uploader__delete {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    color: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
    cursor: pointer;
}

.instruction-image-uploader__camera {
    inset-inline-start: 8px;
    bottom: 8px;
    background: rgba(15, 23, 42, 0.66);
}

.instruction-image-uploader__delete {
    inset-inline-end: 8px;
    top: 8px;
    background: rgba(153, 27, 27, 0.86);
}

.instruction-image-uploader__camera input,
.instruction-image-uploader__delete input {
    display: none;
}

.instruction-image-uploader__camera svg,
.instruction-image-uploader__delete svg {
    width: 19px;
    height: 19px;
}

.instruction-image-uploader.is-marked-delete::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    z-index: 2;
}

.instruction-image-uploader.is-marked-delete .instruction-image-uploader__delete {
    background: #111827;
}

.instruction-admin-thumb--icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    padding: 6px;
}

.instruction-admin-image-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 24px;
    margin-inline-start: 6px;
    padding: 0 7px;
    border-radius: 999px;
    background: #f1e4cf;
    color: #7b5526;
    font-weight: 900;
}

.instruction-editor-field {
    gap: 8px;
}

.instruction-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.instruction-editor-toolbar button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
}

.instruction-editor {
    min-height: 180px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    line-height: 1.8;
    outline: none;
}

.instruction-editor:focus {
    border-color: rgba(154, 106, 46, 0.45);
    box-shadow: 0 0 0 3px rgba(154, 106, 46, 0.12);
}

.instruction-tabs {
    display: grid;
    gap: 14px;
}

.instruction-tabs__nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.instruction-tabs__tab {
    min-height: 104px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    padding: 14px 12px;
    border: 1px solid rgba(120, 134, 159, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(31, 47, 74, 0.06);
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.instruction-tabs__tab:not(.is-read):not(.is-active) {
    border-color: rgba(154, 106, 46, 0.28);
    background: linear-gradient(180deg, rgba(255, 247, 232, 0.96), rgba(255, 255, 255, 0.82));
    box-shadow: 0 12px 28px rgba(154, 106, 46, 0.1);
}

.instruction-tabs__tab.is-active {
    border-color: rgba(154, 106, 46, 0.42);
    background: #fff7e8;
}

.instruction-tabs__tab.is-read {
    opacity: 0.78;
}

.instruction-tabs__tab-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    color: #9a6a2e;
}

.instruction-tabs__tab-icon img,
.instruction-tabs__tab-icon svg {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.instruction-tabs__tab strong {
    font-size: 0.88rem;
    line-height: 1.35;
}

.instruction-tabs__panels {
    display: grid;
}

.instruction-panel {
    display: none;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(120, 134, 159, 0.16);
    box-shadow: 0 14px 34px rgba(31, 47, 74, 0.08);
}

.instruction-panel.is-active {
    display: block;
}

.instruction-panel__body {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.instruction-panel__body h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.35rem;
}

.instruction-panel__details {
    color: #536179;
    line-height: 1.9;
    font-weight: 700;
}

.instruction-panel__details :is(p, ul, ol) {
    margin-top: 0;
}

.instruction-panel__images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.instruction-panel__images--odd img:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
}

.instruction-panel__images img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(120, 134, 159, 0.16);
    background: #f4f6fb;
}

.contact-directory-list {
    display: grid;
    gap: 12px;
    padding: 10px 4px 20px;
}

.employee-contact-search {
    margin: 0 4px 12px;
}

.employee-contact-search label {
    display: block;
}

.employee-contact-search input {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(214, 225, 238, 0.98);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    font-weight: 800;
    outline: none;
    box-shadow: 0 12px 26px rgba(39, 53, 82, 0.08);
}

.employee-contact-search input:focus {
    border-color: rgba(123, 93, 67, 0.55);
    box-shadow: 0 12px 26px rgba(39, 53, 82, 0.08), 0 0 0 3px rgba(123, 93, 67, 0.12);
}

.contact-directory-empty {
    margin: 0 4px 20px;
}

.contact-directory-count-message {
    margin: 0 4px 12px;
    display: grid;
    gap: 4px;
}

.contact-directory-count-message span {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.contact-directory-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 0 0 0 1px rgba(120, 134, 159, 0.12),
        0 12px 24px rgba(39, 53, 82, 0.08);
}

.contact-directory-card__main {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.contact-directory-card__main strong {
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.4;
}

.contact-directory-card__main span {
    color: #19a66a;
    font-size: 0.88rem;
    font-weight: 800;
}

.contact-directory-card__main small {
    color: var(--muted);
    font-size: 0.86rem;
    direction: ltr;
    text-align: right;
}

.contact-directory-card__mobile {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
    direction: ltr;
    text-align: right;
    text-decoration: none;
}

.contact-directory-card__actions {
    display: flex;
    gap: 8px;
}

.contact-action {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(22, 185, 79, 0.18);
}

.contact-action svg {
    width: 24px;
    height: 24px;
}

.contact-action--call {
    background: linear-gradient(180deg, #35d967 0%, #16b94f 100%);
}

.contact-action--whatsapp {
    background: linear-gradient(180deg, #25d366 0%, #128c3f 100%);
}

.technical-support-page {
    gap: 14px;
}

.technical-support-card {
    display: grid;
    gap: 18px;
    padding: 18px;
}

.technical-support-form textarea {
    width: 100%;
    min-height: 108px;
    resize: vertical;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    padding: 16px 18px;
    color: var(--text);
    font: inherit;
    line-height: 1.8;
}

.technical-support-form textarea:focus {
    outline: none;
    border-color: rgba(26, 115, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(26, 115, 255, 0.12);
}

.technical-support-footer {
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
    padding: 16px 12px 4px;
    border-top: 1px solid rgba(120, 134, 159, 0.14);
}

.technical-support-footer p {
    margin: 0;
    color: #3b4658;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.65;
}

.technical-support-footer__credit {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
}

.technical-support-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.technical-support-contact__phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    direction: ltr;
    color: #243043;
    font-size: 0.95rem;
    font-weight: 900;
}

.technical-support-contact__phone svg {
    width: 20px;
    height: 20px;
    color: #846846;
}

.technical-support-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 2px;
}

.technical-support-action {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(36, 48, 67, 0.14);
}

.technical-support-action svg {
    width: 19px;
    height: 19px;
}

.technical-support-action--call {
    background: linear-gradient(180deg, #35d967 0%, #16b94f 100%);
}

.technical-support-action--whatsapp {
    background: linear-gradient(180deg, #25d366 0%, #128c3f 100%);
}

.technical-support-admin-table td strong,
.technical-support-admin-table td small {
    display: block;
}

.technical-support-admin-table td small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
}

.technical-support-admin-table__message {
    max-width: 460px;
    white-space: pre-wrap;
    line-height: 1.7;
}

.awareness-schedule-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.awareness-target-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.service-placeholder-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #8f7448 0%, #6e5734 100%);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(132, 104, 70, 0.2);
}

.hajj-guide-page {
    display: grid;
    gap: 18px;
    text-align: right;
}

.hajj-guide-page__head {
    display: grid;
    gap: 16px;
}

.hajj-guide-page__eyebrow {
    font-size: 0.72rem;
}

.hajj-guide-page__intro {
    margin: 0;
}

.hajj-guide-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hajj-guide-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.hajj-guide-search {
    position: relative;
    width: 100%;
}

.hajj-guide-search input {
    width: 100%;
    height: 54px;
    border-radius: 20px;
    border: 1px solid rgba(199, 209, 226, 0.9);
    background: rgba(255, 255, 255, 0.94);
    padding: 0 48px 0 16px;
    font-size: 1rem;
    color: var(--text);
}

.hajj-guide-search__icon {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    color: #8f7448;
    font-size: 1rem;
    pointer-events: none;
}

.hajj-guide-accordion {
    display: grid;
    gap: 12px;
}

.hajj-guide-card {
    border-radius: 24px;
    border: 1px solid rgba(214, 220, 232, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 248, 252, 0.98) 100%);
    overflow: hidden;
}

.hajj-guide-card__summary {
    list-style: none;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
}

.hajj-guide-card__summary::-webkit-details-marker {
    display: none;
}

.hajj-guide-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(132, 104, 70, 0.12);
    font-size: 1.2rem;
}

.hajj-guide-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #243043;
}

.campaign-program-card .hajj-guide-card__title {
    font-size: 0.9rem;
}

.campaign-program-card:not(.is-read):not([open]) {
    border-color: rgba(154, 106, 46, 0.28);
    background: linear-gradient(180deg, rgba(255, 247, 232, 0.95), rgba(255, 255, 255, 0.84));
    box-shadow: 0 12px 30px rgba(154, 106, 46, 0.1);
}

.campaign-program-card:not(.is-read):not([open]) .hajj-guide-card__icon {
    background: rgba(154, 106, 46, 0.16);
    color: #7a5523;
}

.campaign-program-card[open],
.campaign-program-card.is-read {
    background: rgba(255, 255, 255, 0.82);
}

.instruction-guide-accordion {
    display: grid;
    gap: 12px;
}

.instruction-guide-card:not(.is-read):not([open]) {
    border-color: rgba(154, 106, 46, 0.28);
    background: linear-gradient(180deg, rgba(255, 247, 232, 0.95), rgba(255, 255, 255, 0.84));
    box-shadow: 0 12px 30px rgba(154, 106, 46, 0.1);
}

.instruction-guide-card[open],
.instruction-guide-card.is-read {
    background: rgba(255, 255, 255, 0.82);
}

.instruction-guide-card__icon img,
.instruction-guide-card__icon svg {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.hajj-guide-card__arrow {
    color: #8f7448;
    transition: transform 0.2s ease;
}

.hajj-guide-card[open] .hajj-guide-card__arrow {
    transform: rotate(180deg);
}

.hajj-guide-card__body {
    display: grid;
    gap: 14px;
    padding: 0 18px 18px;
}

.hajj-guide-card__text {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.hajj-guide-card__list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hajj-guide-card__item {
    position: relative;
    padding-right: 18px;
    line-height: 1.85;
    color: #243043;
}

.hajj-guide-card__item::before {
    content: '';
    position: absolute;
    top: 12px;
    right: 0;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #8f7448;
}

.hajj-guide-card__reference {
    border-top: 1px solid rgba(223, 228, 238, 0.95);
    padding-top: 12px;
    display: grid;
    gap: 6px;
}

.hajj-guide-card__reference strong {
    color: #8f7448;
}

.hajj-guide-card__reference span {
    color: var(--muted);
    line-height: 1.8;
}

.hajj-guide-card__icon--number {
    font-size: 1rem;
    font-weight: 800;
}

.hajj-guide-page.is-summary-mode .hajj-guide-card__item--extra,
.hajj-guide-page.is-summary-mode .hajj-guide-card__text {
    display: none;
}

.campaign-program-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.campaign-program-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(132, 104, 70, 0.08);
    color: #8f7448;
}

.campaign-program-meta__item strong {
    font-size: 0.82rem;
    font-weight: 700;
}

.campaign-program-meta__item span {
    color: #243043;
    font-size: 0.92rem;
    font-weight: 800;
}

.campaign-program-body {
    color: #243043;
    line-height: 1.95;
    font-size: 0.98rem;
}


.campaign-program-body p {
    margin: 0 0 10px;
}

.campaign-program-body ul,
.campaign-program-body ol {
    margin: 0;
    padding-right: 18px;
}

.campaign-editor-field {
    display: grid;
    gap: 10px;
}

.campaign-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.campaign-editor-toolbar__btn {
    min-width: 74px;
    padding: 10px 12px;
    border-radius: 14px;
}

.campaign-editor {
    min-height: 240px;
    border-radius: 22px;
    border: 1px solid rgba(199, 209, 226, 0.9);
    background: rgba(255, 255, 255, 0.94);
    padding: 16px;
    color: var(--text);
    line-height: 1.95;
    outline: none;
}

.campaign-editor:focus {
    border-color: rgba(132, 104, 70, 0.4);
    box-shadow: 0 0 0 4px rgba(132, 104, 70, 0.08);
}

.dua-guide-page {
    --dua-font-scale: 1;
}

.dua-guide-toolbar {
    align-items: center;
}

.dua-guide-font-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.dua-guide-font-btn {
    min-width: 52px;
    height: 44px;
    border-radius: 16px;
    padding: 0 14px;
}

.dua-guide-entries {
    display: grid;
    gap: 14px;
}

.dua-entry {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(245, 247, 251, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: inset 0 0 0 1px rgba(214, 220, 232, 0.75);
}

.dua-entry__label {
    color: #8f7448;
    font-size: 0.86rem;
    font-weight: 700;
}

.dua-entry__text {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(132, 104, 70, 0.08);
    color: #202b3c;
    font-size: calc(1.02rem * var(--dua-font-scale));
    line-height: 2;
    font-weight: 700;
}

.dua-entry__note {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.dua-entry__footer {
    display: grid;
    gap: 10px;
}

.dua-entry__reference {
    display: grid;
    gap: 4px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 0.92rem;
}

.dua-entry__reference strong {
    color: #8f7448;
}

.dua-entry__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
}

.dua-entry__action {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 16px;
    padding: 0;
    display: grid;
    place-items: center;
    font-size: 1.08rem;
    line-height: 1;
}

.dua-entry__action span {
    display: block;
    transform: translateY(-1px);
}

.dua-entry__action svg {
    width: 22px;
    height: 22px;
    display: block;
}

@media (max-width: 720px) {
    .dua-guide-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .dua-guide-font-controls {
        justify-content: flex-end;
    }

    .dua-guide-font-btn {
        min-width: 58px;
    }

    .dua-entry__actions {
        justify-content: flex-start;
    }
}

.pilgrim-dashboard--qibla {
    gap: 16px;
    align-content: start;
    padding-top: 10px;
}

.pilgrim-dashboard--profile {
    gap: 14px;
    align-content: start;
    padding-top: 8px;
}

.profile-card,
.profile-upload-card {
    display: grid;
    gap: 16px;
    padding: 18px 16px 20px;
}

.profile-card__top {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.profile-avatar-form {
    position: relative;
    width: 86px;
    height: 86px;
}

.profile-avatar-form__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.profile-avatar-card {
    width: 86px;
    height: 86px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, rgba(132, 104, 70, 0.12), rgba(132, 104, 70, 0.22));
    box-shadow: inset 0 0 0 1px rgba(132, 104, 70, 0.12);
    display: block;
    cursor: pointer;
}

.profile-avatar-card__image,
.profile-avatar-card__placeholder {
    width: 100%;
    height: 100%;
}

.profile-avatar-card__image {
    object-fit: cover;
    display: block;
}

.profile-avatar-card__placeholder {
    display: grid;
    place-items: center;
    color: #8b6d49;
}

.profile-avatar-card__placeholder svg {
    width: 42px;
    height: 42px;
}

.profile-avatar-card__camera,
.profile-avatar-form__delete {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 18px rgba(39, 53, 82, 0.14);
    z-index: 2;
}

.profile-avatar-card__camera {
    right: 6px;
    bottom: 6px;
    color: #846846;
}

.profile-avatar-form__delete {
    top: -8px;
    left: -8px;
    border: 0;
    padding: 0;
    color: #b23333;
    cursor: pointer;
}

.profile-avatar-card__camera svg,
.profile-avatar-form__delete svg {
    width: 17px;
    height: 17px;
}

.profile-card__headline {
    display: grid;
    gap: 4px;
}

.profile-card__headline h2,
.profile-upload-card__head h3 {
    margin: 0;
    font-size: 1.15rem;
}

.profile-card__headline span,
.profile-upload-card__head p {
    color: var(--muted);
}

.profile-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.profile-data-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.profile-data-item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.54);
}

.profile-data-item--plain {
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: start;
    min-height: 72px;
    padding: 12px 10px;
}

.profile-data-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(132, 104, 70, 0.1);
    color: #8b6d49;
}

.profile-data-item__icon svg {
    width: 20px;
    height: 20px;
}

.profile-data-item small {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.75rem;
}

.profile-data-item strong {
    display: block;
    line-height: 1.45;
    font-size: 0.92rem;
    word-break: break-word;
}

.profile-registration-group-card {
    display: grid;
    gap: 14px;
    padding: 18px 16px 20px;
}

.profile-registration-group-card__head {
    display: grid;
    gap: 4px;
}

.profile-registration-group-card__head h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.15rem;
}

.profile-registration-group-table {
    display: grid;
    grid-template-columns: minmax(112px, 1.4fr) minmax(92px, 1fr) 58px 44px;
    gap: 8px;
    align-items: center;
}

.profile-registration-group-table__head {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.profile-registration-group-table__cell {
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.1);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 700;
}

.profile-registration-group-table__name {
    line-height: 1.45;
}

.profile-registration-group-table__cell form {
    margin: 0 auto;
}

.profile-registration-group-open {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(132, 104, 70, 0.14);
    color: var(--brand-color);
    cursor: pointer;
}

.profile-registration-group-open svg {
    width: 17px;
    height: 17px;
}

.profile-registration-group-current,
.profile-registration-group-empty {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.profile-registration-group-empty {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
}

.profile-upload-card__head {
    display: grid;
    gap: 6px;
}

.qibla-card {
    display: grid;
    gap: 16px;
    padding: 18px 16px 20px;
}

.qibla-card__head {
    display: grid;
    gap: 8px;
    text-align: center;
}

.qibla-card__head h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text);
}

.qibla-card__note {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #7d879c;
}

.qibla-card__start {
    width: 100%;
}

.qibla-card__status {
    border-radius: 18px;
    padding: 12px 14px;
    background: #f3f6fc;
    color: #42506a;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.7;
}

.qibla-card__status[data-state="success"] {
    background: #ecf8f0;
    color: #1f7a47;
}

.qibla-card__status[data-state="error"] {
    background: #fff0f0;
    color: #bf3f47;
}

.qibla-compass {
    position: relative;
    width: min(100%, 290px);
    aspect-ratio: 1;
    margin: 0 auto;
}

.qibla-compass__ring,
.qibla-compass__ticks {
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.qibla-compass__ring {
    background:
        radial-gradient(circle at center, #ffffff 0 36%, transparent 36.5%),
        linear-gradient(180deg, #fdfefe 0%, #edf3fc 100%);
    box-shadow:
        inset 0 0 0 1px rgba(122, 138, 167, 0.16),
        0 18px 36px rgba(47, 68, 104, 0.1);
}

.qibla-compass__ticks {
    inset: 10px;
    background:
        repeating-conic-gradient(
            from 0deg,
            rgba(122, 138, 167, 0.38) 0deg 2deg,
            transparent 2deg 15deg
        );
    -webkit-mask: radial-gradient(circle, transparent 0 67%, #000 67.8% 100%);
    mask: radial-gradient(circle, transparent 0 67%, #000 67.8% 100%);
}

.qibla-compass__labels {
    position: absolute;
    inset: 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: #6e7d97;
}

.qibla-compass__label {
    position: absolute;
}

.qibla-compass__label--n {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.qibla-compass__label--e {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.qibla-compass__label--s {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.qibla-compass__label--w {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.qibla-compass__needle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 114px;
    transform: translateX(-50%);
    transform-origin: 50% 86%;
    transition: transform 0.18s linear;
}

.qibla-compass__needle::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 74px solid #8f7448;
    filter: drop-shadow(0 8px 14px rgba(143, 116, 72, 0.28));
}

.qibla-compass__needle-tail {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    width: 6px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(143, 116, 72, 0.15), rgba(143, 116, 72, 0.65));
}

.qibla-compass__kaaba {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%) translateY(-108px);
    transform-origin: center center;
    color: #111827;
    transition: transform 0.18s linear;
}

.qibla-compass__kaaba svg {
    width: 100%;
    height: 100%;
}

.qibla-compass__center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow:
        0 0 0 5px rgba(143, 116, 72, 0.14),
        0 4px 10px rgba(43, 58, 89, 0.18);
}

.qibla-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.qibla-meta__item {
    display: grid;
    gap: 6px;
    padding: 14px 12px;
    border-radius: 18px;
    background: #f7f9fd;
    text-align: center;
}

.qibla-meta__item span {
    font-size: 0.8rem;
    color: #7f8aa3;
}

.qibla-meta__item strong {
    font-size: 1.15rem;
    color: var(--text);
}

.pilgrim-dashboard--adhkar {
    gap: 20px;
    align-content: start;
    padding-top: 24px;
}

.app-icons-grid--adhkar {
    padding-top: 12px;
}

.adhkar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
}

.adhkar-card {
    display: grid;
    justify-items: center;
    gap: 12px;
    min-height: 150px;
    padding: 16px 12px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow:
        inset 0 0 0 1px rgba(120, 134, 159, 0.1),
        0 14px 28px rgba(39, 53, 82, 0.08);
    text-align: center;
    color: var(--text);
}

.adhkar-card__icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 12px 24px rgba(39, 53, 82, 0.16);
}

.adhkar-card__icon svg {
    width: 30px;
    height: 30px;
}

.adhkar-card__label {
    font-size: 0.84rem;
    line-height: 1.5;
    font-weight: 700;
}

.adhkar-card__icon--quran {
    background: linear-gradient(180deg, #7b8c4f 0%, #5f6f37 100%);
}

.adhkar-card__icon--sunnah {
    background: linear-gradient(180deg, #4a82e8 0%, #2f66cf 100%);
}

.adhkar-card__icon--dua {
    background: linear-gradient(180deg, #32a6b2 0%, #268490 100%);
}

.adhkar-card__icon--hajj {
    background: linear-gradient(180deg, #8f7448 0%, #6e5734 100%);
}

.service-locations-card {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.service-locations-card__head h2 {
    margin: 8px 0 0;
    font-size: 1.45rem;
}

.service-locations-card__select {
    display: block;
}

.service-locations-card--arrival {
    gap: 14px;
}

.service-locations-arrival-form {
    display: grid;
    gap: 18px;
}

.arrival-location-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.arrival-location-option {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 18px;
    border-radius: 16px;
    background: #ead8bb;
    color: #8b6931;
    font-weight: 700;
    box-shadow: inset 0 0 0 1px rgba(139, 105, 49, 0.08);
    cursor: pointer;
}

.arrival-location-options--employee .arrival-location-option {
    cursor: default;
}

.arrival-location-option--employee .arrival-location-option__dot::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    background: #8b6931;
}

.arrival-location-option.is-locked {
    background: #edf0f4;
    color: #9aa3af;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
    cursor: not-allowed;
    opacity: 0.72;
}

.arrival-location-option.is-locked .arrival-location-option__dot {
    border-color: rgba(148, 163, 184, 0.45);
    background: #f8fafc;
}

.arrival-location-option.is-locked .arrival-location-option__tool {
    color: #9aa3af;
    border-color: rgba(148, 163, 184, 0.22);
    background: rgba(248, 250, 252, 0.85);
}

.arrival-location-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.arrival-location-option__dot {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid rgba(139, 105, 49, 0.55);
    background: #fff;
    flex: 0 0 22px;
    position: relative;
}

.arrival-location-option__label {
    flex: 1 1 auto;
    text-align: right;
    font-size: 1.05rem;
    letter-spacing: 0;
}

.arrival-location-option__tools {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.arrival-location-option__tool {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    border: 1px solid rgba(139, 105, 49, 0.18);
    background: rgba(255, 255, 255, 0.9);
    color: #8b6931;
    display: inline-grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
}

.arrival-location-option__tool svg {
    width: 16px;
    height: 16px;
}

.arrival-location-option__tool.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.arrival-location-option--site {
    padding-inline-start: 14px;
}

.arrival-location-option__main {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    font: inherit;
    text-align: right;
    cursor: pointer;
}

.arrival-location-option--site.is-active {
    box-shadow: inset 0 0 0 2px rgba(139, 105, 49, 0.24);
    background: #e4cfab;
}

.arrival-location-option--site.is-active .arrival-location-option__dot::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    background: #8b6931;
}

.arrival-location-option input:checked + .arrival-location-option__dot::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 999px;
    background: #8b6931;
}

.service-locations-arrival-form__submit {
    justify-self: center;
    min-width: 180px;
}

.arrival-change-confirm[hidden] {
    display: none;
}

.arrival-change-confirm {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(20, 25, 36, 0.42);
}

.arrival-change-confirm__panel {
    width: min(100%, 360px);
    padding: 22px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(20, 25, 36, 0.22);
    text-align: center;
}

.arrival-change-confirm__panel h3 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 1.08rem;
}

.arrival-change-confirm__panel p {
    margin: 0;
    color: var(--text);
    line-height: 1.8;
    white-space: pre-line;
    font-weight: 700;
}

.arrival-change-confirm__actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.service-location-details--arrival[hidden] {
    display: none;
}

.service-location-details {
    padding: 18px;
    border-radius: 24px;
    background: rgba(244, 247, 252, 0.94);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
}

.service-location-details__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.service-location-details__head h3 {
    margin: 0;
    font-size: 1.2rem;
}

.portal-inline-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 24px 16px;
}

.portal-inline-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 25, 36, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.portal-inline-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    display: grid;
    gap: 16px;
    padding: 22px 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 50px rgba(47, 59, 86, 0.22);
}

.portal-inline-modal__head h2 {
    margin: 0;
    font-size: 1.3rem;
    text-align: center;
    color: var(--text);
}

.portal-inline-modal__notice {
    margin: 0;
    color: #c53737;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.portal-inline-modal__form {
    display: grid;
    gap: 14px;
}

.portal-inline-modal__form label {
    display: grid;
    gap: 10px;
    color: var(--text);
    font-weight: 700;
}

.portal-inline-modal__form select {
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(145, 156, 180, 0.26);
    border-radius: 18px;
    background: rgba(248, 250, 255, 0.98);
    padding: 13px 16px;
    color: var(--text);
    font: inherit;
    outline: none;
}

.booking-reminder {
    position: fixed;
    inset: 0;
    z-index: 11500;
    display: grid;
    align-items: end;
    justify-items: center;
    padding: 20px;
    pointer-events: none;
}

.booking-reminder__backdrop {
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(248, 249, 252, 0.18);
    pointer-events: auto;
}

.booking-reminder__panel {
    position: relative;
    width: min(520px, 100%);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(132, 104, 70, 0.16);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 22px 60px rgba(31, 47, 74, 0.2);
    pointer-events: auto;
}

.booking-reminder__dot {
    width: 18px;
    height: 18px;
    margin-top: 7px;
    border-radius: 999px;
    background: rgba(132, 104, 70, 0.58);
    box-shadow: 0 0 0 8px rgba(132, 104, 70, 0.1);
}

.booking-reminder__content {
    display: grid;
    gap: 4px;
}

.booking-reminder__content strong {
    color: #5f4525;
    font-size: 1.12rem;
    font-weight: 900;
    line-height: 1.8;
    white-space: pre-line;
}

.booking-reminder__actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.booking-reminder__actions .primary-btn,
.booking-reminder__actions .ghost-btn {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 16px;
    font-size: 0.94rem;
}

.service-location-details__map {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    color: #fff;
    background: var(--brand-color);
}

.service-location-details__map svg {
    width: 20px;
    height: 20px;
}

.service-location-details__map.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.service-location-details__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service-location-details__stack {
    display: grid;
    gap: 10px;
}

.service-location-details__image {
    margin: 0 0 4px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.72);
    aspect-ratio: 16 / 9;
}

.service-location-details__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.service-location-details__item,
.service-location-details__empty {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.service-location-details__item small {
    display: block;
    color: var(--muted);
    margin-bottom: 6px;
}

.service-location-details__item strong {
    color: var(--text);
    font-size: 0.98rem;
}

.service-location-details__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted);
}

.service-location-details__line {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.service-location-details__line-label {
    color: var(--muted);
    font-size: 0.92rem;
}

.service-location-details__line-value {
    color: var(--text);
    font-size: 0.98rem;
    text-align: center;
    min-width: 0;
}

.service-location-details__line--address .service-location-details__line-value {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.5;
}

.service-location-details--sacred .service-location-details__line--contact .service-location-details__action[href^="tel:"] {
    display: none;
}

.service-location-details__line--contact .service-location-details__line-value {
    text-align: center;
}

.service-location-details--centered .service-location-details__line-value {
    text-align: center;
}

.pilgrim-dashboard--quran-frame {
    padding-bottom: 0;
}

.app-stage--quran-full {
    min-height: 100%;
    height: 100%;
    padding: 0 0 calc(var(--pilgrim-bottom-nav-space) + 10px);
    overflow: hidden;
    box-sizing: border-box;
}

.app-stage.app-stage--quran-full:has(.pilgrim-bottom-nav) {
    padding-bottom: calc(var(--pilgrim-bottom-nav-space) + 16px);
}

.quran-full-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    background: #ffffff;
}

.quran-frame-card {
    display: grid;
    gap: 10px;
    align-content: center;
    min-height: calc(100vh - 180px);
}

.quran-frame-card__head {
    display: grid;
    justify-items: center;
    gap: 0;
}

.quran-frame-card__head .eyebrow {
    margin: 0;
}

.quran-frame-card__head h2 {
    display: none;
}

.quran-frame-card__viewer {
    position: relative;
    width: min(100%, 980px);
    min-height: calc(100vh - 252px);
    justify-self: center;
    align-self: center;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.quran-frame-card__viewer iframe {
    width: 100%;
    min-height: calc(100vh - 300px);
    border: 0;
    background: #fff;
}

.service-location-details__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.service-location-details__action {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(139, 105, 49, 0.12);
    color: #8b6931;
    display: inline-grid;
    place-items: center;
}

.service-location-details__action svg {
    width: 18px;
    height: 18px;
}

.service-location-details__action.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.pilgrim-dashboard--quran {
    gap: 18px;
    align-content: start;
    padding-top: 18px;
}

.quran-viewer-card {
    display: grid;
    gap: 14px;
    padding: 14px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow:
        inset 0 0 0 1px rgba(120, 134, 159, 0.1),
        0 16px 30px rgba(39, 53, 82, 0.08);
}

.quran-viewer-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.quran-viewer-card__head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.quran-viewer-card__open {
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(132, 104, 70, 0.12);
    color: var(--brand-color);
    font-size: 0.8rem;
    font-weight: 700;
}

.quran-viewer-frame {
    width: 100%;
    height: calc(100vh - 250px);
    min-height: 480px;
    border: 0;
    border-radius: 18px;
    background: #fff;
}

.seat-box.is-booked {
    background: #d94d4d;
    color: #ffffff;
    cursor: not-allowed;
}

.seat-box--profiled {
    min-height: 72px;
    padding: 8px 6px;
}

.seat-box__profile {
    width: 100%;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 2px;
    text-align: center;
}

.seat-box__profile-number {
    color: #1458c8;
    font-size: 1rem;
    line-height: 1.1;
}

.seat-box__profile-name {
    color: #ffffff;
    font-size: 0.72rem;
    line-height: 1.2;
    font-weight: 700;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seat-box__profile-meta {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.68rem;
    line-height: 1.1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seat-box.is-booked .seat-box__profile-number,
.seat-box.is-booked .camp-room-seat__number,
.seat-box.is-booked .seat-box__profile-name,
.seat-box.is-booked .camp-room-seat__name,
.seat-box.is-booked .seat-box__profile-meta,
.seat-box.is-booked .camp-room-seat__meta {
    color: #ffffff;
}

.admin-page {
    overflow: auto;
}

.admin-desktop--single {
    grid-template-columns: minmax(0, 1fr);
}

.admin-shell {
    min-height: calc(100vh - 40px);
    padding: 68px 28px 28px;
    display: grid;
    place-items: start center;
}

.admin-modal-page {
    background:
        radial-gradient(circle at top right, rgba(26, 115, 255, 0.12), transparent 24%),
        radial-gradient(circle at bottom left, rgba(37, 164, 108, 0.1), transparent 22%),
        rgba(20, 33, 56, 0.14);
}

.admin-desktop {
    min-height: calc(100vh - 40px);
    padding: 68px 28px 28px;
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: start;
    direction: rtl;
}

.admin-panel {
    width: min(100%, 1100px);
    min-width: 0;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 48px rgba(39, 53, 82, 0.12);
    border-radius: 32px;
    padding: 28px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.admin-panel--wide {
    width: 100%;
    flex: 1 1 auto;
    direction: rtl;
}

.admin-modal-panel {
    width: min(100%, 980px);
    max-height: calc(100vh - 56px);
    overflow: auto;
    border-radius: 34px;
    box-shadow:
        0 26px 70px rgba(18, 28, 46, 0.18),
        0 8px 24px rgba(18, 28, 46, 0.08);
}

.admin-inline-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 28px;
}

.admin-inline-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(26, 115, 255, 0.08), transparent 24%),
        radial-gradient(circle at bottom left, rgba(37, 164, 108, 0.08), transparent 22%),
        rgba(20, 33, 56, 0.16);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.admin-inline-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 980px);
}

.admin-inline-modal__panel--pilgrim-edit {
    width: min(100%, 1280px);
}

.admin-inline-modal__panel--wide {
    width: min(100%, 1100px);
}

.admin-sidebar {
    width: 280px;
    flex: 0 0 280px;
    position: sticky;
    top: 28px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 48px rgba(39, 53, 82, 0.12);
    border-radius: 28px;
    padding: 22px 18px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    direction: rtl;
}

.admin-sidebar-toggle,
.admin-sidebar-mobile-toggle,
.admin-sidebar-overlay {
    display: none;
}

.admin-sidebar-mobile-toggle {
    position: fixed;
    top: 54px;
    right: 14px;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 30px rgba(39, 53, 82, 0.14);
    border: 1px solid rgba(210, 219, 233, 0.95);
    z-index: 1200;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    flex-direction: column;
}

.admin-sidebar-mobile-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #5d4a30;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.admin-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(36, 48, 67, 0.26);
    z-index: 1180;
    cursor: pointer;
}

.admin-sidebar__head h2 {
    margin: 10px 0 0;
    font-size: 1.5rem;
}

.admin-sidebar__nav {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.admin-sidebar__nav a {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(238, 242, 248, 0.9);
    font-weight: 500;
    display: block;
}

.admin-sidebar__nav a.is-active {
    background: rgba(27, 114, 255, 0.12);
    color: #1458c8;
}

.admin-sidebar__group {
    display: grid;
    gap: 10px;
}

.admin-sidebar__group summary {
    list-style: none;
}

.admin-sidebar__group summary::-webkit-details-marker {
    display: none;
}

.admin-sidebar__group-toggle {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(238, 242, 248, 0.9);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.admin-sidebar__group.is-open .admin-sidebar__group-toggle,
.admin-sidebar__group[open] .admin-sidebar__group-toggle {
    background: rgba(27, 114, 255, 0.1);
    color: #1458c8;
}

.admin-sidebar__group-arrow {
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.admin-sidebar__group[open] .admin-sidebar__group-arrow {
    transform: rotate(180deg);
}

.admin-sidebar__group-links {
    display: grid;
    gap: 8px;
    padding-right: 12px;
}

.admin-sidebar__group-links a {
    font-size: 0.95rem;
}

.permissions-role-picker {
    margin-bottom: 18px;
}

.permissions-role-picker select {
    width: min(320px, 100%);
    height: 52px;
    border-radius: 18px;
    border: 1px solid rgba(70, 78, 96, 0.28);
    background: #fff;
    padding: 0 18px;
    font: inherit;
}

.permissions-table-wrap {
    overflow-x: auto;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.permissions-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
}

.permissions-table th,
.permissions-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid rgba(120, 134, 159, 0.16);
    border-left: 1px solid rgba(120, 134, 159, 0.16);
}

.permissions-table th:first-child,
.permissions-table td:first-child {
    border-right: 0;
    text-align: right;
    font-weight: 700;
    color: #253754;
    min-width: 210px;
}

.permissions-table th:last-child,
.permissions-table td:last-child {
    border-left: 0;
}

.permissions-table thead th {
    font-size: 0.95rem;
    background: rgba(245, 247, 251, 0.95);
}

.permissions-table input[type='checkbox'] {
    width: 18px;
    height: 18px;
    accent-color: #9a7a51;
}

.permissions-submit {
    margin-top: 18px;
}

.permissions-reassign-select {
    width: 190px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(70, 78, 96, 0.24);
    background: rgba(255, 255, 255, 0.92);
    color: #1f2937;
    font-family: inherit;
    font-size: 13px;
    padding: 0 12px;
}

.admin-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.admin-head__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-head-pdf-upload {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-head-pdf-upload__button {
    cursor: pointer;
    flex: 0 0 auto;
}

.admin-head-pdf-upload__button input {
    display: none;
}

.admin-head-pdf-upload__button span {
    display: grid;
    place-items: center;
}

.admin-head-pdf-upload__text {
    color: var(--muted);
    font-weight: 800;
    white-space: nowrap;
}

.admin-form-errors {
    margin: 8px 0 0;
    padding-inline-start: 18px;
}

.admin-form-errors li + li {
    margin-top: 4px;
}

.admin-head-map-upload {
    margin: 0;
    display: inline-flex;
}

.admin-head-map-upload .icon-btn {
    cursor: pointer;
}

.group-schedule-editor {
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(132, 104, 104, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
}

.group-schedule-editor__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--heading-color);
    font-weight: 800;
}

.group-schedule-editor__rows {
    display: grid;
    gap: 7px;
}

.group-schedule-editor__row {
    display: grid;
    grid-template-columns: minmax(150px, 1.2fr) minmax(120px, 0.8fr) minmax(130px, 0.9fr) minmax(110px, 0.7fr) 42px;
    gap: 8px;
    align-items: end;
}

.group-schedule-editor__row label,
.group-schedule-editor__field {
    margin: 0;
}

.group-schedule-editor__row select,
.group-schedule-editor__row input {
    min-height: 40px;
    padding-block: 8px;
}

.group-schedule-editor__delete {
    width: 40px;
    height: 40px;
    align-self: end;
}

.group-schedule-editor__delete:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.group-schedule-editor__add {
    width: 40px;
    height: 40px;
    justify-self: center;
}

.admin-form .admin-submit {
    justify-items: center;
    text-align: center;
}

@media (max-width: 900px) {
    .group-schedule-editor__row {
        grid-template-columns: 1fr 1fr;
    }

    .group-schedule-editor__delete {
        grid-column: 1 / -1;
        justify-self: center;
    }
}

.admin-head__actions--pilgrims {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.admin-head__actions--pilgrims form {
    margin: 0;
    flex: 0 0 auto;
}

.admin-head__actions--pilgrims .icon-btn {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #ffffff;
    background: var(--brand-color);
    border: 0;
    box-shadow: 0 8px 18px var(--brand-shadow);
}

.admin-head h1 {
    margin: 10px 0 0;
    font-size: 2rem;
}

.icon-btn {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand-color);
    box-shadow: 0 10px 24px var(--brand-shadow);
}

.icon-btn--soft {
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-color);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.16);
    font-size: 0.95rem;
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

.toolbar-upload-form {
    margin: 0;
}

.hidden-upload-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.toolbar-hint {
    margin: -6px 0 18px;
    color: var(--muted);
    font-size: 0.95rem;
}

.pilgrims-summary-hint {
    margin-top: 10px;
    margin-bottom: 0;
    color: #b2945a;
    font-weight: 700;
}

.pilgrim-filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: end;
    margin: 0 0 18px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.1);
}

.pilgrim-filters-bar__field select,
.pilgrim-filters-bar__field input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    padding: 9px 10px;
    color: var(--text);
    outline: none;
    min-width: 0;
    font-size: 0.8rem;
}

.pilgrim-filters-bar__field {
    flex: 0 0 108px;
    min-width: 108px;
    overflow: hidden;
}

.pilgrim-filters-bar__field--search {
    flex: 0 1 240px;
    min-width: 220px;
}

.pilgrim-filters-bar__field select,
.pilgrim-filters-bar__field input {
    text-overflow: ellipsis;
}

.pilgrim-filters-bar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    align-self: end;
    white-space: nowrap;
    flex: 0 0 auto;
}

.users-filters-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    align-items: center;
    padding: 12px;
}

.users-filters-bar .pilgrim-filters-bar__field {
    flex-basis: 128px;
    min-width: 128px;
}

.users-filters-bar .users-filters-bar__search {
    flex: 0 0 260px;
    min-width: 260px;
}

.users-filters-bar__actions .primary-btn,
.users-filters-bar__actions .ghost-btn {
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 14px;
    font-size: 0.8rem;
}

.admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-form label {
    display: grid;
    gap: 10px;
    font-weight: 500;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-toolbar select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    padding: 14px 16px;
    color: var(--text);
    outline: none;
}

.admin-form textarea {
    resize: vertical;
    min-height: 120px;
}

.admin-form--pilgrim-edit {
    grid-template-columns: 1fr;
    gap: 14px;
    font-size: 0.88rem;
}

.admin-form--tent-edit {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-form--arafah-hall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-form--arafah-create {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pilgrim-edit-shell {
    display: grid;
    gap: 12px;
}

.pilgrim-edit-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.pilgrim-edit-hero {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.pilgrim-edit-photo-card {
    display: grid;
    justify-items: center;
}

.pilgrim-edit-photo-card__frame {
    width: 142px;
    height: 196px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: rgba(233, 237, 244, 0.9);
    box-shadow: inset 0 0 0 1px rgba(153, 119, 72, 0.55);
}

.pilgrim-edit-photo-card__frame.is-marked-delete::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(190, 57, 57, 0.18);
    pointer-events: none;
}

.pilgrim-edit-photo-card__frame img,
.pilgrim-edit-photo-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pilgrim-edit-photo-card__placeholder {
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 700;
    background: rgba(239, 242, 247, 0.94);
}

.pilgrim-edit-photo-card__actions {
    position: absolute;
    top: 10px;
    inset-inline: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pilgrim-edit-photo-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 18px rgba(26, 35, 58, 0.14);
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
}

.pilgrim-edit-photo-card__icon--delete {
    color: #b65353;
}

.pilgrim-edit-photo-card__icon.is-disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.pilgrim-edit-photo-card__delete-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pilgrim-edit-personal-card,
.pilgrim-edit-block {
    padding: 12px 12px;
    border-radius: 16px;
    background: rgba(244, 247, 252, 0.94);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
}

.pilgrim-edit-personal-card h3,
.pilgrim-edit-block h3 {
    margin: 0 0 10px;
    color: #e6891b;
    font-size: 1.05rem;
    font-weight: 800;
    text-align: center;
}

.pilgrim-edit-personal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.pilgrim-edit-personal-grid label,
.pilgrim-edit-block label {
    display: grid;
    gap: 5px;
    font-weight: 600;
}

.admin-form--pilgrim-edit input,
.admin-form--pilgrim-edit select,
.admin-form--pilgrim-edit textarea {
    min-height: 40px;
    border-radius: 12px;
    padding: 9px 11px;
    font-size: 0.9rem;
}

.pilgrim-edit-assignment-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.pilgrim-edit-block {
    display: grid;
    gap: 8px;
    min-height: 0;
    align-content: start;
}

.pilgrim-edit-block--group {
    grid-column: auto;
}

.hall-zone-editor {
    display: grid;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(244, 247, 252, 0.94);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.16);
}

.hall-zone-editor__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-weight: 800;
    color: #4b5563;
}

.hall-zone-editor__rows {
    display: grid;
    gap: 8px;
}

.hall-zone-editor--inline {
    align-items: start;
}

.hall-zone-row {
    display: grid;
    grid-template-columns: minmax(90px, 1.05fr) repeat(3, minmax(96px, 1fr)) 52px 36px;
    gap: 8px;
    align-items: center;
}

.hall-zone-row--placeholder {
    align-items: center;
}

.hall-zone-row--placeholder label {
    gap: 0;
}

.hall-zone-row input,
.hall-zone-row select {
    min-height: 36px;
    height: 36px;
    padding-block: 6px;
}

.hall-zone-row [data-remove-zone] {
    align-self: center;
    justify-self: center;
}

.hall-zone-seat-preview {
    position: relative;
    width: 48px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    box-shadow:
        inset 0 0 0 1px rgba(120, 134, 159, 0.18),
        0 8px 18px rgba(15, 23, 42, 0.08);
}

.hall-zone-seat-preview::before {
    content: "";
    position: absolute;
    inset: 8px 13px 9px;
    border-radius: 7px;
    background: rgba(132, 104, 70, 0.16);
    border: 2px solid var(--brand-color);
}

.hall-zone-seat-preview::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 4px;
    border-radius: 999px;
    background: var(--brand-color);
    left: 14px;
    top: 5px;
}

.hall-zone-seat-preview.is-down::after {
    top: auto;
    bottom: 5px;
}

.hall-zone-seat-preview.is-right::after,
.hall-zone-seat-preview.is-left::after {
    width: 4px;
    height: 20px;
    top: 8px;
}

.hall-zone-seat-preview.is-right::after {
    left: auto;
    right: 7px;
}

.hall-zone-seat-preview.is-left::after {
    left: 7px;
}

.hall-zone-editor__add {
    justify-self: center;
}

.hall-zone-editor__footer {
    display: grid;
    grid-template-columns: minmax(160px, max-content) 1fr;
    gap: 10px;
    align-items: center;
}

.hall-zone-editor__footer .hall-zone-editor__add {
    justify-self: center;
}

.hall-zone-actual-count {
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 12px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #b91c1c;
    font-weight: 900;
}

.hall-zone-actual-count span {
    font-size: 0.78rem;
}

.hall-zone-actual-count strong {
    font-size: 1rem;
}

.hall-zone-actual-count.is-match {
    color: #15803d;
}

.hall-zone-editor__hint {
    margin: 0;
    color: #6b7280;
    font-size: 0.82rem;
}

.hall-nationality-picker__main {
    display: grid;
    gap: 8px;
}

.hall-nationality-picker__selected {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 34px;
}

.pilgrim-edit-note {
    margin: 0;
    color: var(--muted);
    text-align: center;
    font-weight: 500;
}

.pilgrim-edit-submit {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.admin-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.admin-toolbar--single {
    max-width: 320px;
}

.full-span {
    grid-column: 1 / -1;
}

.admin-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-submit p {
    margin: 0;
    color: var(--muted);
}

.credentials-card {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(220, 245, 231, 0.95);
    margin-bottom: 16px;
}

.credentials-card strong,
.recent-grid article strong {
    display: block;
    margin-bottom: 6px;
}

.alert.success {
    background: #edf9f1;
    color: #23734b;
}

.recent-list {
    margin-top: 26px;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.recent-grid article {
    padding: 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.65);
}

.recent-grid article span {
    display: block;
    color: var(--muted);
    margin-top: 4px;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.dashboard-sections-stack {
    display: grid;
    gap: 22px;
}

.dashboard-section {
    padding: 24px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 42px rgba(39, 53, 82, 0.09);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.dashboard-section__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.dashboard-section__head h2 {
    margin: 0;
    font-size: 1.45rem;
}

.dashboard-section__head p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.dashboard-section--pilgrims {
    background:
        radial-gradient(circle at top right, rgba(123, 93, 67, 0.12), transparent 26%),
        rgba(255, 255, 255, 0.82);
}

.dashboard-section--clinic {
    background:
        radial-gradient(circle at top left, rgba(76, 139, 245, 0.12), transparent 26%),
        rgba(255, 255, 255, 0.82);
}

.dashboard-section--support {
    background:
        radial-gradient(circle at top left, rgba(212, 70, 56, 0.1), transparent 28%),
        rgba(255, 255, 255, 0.82);
}

.dashboard-section--transport {
    background:
        radial-gradient(circle at top right, rgba(47, 153, 214, 0.1), transparent 26%),
        rgba(255, 255, 255, 0.82);
}

.dashboard-section--chart {
    background:
        radial-gradient(circle at top left, rgba(126, 92, 239, 0.09), transparent 28%),
        rgba(255, 255, 255, 0.82);
}

.dashboard-split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.dashboard-stats-grid--pilgrims {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dashboard-stats-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-stats-grid--transport {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.dashboard-stat-card {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
    padding: 8px 4px;
}

.dashboard-stat-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.dashboard-stat-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.dashboard-stat-circle {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    --dashboard-progress: 0%;
    background:
        conic-gradient(var(--stat-fill-color, var(--stat-color)) 0 var(--dashboard-progress), rgba(216, 230, 245, 0.72) var(--dashboard-progress) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(214, 225, 238, 0.9),
        0 14px 28px rgba(39, 53, 82, 0.08);
    animation: dashboard-stat-fill 3000ms ease forwards;
}

.dashboard-stat-circle::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-stat-circle--pilgrims {
    box-shadow:
        inset 0 0 0 1px rgba(214, 225, 238, 0.9),
        0 20px 36px rgba(123, 93, 67, 0.14);
}

.dashboard-stat-circle--pilgrims::before {
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.dashboard-stat-circle--clinic {
    --stat-fill-color: color-mix(in srgb, var(--stat-color) 84%, #000 16%);
    background:
        repeating-conic-gradient(
            from -90deg,
            rgba(230, 238, 248, 0.88) 0deg 12deg,
            rgba(244, 247, 252, 0.96) 12deg 18deg
        );
    box-shadow:
        inset 0 0 0 1px rgba(214, 225, 238, 0.94),
        0 16px 30px rgba(76, 139, 245, 0.12);
}

.dashboard-stat-circle--clinic::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        conic-gradient(var(--stat-fill-color, var(--stat-color)) 0 var(--dashboard-progress), transparent var(--dashboard-progress) 100%);
    -webkit-mask: radial-gradient(circle, transparent 57%, #000 58%);
    mask: radial-gradient(circle, transparent 57%, #000 58%);
}

.dashboard-stat-circle--support {
    --stat-fill-color: color-mix(in srgb, var(--stat-color) 84%, #000 16%);
    background:
        conic-gradient(var(--stat-fill-color, var(--stat-color)) 0 var(--dashboard-progress), rgba(255, 229, 226, 0.7) var(--dashboard-progress) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(247, 213, 209, 0.9),
        0 18px 34px rgba(212, 70, 56, 0.13);
}

.dashboard-stat-circle--support::before {
    inset: 12px;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.dashboard-stat-circle--transport {
    box-shadow:
        inset 0 0 0 1px rgba(214, 225, 238, 0.9),
        0 14px 28px rgba(39, 53, 82, 0.08);
}

.dashboard-stat-circle__inner {
    width: 126px;
    height: 126px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(238, 242, 248, 0.92) 0%, rgba(248, 250, 253, 0.98) 72%);
    box-shadow:
        inset 0 0 0 1px rgba(214, 225, 238, 0.95),
        0 8px 18px rgba(39, 53, 82, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-stat-circle__inner strong {
    color: var(--stat-color);
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1;
}

.dashboard-stat-card--clinic .dashboard-stat-circle__inner strong,
.dashboard-stat-card--support .dashboard-stat-circle__inner strong {
    color: rgba(0, 0, 0, 0.2);
    transition: color 0.18s ease;
}

.dashboard-stat-circle__inner:hover,
.dashboard-stat-circle__inner:focus-visible {
    transform: scale(1.03);
    box-shadow:
        inset 0 0 0 1px rgba(214, 225, 238, 0.95),
        0 12px 24px rgba(39, 53, 82, 0.08);
}

.dashboard-stat-card--clinic .dashboard-stat-circle__inner:hover strong,
.dashboard-stat-card--clinic .dashboard-stat-circle__inner:focus-visible strong,
.dashboard-stat-card--support .dashboard-stat-circle__inner:hover strong,
.dashboard-stat-card--support .dashboard-stat-circle__inner:focus-visible strong {
    color: var(--stat-color);
}

.dashboard-stat-card--pilgrims .dashboard-stat-circle__inner {
    background: radial-gradient(circle at center, rgba(246, 241, 236, 0.96) 0%, rgba(255, 255, 255, 0.98) 74%);
}

.dashboard-stat-card--clinic .dashboard-stat-circle__inner {
    background: radial-gradient(circle at center, rgba(239, 246, 255, 0.96) 0%, rgba(255, 255, 255, 0.99) 72%);
}

.dashboard-stat-card--support .dashboard-stat-circle__inner {
    background: radial-gradient(circle at center, rgba(255, 244, 243, 0.97) 0%, rgba(255, 255, 255, 0.99) 72%);
}

.dashboard-stat-card--transport .dashboard-stat-circle__inner {
    background: radial-gradient(circle at center, rgba(238, 242, 248, 0.92) 0%, rgba(248, 250, 253, 0.98) 72%);
}

@keyframes dashboard-stat-fill {
    from {
        --dashboard-progress: 0%;
    }

    to {
        --dashboard-progress: var(--progress);
    }
}

.dashboard-nationality-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 0 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(123, 93, 67, 0.42) rgba(214, 225, 238, 0.7);
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.dashboard-nationality-wrap::-webkit-scrollbar {
    height: 8px;
}

.dashboard-nationality-wrap::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(214, 225, 238, 0.7);
}

.dashboard-nationality-wrap::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(123, 93, 67, 0.42);
}

.dashboard-nationality-chart {
    min-width: 1090px;
    display: grid;
    grid-template-columns: repeat(25, 34px);
    align-items: end;
    gap: 8px 9px;
    padding: 10px 8px 4px;
}

.dashboard-nationality-bar {
    width: 34px;
    display: grid;
    gap: 5px;
    justify-items: center;
}

.dashboard-nationality-bar__track {
    width: 100%;
    height: 124px;
    padding: 4px;
    display: flex;
    align-items: end;
    justify-content: center;
    position: relative;
    border-radius: 13px;
    background:
        linear-gradient(180deg, rgba(250, 252, 255, 0.98) 0%, rgba(236, 241, 248, 0.96) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(214, 225, 238, 0.95),
        0 12px 24px rgba(39, 53, 82, 0.08);
    isolation: isolate;
}

.dashboard-nationality-bar__label {
    position: absolute;
    inset: 8px 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.64rem;
    font-weight: 600;
    line-height: 1.1;
    color: rgba(24, 34, 53, 0.96);
    text-shadow: none;
    text-align: center;
    pointer-events: none;
    z-index: 2;
}

.dashboard-nationality-bar__fill {
    width: 100%;
    height: var(--bar-height);
    min-height: 4px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
    border-radius: 0 0 10px 10px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bar-color) 0%, var(--bar-color) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.66rem;
    box-shadow: 0 10px 18px rgba(39, 53, 82, 0.12);
    transform-origin: bottom center;
    animation: dashboard-nationality-rise 4200ms ease forwards;
    z-index: 1;
}

.dashboard-nationality-bar__fill span {
    position: relative;
    z-index: 1;
    min-width: 32px;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    line-height: 1.1;
}

.dashboard-nationality-bar__flag {
    width: 100%;
    min-height: 22px;
    display: grid;
    gap: 4px;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.dashboard-nationality-bar__flag strong {
    display: block;
    color: var(--text);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.dashboard-nationality-bar__flag img {
    width: 26px;
    height: 17px;
    border-radius: 4px;
    display: block;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(39, 53, 82, 0.12);
}

.admin-inline-switch-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
}

.admin-inline-switch-row--tent {
    grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
    align-items: stretch;
}

.hall-nationality-picker.admin-inline-switch-row--tent {
    grid-template-columns: 1fr;
    justify-items: center;
}

.hall-nationality-picker.admin-inline-switch-row--tent .hall-nationality-picker__main {
    width: min(540px, 100%);
}

.hall-nationality-picker__line {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
}

.hall-nationality-picker__line > label {
    margin: 0;
}

.hall-nationality-picker__line > label:not(.admin-toggle) {
    flex: 1 1 0;
    min-width: 0;
}

.hall-nationality-picker__line .admin-toggle {
    flex: 0 0 auto;
    align-self: flex-end;
}

.admin-inline-switch-row__wide {
    min-width: 0;
}

.admin-inline-switch-row select[multiple] {
    min-height: 148px;
}

.admin-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(177, 147, 94, 0.22);
    border-radius: 18px;
    background: #fff;
    min-height: 56px;
    white-space: nowrap;
}

.admin-toggle input {
    width: 18px;
    height: 18px;
    accent-color: #9b7a4a;
}

.admin-toggle span {
    color: #38445d;
    font-weight: 700;
}

.admin-toggle--switch {
    cursor: pointer;
    justify-content: center;
    gap: 8px;
    display: flex;
    flex-wrap: nowrap;
    min-width: max-content;
    min-height: 44px;
    height: 44px;
    padding: 5px 10px;
    border-radius: 14px;
    align-self: end;
}

.admin-form label.admin-toggle--switch {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-toggle--switch input {
    appearance: none;
    width: 48px;
    height: 26px;
    border-radius: 999px;
    border: 0;
    background: #d6dde8;
    position: relative;
    flex: 0 0 auto;
    transition: background 0.18s ease;
}

.admin-toggle--switch input::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.22);
    transition: transform 0.18s ease;
}

.admin-toggle--switch input:checked {
    background: #9b7a4a;
}

.admin-toggle--switch input:checked::after {
    transform: translateX(-22px);
}

.admin-toggle--switch span {
    font-size: 0.78rem;
    font-weight: 500;
    color: #6b7280;
}

@keyframes dashboard-nationality-rise {
    from {
        height: 0;
        opacity: 0.35;
    }

    to {
        height: var(--bar-height);
        opacity: 1;
    }
}

.users-table-wrap {
    overflow: auto;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.55);
}

.table-scroll-sync {
    overflow-x: auto;
    overflow-y: hidden;
    height: 16px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.table-scroll-sync__spacer {
    height: 1px;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1080px;
}

.users-table th,
.users-table td {
    text-align: right;
    padding: 16px 14px;
    border-bottom: 1px solid rgba(125, 138, 162, 0.14);
}

.pilgrim-table-photo {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(233, 237, 244, 0.95);
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 700;
}

.pilgrim-table-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user-table-photo {
    width: 28px;
    height: 28px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(233, 237, 244, 0.95);
    display: grid;
    place-items: center;
}

.user-table-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.users-table th {
    background: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    font-size: 0.8rem;
}

.users-table--awareness {
    min-width: 1230px;
    table-layout: fixed;
}

.users-table--awareness th,
.users-table--awareness td {
    padding-inline: 10px;
}

.users-table--awareness .awareness-col-index {
    width: 48px;
}

.users-table--awareness .awareness-col-title {
    width: 150px;
}

.users-table--awareness .awareness-col-message {
    width: 300px;
}

.users-table--awareness .awareness-col-small {
    width: 76px;
}

.users-table--awareness .awareness-col-nationality {
    width: 95px;
}

.users-table--awareness .awareness-col-channel {
    width: 96px;
}

.users-table--awareness .awareness-col-date {
    width: 104px;
}

.users-table--awareness .awareness-col-time {
    width: 72px;
}

.users-table--awareness .awareness-col-count {
    width: 92px;
}

.users-table--awareness .awareness-col-status {
    width: 90px;
}

.users-table--awareness th:nth-child(3),
.users-table--awareness td:nth-child(3) {
    white-space: normal;
    line-height: 1.45;
}

.users-table--awareness .awareness-message-cell {
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 400;
}

.awareness-channel-icons {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.awareness-channel-icon {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    color: #5f6470;
    background: #f3f4f6;
    font-size: 0.54rem;
    font-weight: 900;
    line-height: 1;
}

.awareness-channel-icon svg {
    width: 15px;
    height: 15px;
}

.awareness-channel-icon--whatsapp {
    color: #15803d;
    background: #dcfce7;
}

.awareness-channel-icon--sms {
    color: #1d4ed8;
    background: #dbeafe;
}

.awareness-channel-icon--app {
    color: #7c2d12;
    background: #ffedd5;
}

.awareness-channel-icon--head {
    margin: 0 auto;
}

.users-table__row--incomplete td {
    background: rgba(255, 232, 232, 0.78);
}

.pilgrims-pagination {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.92rem;
}

.pilgrims-pagination__pages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1;
}

.pilgrims-pagination__link,
.pilgrims-pagination__dots {
    min-width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(125, 138, 162, 0.18);
    background: rgba(255, 255, 255, 0.76);
    color: var(--text);
    font-weight: 700;
}

.pilgrims-pagination__link.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 10px 20px rgba(132, 104, 70, 0.22);
}

.pilgrims-pagination__link.is-disabled,
.pilgrims-pagination__dots {
    color: var(--muted);
    opacity: 0.52;
    pointer-events: none;
}

.pilgrims-pagination__size {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.pilgrims-pagination__size select {
    min-width: 92px;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font: inherit;
}

.table-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-actions form {
    margin: 0;
}

.table-icon-btn {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.16);
    color: var(--text);
}

.table-icon-btn--edit {
    color: #1458c8;
}

.table-icon-btn--activate {
    color: #0f9d58;
}

.table-icon-btn--disabled {
    opacity: 0.38;
    cursor: default;
    pointer-events: none;
}

.table-icon-btn--delete {
    color: #b42318;
}

.temporary-mobile-number {
    color: #b42318;
    font-weight: 800;
}

.pilgrim-columns-modal[hidden] {
    display: none;
}

.pilgrim-columns-modal__panel {
    max-width: min(760px, calc(100vw - 28px));
}

.pilgrim-columns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.pilgrim-column-toggle {
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 12px;
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.16);
    font-weight: 800;
    color: var(--text);
}

.pilgrim-column-toggle.is-hidden-column {
    color: #8c96a8;
    background: #eef2f7;
}

.pilgrim-column-toggle__eye {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #0f7a4c;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.18);
}

.pilgrim-column-toggle__eye svg {
    width: 21px;
    height: 21px;
}

.pilgrim-column-toggle__eye .eye-closed,
.pilgrim-column-toggle__eye[aria-pressed="false"] .eye-open {
    display: none;
}

.pilgrim-column-toggle__eye[aria-pressed="false"] {
    color: #b42318;
}

.pilgrim-column-toggle__eye[aria-pressed="false"] .eye-closed {
    display: block;
}

.pilgrim-columns-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.icon-btn--danger {
    color: #b42318;
    border-color: rgba(180, 35, 24, 0.18);
    background: rgba(255, 235, 233, 0.92);
}

.tent-distribution-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.tent-distribution-summary span {
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(180, 147, 84, 0.12);
    color: #2d3748;
    font-weight: 800;
    font-size: 0.9rem;
}

.mina-tents-filters {
    display: grid;
    grid-template-columns: minmax(210px, 1.35fr) repeat(4, minmax(135px, 1fr)) auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.mina-tents-filters label {
    display: grid;
    gap: 6px;
}

.mina-tents-filters span {
    color: #667389;
    font-size: 0.86rem;
    font-weight: 700;
}

.mina-tents-filters select,
.mina-tents-filters input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 0.94rem;
    padding: 0 12px;
}

.mina-tents-table th,
.mina-tents-table td {
    padding-block: 7px;
    line-height: 1.25;
}

.mina-tents-table .table-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.mina-tents-table .table-actions {
    gap: 6px;
}

.mina-tents-filters__actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mina-tents-print-summary {
    display: none;
}

.bus-trips-filters {
    direction: rtl;
}

.mina-head-icon-like-map {
    border: 0;
    color: var(--brand-color);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.16);
}

.admin-head__actions button.icon-btn--soft {
    border: 0;
}

.mina-map-print-sheet {
    display: none;
}

.admin-print-brand {
    display: none;
}

.print-label {
    display: none;
}

@media (max-width: 1180px) {
    .mina-tents-filters {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }

    .mina-tents-filters__actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    .mina-tents-filters {
        grid-template-columns: 1fr;
    }
}

.tent-distribution-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-height: 58vh;
    overflow: auto;
    padding-left: 4px;
}

.tent-distribution-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
}

.tent-distribution-card__approve {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: fit-content;
    color: #253754;
    font-size: 0.9rem;
    font-weight: 800;
}

.tent-distribution-card__approve input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-color);
}

.tent-distribution-card__head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.tent-distribution-card__head strong {
    color: #253754;
}

.tent-distribution-card__head span,
.tent-distribution-card p {
    margin: 0;
    color: #667389;
    font-size: 0.9rem;
}

.tent-distribution-card__parts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tent-distribution-card__parts span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #f5f7fb;
    color: #253754;
    font-weight: 800;
    font-size: 0.88rem;
}

.mina-tent-vacancy-cell {
    color: #111827;
    font-weight: 900;
}

.mina-tent-vacancy-cell.is-open {
    color: #b42318;
}

.tent-distribution-card__nationalities {
    display: grid;
    gap: 8px;
}

.tent-distribution-card__nationalities > span {
    color: #667389;
    font-size: 0.84rem;
    font-weight: 800;
}

.tent-distribution-card__nationality-controls {
    display: grid;
    gap: 8px;
    position: relative;
}

.tent-distribution-card__nationality-controls input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--text);
    font-family: inherit;
    font-size: 0.9rem;
    padding: 0 10px;
}

.tent-distribution-card__nationality-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    z-index: 30;
    display: none;
    max-height: 178px;
    overflow: auto;
    padding: 5px;
    border: 1px solid rgba(120, 134, 159, 0.22);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.tent-distribution-card__nationality-menu.is-open {
    display: grid;
    gap: 3px;
}

.tent-distribution-card__nationality-menu button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 30px;
    padding: 5px 8px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #253754;
    font-family: inherit;
    font-size: 0.82rem;
    text-align: right;
    cursor: pointer;
}

.tent-distribution-card__nationality-menu button:hover {
    background: #f5f7fb;
}

.tent-distribution-card__nationality-menu button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 800;
}

.tent-distribution-card__nationality-menu button em {
    flex: 0 0 auto;
    color: #8d6a34;
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 800;
}

.tent-distribution-card__selected-nationalities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.tent-distribution-card__selected-nationalities:empty {
    display: none;
}

.tent-distribution-nationality-chip {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 6px 9px;
    border: 1px solid rgba(167, 136, 82, 0.22);
    border-radius: 13px;
    background: #fffaf1;
    color: #253754;
    font-family: inherit;
    text-align: right;
    cursor: pointer;
}

.tent-distribution-nationality-chip span,
.tent-distribution-nationality-chip strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tent-distribution-nationality-chip span {
    color: #8d6a34;
    font-size: 0.75rem;
    font-weight: 800;
}

.tent-distribution-nationality-chip strong {
    font-size: 0.82rem;
}

.tent-distribution-nationality-chip em {
    min-width: 28px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(167, 136, 82, 0.12);
    color: #8d6a34;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: center;
}

.tent-distribution-nationality-chip b {
    color: #b42318;
    font-size: 1rem;
    line-height: 1;
}

.tent-distribution-card__capacity {
    min-height: 20px;
    color: #667389;
    font-size: 0.82rem;
    font-weight: 800;
}

.tent-distribution-card__nationalities.is-compact {
    gap: 6px;
}

.tent-distribution-card__nationalities.is-compact .tent-distribution-card__nationality-controls input {
    min-height: 38px;
}

.tent-distribution-card__nationalities.is-over-capacity .tent-distribution-card__capacity {
    color: #b42318;
}

.tent-distribution-card__nationalities.is-over-capacity .tent-distribution-nationality-chip {
    border-color: rgba(180, 35, 24, 0.28);
    background: #fff4f2;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    background: #f5f7fb;
    color: #253754;
    font-weight: 800;
}

.pilgrim-checkbox-col {
    width: 44px;
    text-align: center;
}

.pilgrim-checkbox-col input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #a78852;
    cursor: pointer;
}

.clinic-case-open-btn {
    min-width: 112px;
    justify-content: center;
    font-size: 0.92rem;
    padding: 10px 14px;
}

.clinic-case-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.clinic-case-info-grid article {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.clinic-case-info-grid small {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
}

.clinic-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    background: rgba(132, 104, 70, 0.12);
    color: #6d5335;
}

.send-templates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.facilities-section-card {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
}

.print-report-builder {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        inset 0 0 0 1px rgba(120, 134, 159, 0.12),
        0 14px 28px rgba(39, 53, 82, 0.08);
}

.print-report-builder__form {
    align-items: start;
}

.print-report-columns {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.86);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.print-report-columns__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.print-report-columns__head span {
    color: var(--text);
    font-weight: 800;
}

.print-report-columns__head small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.print-report-columns__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.print-report-column-option {
    display: flex !important;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 7px 9px;
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 800;
}

.print-report-column-option input {
    width: 16px;
    height: 16px;
    accent-color: #846846;
}

@media (max-width: 900px) {
    .print-report-columns__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.system-settings-layout {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 18px;
    overflow-x: clip;
}

.system-settings-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    min-width: 0;
}

.system-settings-section {
    display: grid;
    align-content: start;
    gap: 16px;
    min-width: 0;
    max-width: 100%;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12), 0 16px 34px rgba(39, 53, 82, 0.08);
}

.system-settings-section__head {
    display: grid;
    gap: 4px;
}

.system-settings-section__head h2 {
    margin: 0;
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 900;
}

.system-settings-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.system-settings-basic-fields {
    display: grid;
    gap: 14px;
}

.system-settings-basic-subhead {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(180, 147, 84, 0.1);
    border: 1px solid rgba(180, 147, 84, 0.18);
}

.system-settings-basic-subhead strong {
    color: #2d3748;
    font-size: 0.98rem;
    font-weight: 900;
}

.system-settings-basic-subhead span {
    color: #667389;
    font-size: 0.86rem;
}

.system-settings-basic-title-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px 74px;
    gap: 14px;
    align-items: end;
    min-width: 0;
}

.system-settings-basic-title-grid--portal {
    grid-template-columns: minmax(0, 1fr) 74px 74px 112px 112px;
}

.system-settings-basic-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    min-width: 0;
}

.system-settings-field--wide {
    grid-column: auto;
}

.system-settings-field--compact {
    justify-items: center;
}

.system-settings-field--compact span {
    text-align: center;
}

.admin-form .system-settings-field--compact input[type="number"] {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 4px;
    border-radius: 12px;
    text-align: center;
}

.system-settings-fields--single {
    grid-template-columns: 1fr;
}

.system-settings-fields--logo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-settings-app-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(180, 147, 84, 0.08);
    box-shadow: inset 0 0 0 1px rgba(180, 147, 84, 0.16);
}

.system-settings-note {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 245, 225, 0.92);
    color: #735b37;
    font-size: 0.9rem;
    line-height: 1.8;
}

.system-settings-colors-layout {
    display: grid;
    gap: 14px;
}

.system-settings-colors-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.system-settings-images-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-form input[type="color"] {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 4px;
    border-radius: 12px;
    cursor: pointer;
}

.system-settings-submit {
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.system-settings-previews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.system-settings-preview-card {
    position: relative;
    padding: 16px;
    border-radius: 20px;
    background: rgba(244, 247, 252, 0.94);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
    display: grid;
    gap: 10px;
    justify-items: center;
    text-align: center;
}

.system-settings-preview-card > span {
    font-weight: 700;
    color: var(--text);
}

.system-settings-preview-card p {
    margin: 0;
    color: var(--muted);
}

.system-settings-preview-image {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.system-settings-preview-image--logo {
    width: 96px;
    height: 96px;
    max-width: 96px;
    max-height: 96px;
    object-fit: contain;
}

.system-settings-preview-image--wide {
    max-width: 100%;
    max-height: 120px;
}

.system-settings-delete-media {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.94);
    color: #b23333;
    box-shadow: 0 8px 18px rgba(39, 53, 82, 0.14), inset 0 0 0 1px rgba(178, 51, 51, 0.18);
    cursor: pointer;
}

.system-settings-delete-media input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.system-settings-delete-media span,
.system-settings-delete-media svg {
    width: 18px;
    height: 18px;
    display: block;
}

.system-settings-delete-media:has(input:checked) {
    background: #b23333;
    color: #ffffff;
}

.system-settings-delete-media:has(input:checked) + img {
    opacity: 0.42;
    filter: grayscale(1);
}

.system-settings-preview-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.system-activation-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(244, 247, 252, 0.94);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
    display: grid;
    gap: 16px;
}

.system-activation-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.system-activation-card__head span {
    color: var(--text);
    font-weight: 900;
}

.system-activation-card__head p {
    margin: 4px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.system-activation-status-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
}

.system-activation-card__dates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.system-activation-switch {
    width: min(100%, 320px);
    min-height: 58px;
    padding: 8px 14px;
    border-radius: 16px;
    background: rgba(244, 247, 252, 0.96);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
}

.system-activation-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.system-activation-switch__label {
    min-width: 56px;
    font-weight: 900;
    color: #b23333;
    text-align: center;
}

.system-activation-switch__label--on {
    display: none;
    color: #18794b;
}

.system-activation-switch__track {
    width: 58px;
    height: 32px;
    padding: 4px;
    border-radius: 999px;
    background: #d94d4d;
    display: inline-flex;
    align-items: center;
}

.system-activation-switch__thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(39, 53, 82, 0.14);
    transition: transform 0.2s ease;
}

.system-activation-switch input:checked ~ .system-activation-switch__label--on {
    display: inline;
}

.system-activation-switch input:checked ~ .system-activation-switch__label--off {
    display: none;
}

.system-activation-switch input:checked ~ .system-activation-switch__track {
    background: #20a363;
}

.system-activation-switch input:checked ~ .system-activation-switch__track .system-activation-switch__thumb {
    transform: translateX(-26px);
}

.admin-head--section {
    margin-bottom: 0;
}

.facilities-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.facilities-form-grid--gathering {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.facilities-form-grid--gathering .gathering-form-half {
    grid-column: span 2;
}

.facilities-form-grid--sacred {
    grid-template-columns: repeat(10, minmax(0, 1fr));
}

.facilities-form-grid--sacred > label {
    grid-column: span 2;
}

.facilities-form-grid--sacred .sacred-form-half {
    grid-column: span 5;
}

.facilities-form-grid--sacred .full-span {
    grid-column: 1 / -1;
}

.table-icon-btn--map {
    min-width: 54px;
    padding-inline: 10px;
    font-size: 0.8rem;
    font-weight: 800;
}

.send-template-card {
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.send-template-card h3 {
    margin: 10px 0 12px;
    font-size: 1.1rem;
}

.send-template-card__badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(27, 114, 255, 0.1);
    color: #1458c8;
    font-size: 0.78rem;
    font-weight: 700;
}

.send-template-card__code {
    margin: 0;
    padding: 14px;
    border-radius: 18px;
    background: rgba(238, 242, 248, 0.92);
    color: var(--text);
    font-family: "Tajawal", sans-serif;
    font-size: 0.9rem;
    line-height: 1.9;
    white-space: pre-wrap;
    word-break: break-word;
}

.send-placeholders-guide {
    margin-top: 18px;
}

.send-placeholders-table code {
    direction: ltr;
    unicode-bidi: embed;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.9rem;
    color: #1a4ba3;
}

.table-icon-btn--copy {
    min-width: 42px;
}

.copy-icon--done {
    display: none;
}

.table-icon-btn--copy.is-copied .copy-icon--default {
    display: none;
}

.table-icon-btn--copy.is-copied .copy-icon--done {
    display: inline;
}

.users-table-wrap--statuses {
    overflow-x: auto;
}

.users-table--statuses {
    min-width: 1240px;
    table-layout: fixed;
}

.users-table--statuses .col-index {
    width: 56px;
}

.users-table--statuses .col-name {
    width: 170px;
}

.users-table--statuses .col-mobile,
.users-table--statuses .col-api-mobile {
    width: 135px;
}

.users-table--statuses .col-channel {
    width: 100px;
}

.users-table--statuses .col-event {
    width: 150px;
}

.users-table--statuses .col-message {
    width: 360px;
}

.users-table--statuses .col-status {
    width: 110px;
}

.users-table--statuses .col-date {
    width: 150px;
}

.users-table--statuses .col-actions {
    width: 88px;
}

.users-table--statuses td {
    vertical-align: top;
}

.send-message-cell {
    white-space: normal;
    word-break: break-word;
    line-height: 1.8;
    color: #22314b;
}

.table-actions--single {
    justify-content: center;
}

.send-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(148, 163, 184, 0.18);
    color: #42536e;
}

.send-status-pill--sent {
    background: rgba(28, 186, 99, 0.16);
    color: #18794b;
}

.send-status-pill--pending {
    background: rgba(54, 124, 255, 0.14);
    color: #2256cc;
}

.send-status-pill--failed,
.send-status-pill--invalid-number,
.send-status-pill--incomplete-settings,
.send-status-pill--disabled {
    background: rgba(243, 99, 99, 0.14);
    color: #b23333;
}

.pilgrim-verification-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(28, 186, 99, 0.16);
    color: #18794b;
    font-size: 1.05rem;
    font-weight: 800;
}

.pilgrim-verification-pill--inactive {
    background: rgba(148, 163, 184, 0.16);
    color: #667085;
}

.send-template-inline {
    display: grid;
    gap: 12px;
}

.send-template-inline__title {
    font-weight: 700;
}

.whatsapp-toggle-card {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.whatsapp-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.switch-toggle {
    position: relative;
    display: inline-flex;
    width: 58px;
    height: 32px;
}

.switch-toggle input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch-toggle__slider {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #d2d8e2;
    position: relative;
    transition: background 0.2s ease;
}

.switch-toggle__slider::after {
    content: "";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(24, 34, 53, 0.14);
    transition: transform 0.2s ease;
}

.switch-toggle input:checked + .switch-toggle__slider {
    background: #25a46c;
}

.switch-toggle input:checked + .switch-toggle__slider::after {
    transform: translateX(-26px);
}

.portal-icon-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.portal-icon-settings-grid--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.portal-icon-settings-group {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 0 0 1px rgba(132, 104, 70, 0.1);
}

.portal-icon-settings-group h3 {
    margin: 0 0 12px;
    color: #243043;
    font-size: 1rem;
}

.portal-icon-settings-list {
    display: grid;
    gap: 10px;
}

.portal-icon-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(248, 249, 252, 0.95);
    color: #38445d;
    font-weight: 800;
}

.portal-icon-setting-card {
    min-height: 150px;
    padding: 16px 10px 14px;
    border-radius: 14px;
    background: rgba(248, 249, 252, 0.96);
    color: #38445d;
    box-shadow: inset 0 0 0 1px rgba(132, 104, 70, 0.1);
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 10px;
    text-align: center;
}

.portal-icon-setting-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #846846;
    background: #f1e4ce;
    box-shadow: inset 0 0 0 1px rgba(132, 104, 70, 0.12);
}

.portal-icon-setting-card__icon svg {
    width: 28px;
    height: 28px;
}

.portal-icon-setting-card__label {
    min-height: 38px;
    display: grid;
    align-items: center;
    color: #243043;
    font-weight: 900;
    font-size: 0.92rem;
    line-height: 1.35;
}

.train-trip-form-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.train-trip-form-grid h3 {
    margin: 4px 0 0;
    color: #243043;
    font-size: 1rem;
}

.train-cars-builder {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(248, 249, 252, 0.88);
    border: 1px solid var(--line);
}

.train-cars-builder__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.train-cars-builder__head h3 {
    margin: 0;
}

.train-cars-builder__rows {
    display: grid;
    gap: 10px;
}

.train-car-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(120px, 0.7fr) 42px;
    align-items: end;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(31, 47, 74, 0.06);
}

.train-car-row__range {
    display: grid;
    gap: 8px;
    color: #657188;
    font-size: 0.8rem;
    font-weight: 800;
}

.train-car-row__range strong {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f5f7fb;
    color: #1458c8;
    font-size: 0.95rem;
}

.train-car-row__remove {
    align-self: center;
    margin-top: 22px;
}

.app-icon-card__icon--train {
    color: #ffffff;
    background: #988b62;
}

.app-icon-card__icon--train svg {
    width: 36px;
    height: 36px;
}

.train-layout-card {
    background: rgba(255, 255, 255, 0.76);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.train-booking-page,
.train-booking-page .bus-booking-card,
.train-booking-page .camp-booking-form {
    max-width: 100%;
    overflow-x: hidden;
}

.train-booking-fields {
    grid-template-columns: 1fr;
}

.train-booking-fields .booking-inline-fields__select {
    width: 100%;
}

.train-booking-fields select {
    min-height: 58px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(207, 214, 226, 0.82);
    box-shadow: 0 8px 22px rgba(31, 47, 74, 0.06);
    color: #4a5568;
    font-weight: 900;
    text-align: center;
}

.train-booking-form[hidden],
.train-ticket[hidden] {
    display: none;
}

.train-trip-list {
    display: grid;
    gap: 10px;
}

.train-trip-option {
    position: relative;
    display: grid;
    gap: 9px;
    padding: 12px;
    border: 1px solid rgba(220, 226, 236, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 22px rgba(31, 47, 74, 0.07);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.train-trip-option.is-selected {
    border-color: rgba(34, 197, 94, 0.42);
    background: rgba(220, 252, 231, 0.58);
    box-shadow: 0 12px 26px rgba(34, 197, 94, 0.12);
}

.train-trip-option.employee-bus-trip-option--soon {
    border-color: rgba(245, 158, 11, 0.38);
    background: rgba(255, 237, 213, 0.72);
    box-shadow: 0 12px 26px rgba(245, 158, 11, 0.11);
}

.train-trip-option.employee-bus-trip-option--overdue {
    border-color: rgba(239, 68, 68, 0.32);
    background: rgba(254, 226, 226, 0.72);
    box-shadow: 0 12px 26px rgba(239, 68, 68, 0.11);
}

.admin-bus-trips-table tr.admin-bus-trip-row--soon td {
    background: rgba(255, 237, 213, 0.58);
}

.admin-bus-trips-table tr.admin-bus-trip-row--overdue td {
    background: rgba(254, 226, 226, 0.66);
}

.admin-bus-trips-table tr.admin-bus-trip-row--departed td {
    background: rgba(220, 252, 231, 0.48);
}

.train-trip-option:hover,
.train-trip-option:focus-visible {
    border-color: rgba(34, 197, 94, 0.32);
    box-shadow: 0 12px 26px rgba(31, 47, 74, 0.1);
    outline: none;
}

.train-trip-option__head {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.2fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(226, 231, 240, 0.82);
}

.train-trip-option__number,
.train-trip-option__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3d4858;
    font-size: 0.9rem;
    font-weight: 900;
    white-space: nowrap;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.train-trip-option__date {
    justify-content: flex-end;
    color: #5b6576;
    font-size: 0.84rem;
}

.train-trip-option__route {
    min-width: 0;
    color: #485366;
    font-weight: 800;
    font-size: 0.88rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.train-trip-option__route em {
    color: #8a5b21;
    font-size: 1.02rem;
    font-style: normal;
    font-weight: 900;
}

.train-trip-option__icon,
.train-trip-option__pin {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #aeb7c4;
    flex: 0 0 auto;
}

.train-trip-option__pin {
    width: 14px;
    height: 14px;
    margin-inline-end: 2px;
}

.train-trip-option__icon svg,
.train-trip-option__pin svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.train-trip-option__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fbfaff;
}

.train-trip-option__grid span,
.train-trip-option__row span {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #2f6cd8;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.35;
}

.train-trip-option__grid b,
.train-trip-option__row b {
    display: inline-flex;
    align-items: center;
    color: #536179;
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.train-trip-option__row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    direction: rtl;
    text-align: right;
}

.train-trip-option__row span {
    direction: rtl;
    justify-content: flex-start;
}

.train-trip-option__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.train-trip-option__meta span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 8px;
    border-radius: 12px;
    background: #fbfaff;
    text-align: center;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.train-trip-option.is-selected .train-trip-option__meta span {
    background: rgba(187, 247, 208, 0.38);
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.12);
}

.train-trip-option__meta b,
.train-trip-option__stations b {
    display: inline-flex;
    align-items: center;
    color: #536179;
    font-size: 0.72rem;
    font-weight: 900;
    white-space: nowrap;
}

.train-trip-option__meta strong {
    color: #2f6cd8;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1;
}

.train-trip-option__remaining {
    color: #dc2626;
    font-size: 0.74rem;
    font-weight: 500;
    text-align: right;
    justify-self: end;
    line-height: 1;
}

.train-trip-option__stations {
    display: grid;
    gap: 6px;
}

.train-trip-option__stations span {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 0 0 1px rgba(226, 231, 240, 0.78);
}

.train-trip-option__stations strong {
    min-width: 0;
    color: #344054;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: left;
    overflow-wrap: anywhere;
}

.bus-trip-list {
    margin-top: 4px;
}

.bus-trip-option {
    width: 100%;
    border: 1px solid rgba(209, 216, 228, 0.9);
    text-align: inherit;
    cursor: pointer;
}

.bus-trip-option.is-full {
    border-color: rgba(239, 68, 68, 0.24);
    background: rgba(254, 226, 226, 0.62);
    color: #7f1d1d;
    cursor: not-allowed;
    opacity: 0.88;
}

.bus-trip-option__line {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) repeat(4, minmax(0, 0.72fr));
    gap: 7px;
    align-items: center;
    width: 100%;
}

.bus-trip-option__line > span {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 8px;
    border-radius: 12px;
    background: rgba(248, 250, 252, 0.86);
    color: #344054;
    line-height: 1.35;
}

.bus-trip-option__route {
    justify-content: center !important;
    gap: 12px !important;
    color: #485366;
    font-size: 0.86rem;
    font-weight: 900;
    text-align: center;
}

.bus-trip-option__route em {
    color: #8a5b21;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    font-size: 1.28rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
}

.bus-trip-option__line b {
    color: #536179;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

.bus-trip-option__line strong {
    min-width: 0;
    color: #2f6cd8;
    font-size: 0.8rem;
    font-weight: 900;
    white-space: nowrap;
}

.bus-trip-option__remaining strong,
.bus-trip-option.is-full .bus-trip-option__remaining b,
.bus-trip-option.is-full .bus-trip-option__remaining strong {
    color: #dc2626;
}

.bus-trip-option.is-selected .bus-trip-option__line > span {
    background: rgba(187, 247, 208, 0.38);
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.12);
}

@media (max-width: 640px) {
    .bus-trip-option__line {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bus-trip-option__route {
        grid-column: 1 / -1;
    }
}

.train-ticket {
    position: relative;
    display: grid;
    gap: 0;
    padding: 18px 14px 14px;
    overflow: hidden;
    border-radius: 20px;
    background: #f6f8fc;
    border: 1px solid rgba(120, 134, 159, 0.16);
    box-shadow: 0 18px 42px rgba(31, 47, 74, 0.12);
    direction: rtl;
}

.train-ticket__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 10px;
    background: #f6f8fc;
}

.train-ticket__delete-form {
    margin: 0;
}

.train-ticket__icon-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2f6f9f;
    background: #eaf2fa;
    cursor: pointer;
}

.train-ticket__icon-btn--danger {
    color: #b83c3c;
    background: #faeeee;
}

.train-ticket__icon-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.train-ticket__top {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 94px;
    align-items: start;
    gap: 16px;
    margin-inline: -14px;
    padding: 20px 22px 12px;
    background: #d4b477;
    color: #3f3525;
}

.train-ticket__top {
    direction: ltr;
}

.train-ticket__head {
    direction: rtl;
}

.train-ticket__top::before,
.train-ticket__station-summary::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 14px;
    background:
        linear-gradient(135deg, transparent 9px, #d4b477 0) 0 0 / 18px 14px repeat-x,
        linear-gradient(225deg, transparent 9px, #d4b477 0) 0 0 / 18px 14px repeat-x;
}

.train-ticket__top::before {
    top: 0;
    transform: translateY(-13px) rotate(180deg);
    display: none;
}

.booking-ticket--group .train-ticket__top {
    background: #50b489;
    color: #ffffff;
}

.booking-ticket--group .train-ticket__head span,
.booking-ticket--group .train-ticket__head strong,
.booking-ticket--group .train-ticket__head small,
.booking-ticket--group .train-ticket__route-row {
    color: #ffffff;
}

.train-ticket__head {
    min-width: 0;
    display: grid;
    gap: 10px;
    text-align: center;
    justify-items: center;
}

.train-ticket__head span {
    color: #3b3121;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
}

.train-ticket--rail .train-ticket__head span {
    font-size: 1.28rem;
}

.train-ticket__head strong {
    color: #3d3323;
    font-size: 1.08rem;
    line-height: 1.4;
}

.train-ticket__head small {
    max-width: 26ch;
    color: #4f4028;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.train-ticket__date-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.train-ticket__route-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #4a3d28;
    font-size: 0.9rem;
    font-weight: 800;
}

.train-ticket__route-row b,
.train-ticket__route-row em {
    font-style: normal;
    font-weight: 900;
}

.train-ticket__route-row em {
    font-size: 1.85rem;
    line-height: 1;
}

.train-ticket__station-summary {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-inline: -14px;
    padding: 24px 22px 24px;
    background: #d4b477;
}

.train-ticket__station-summary::after {
    bottom: 0;
    transform: translateY(12px) rotate(180deg);
}

.train-ticket__station-summary div {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.train-ticket__station-summary small {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
}

.train-ticket__station-summary strong {
    color: #ffffff;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1px;
}

.train-ticket__station-summary img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    opacity: 0.34;
    filter: sepia(1) saturate(0.6) brightness(0.72);
}

.train-ticket__station-summary--rtl div:nth-child(1) img {
    width: 58px;
}

.booking-ticket__summary-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8f7146;
    opacity: 0.5;
}

.booking-ticket__summary-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.booking-ticket__summary-icon--bus-side {
    width: 62px;
}

.booking-ticket__summary-icon--bus-trip {
    width: 54px;
    height: 54px;
    color: #aba9a6;
}

.booking-ticket__summary-icon--bus-side,
.booking-ticket__summary-icon--bus-side * {
    stroke: none;
}

.booking-ticket__summary-icon--bus-trip,
.booking-ticket__summary-icon--bus-trip * {
    stroke: none;
}

.booking-ticket__summary-icon--bus-front svg {
    width: 44px;
    height: 44px;
}

.booking-ticket__summary-icon--bus-front {
    opacity: 0.9;
}

.booking-ticket__camp-seat-icon {
    --seat-color: #d4b477;
    --seat-stroke: #8f7146;
    width: 46px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.72;
}

.booking-ticket__camp-seat-icon .train-seat-chair {
    --seat-color: #d4b477;
    --seat-stroke: #8f7146;
    width: 42px;
    height: 34px;
}

.booking-ticket__camp-seat-icon .train-seat-chair__pad {
    left: 7px;
    right: 7px;
    height: 22px;
}

.booking-ticket__camp-seat-icon .train-seat-chair__back {
    left: 6px;
    right: 6px;
    height: 12px;
}

.booking-ticket__camp-seat-icon .train-seat-chair__arm {
    top: 9px;
    width: 9px;
    height: 22px;
}

.booking-ticket__camp-seat-icon--field {
    --seat-color: #f6f8fc;
    --seat-stroke: #c7ad7d;
    width: 24px;
    height: 22px;
    opacity: 1;
}

.booking-ticket__camp-seat-icon--field .train-seat-chair {
    --seat-color: #f6f8fc;
    --seat-stroke: #c7ad7d;
    width: 25px;
    height: 21px;
}

.booking-ticket__camp-seat-icon--field .train-seat-chair__pad {
    left: 4px;
    right: 4px;
    height: 13px;
}

.booking-ticket__camp-seat-icon--field .train-seat-chair__back {
    left: 4px;
    right: 4px;
    height: 8px;
}

.booking-ticket__camp-seat-icon--field .train-seat-chair__arm {
    top: 6px;
    width: 5px;
    height: 13px;
}

.train-ticket__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 30px;
}

.train-ticket__grid div {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    gap: 9px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 18px rgba(31, 47, 74, 0.035);
}

.train-ticket__field-text {
    min-width: 0;
    display: grid;
    gap: 2px;
    text-align: right;
}

.train-ticket__field-text small {
    color: #6f7a8d;
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1.15;
}

.train-ticket__field-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #8a6a31;
    background: rgba(138, 91, 33, 0.09);
}

.train-ticket__field-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.train-ticket__field-text strong {
    color: #1458c8;
    font-size: 0.86rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.train-ticket__wide {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 94%;
    margin-inline: auto;
}

.train-ticket__qr {
    width: 94px;
    height: 94px;
    margin: 0;
    padding: 7px;
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 3px;
    background: #fff;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(31, 47, 74, 0.1);
}

.train-ticket__qr span {
    border-radius: 2px;
    background: transparent;
}

.train-ticket__qr .is-filled {
    background: #1f2f4a;
}

.train-ticket__qr--image {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.train-ticket__qr--image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 3px;
}

.booking-ticket {
    margin-top: 14px;
}

.booking-ticket__company {
    max-width: 24ch;
    margin: 4px 0 0;
    color: #536179;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.35;
}

.booking-ticket__field span:last-child {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.booking-ticket__field small {
    color: #6f7a8d;
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1.15;
}

.booking-ticket__field strong {
    color: #1458c8;
    font-size: 0.9rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.train-ticket__qr--top {
    object-fit: contain;
}

.train-ticket-print-page {
    min-height: 100vh;
    margin: 0;
    background: #f5f1e6;
    font-family: 'Tajawal', sans-serif;
}

.train-ticket-print-shell {
    width: min(560px, 100%);
    margin: 0 auto;
    padding: 24px 14px;
}

.train-ticket-print-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.train-ticket--print {
    background: #fff;
}

.train-ticket-print {
    width: min(560px, 100%);
    margin: 0 auto;
    padding: 24px 14px;
}

.train-ticket-print__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}

.ticket-verify-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 14px;
    background: #f5f1e6;
}

.ticket-verify-card {
    width: min(440px, 100%);
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(31, 47, 74, 0.12);
    text-align: center;
}

.ticket-verify-brand {
    color: #1f2f4a;
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.4;
}

.ticket-verify-type {
    margin: 0;
    color: #8f6022;
    font-weight: 900;
}

.ticket-verify-grid {
    display: grid;
    gap: 10px;
}

.ticket-verify-field {
    display: grid;
    gap: 5px;
    padding: 12px;
    border-radius: 14px;
    background: #f7f9fd;
}

.ticket-verify-field small {
    color: #6f7a8d;
    font-size: 0.72rem;
    font-weight: 900;
}

.ticket-verify-field strong {
    color: #1458c8;
    font-size: 1rem;
    line-height: 1.4;
}

.ticket-verify-empty {
    margin: 0;
    color: #536179;
    font-weight: 800;
}

.admin-head__actions .icon-btn svg {
    width: 22px;
    height: 22px;
}

.admin-head__actions .icon-btn .admin-bus-add-icon {
    width: 27px;
    height: 27px;
}

.admin-form--three-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gathering-order-note {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid rgba(185, 28, 28, 0.28);
    border-radius: 14px;
    background: rgba(254, 226, 226, 0.92);
    color: #7f1d1d;
    line-height: 1.8;
}

.gathering-order-note p {
    margin: 0;
}

.gathering-order-note button {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    background: rgba(127, 29, 29, 0.12);
    color: #7f1d1d;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.transport-block-message {
    display: grid;
    gap: 18px;
    justify-items: center;
    text-align: center;
}

.transport-block-message p {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
}

.admin-form--bus-trip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-form--bus-trip > label {
    grid-column: span 2;
}

.admin-form--bus-trip > .full-span {
    grid-column: 1 / -1;
}

.bus-trip-first-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

@media (max-width: 900px) {
    .admin-form--three-columns,
    .admin-form--bus-trip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-form--bus-trip > label {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .admin-form--three-columns,
    .admin-form--bus-trip {
        grid-template-columns: 1fr;
    }

    .bus-trip-first-row {
        grid-template-columns: 1fr;
    }
}

.train-ticket-verify-page {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #f5f1e6;
    font-family: 'Tajawal', sans-serif;
}

.train-ticket-verify-card {
    width: min(440px, 100%);
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 42px rgba(31, 47, 74, 0.12);
    text-align: center;
}

.train-ticket-verify-card__brand {
    color: #1f2f4a;
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.4;
}

.train-ticket-verify-card__badge {
    width: fit-content;
    margin: 0 auto;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(47, 159, 74, 0.1);
    color: #24763a;
    font-size: 0.8rem;
    font-weight: 900;
}

.train-ticket-verify-card h1 {
    margin: 0;
    color: #1f2f4a;
    font-size: 1.25rem;
}

.train-ticket-verify-card p {
    margin: 0;
    color: #536179;
    font-weight: 800;
}

.train-ticket-verify-card__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.train-ticket-verify-card__grid div {
    display: grid;
    gap: 5px;
    padding: 12px;
    border-radius: 14px;
    background: #f8f9fc;
}

.train-ticket-verify-card__grid span {
    color: #6f7a8d;
    font-size: 0.72rem;
    font-weight: 900;
}

.train-ticket-verify-card__grid strong {
    color: #1458c8;
    font-size: 1rem;
    line-height: 1.4;
}

@media print {
    @page {
        margin: 0;
    }

    @page mina-tents-list {
        margin: 12mm;
    }

    body.admin-page.mina-tents-printing {
        background: #fff;
        page: mina-tents-list;
    }

    body.admin-page.mina-tents-printing .admin-sidebar,
    body.admin-page.mina-tents-printing .admin-topbar,
    body.admin-page.mina-tents-printing .admin-theme-switch,
    body.admin-page.mina-tents-printing [data-admin-notifications],
    body.admin-page.mina-tents-printing .admin-notification-card,
    body.admin-page.mina-tents-printing .admin-sidebar-mobile-toggle,
    body.admin-page.mina-tents-printing .admin-sidebar-overlay,
    body.admin-page.mina-tents-printing .admin-head__actions,
    body.admin-page.mina-tents-printing .alert,
    body.admin-page.mina-tents-printing .mina-tents-filters,
    body.admin-page.mina-tents-printing .mina-map-print-sheet,
    body.admin-page.mina-tents-printing .admin-inline-modal,
    body.admin-page.mina-tents-printing .icon-btn,
    body.admin-page.mina-tents-printing .table-actions,
    body.admin-page.mina-tents-printing svg,
    body.admin-page.mina-tents-printing .no-print,
    body.admin-page.mina-tents-printing .print-hide,
    body.admin-page.mina-tents-printing .screen-label {
        display: none !important;
    }

    body.admin-page.mina-tents-printing .print-label {
        display: inline !important;
    }

    body.admin-page.mina-tents-printing .admin-panel--wide > :not(.mina-tents-print-summary):not(.mina-tents-print-area) {
        display: none !important;
    }

    body.admin-page.mina-tents-printing .admin-desktop,
    body.admin-page.mina-tents-printing .admin-panel,
    body.admin-page.mina-tents-printing .admin-panel--wide {
        display: block;
        width: 100%;
        max-width: none;
        min-height: auto;
        margin: 0;
        padding: 0;
        background: #fff;
        box-shadow: none;
        border: 0;
    }

    body.admin-page.mina-tents-printing .admin-head {
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid #d8dee9;
    }

    body.admin-page.mina-tents-printing .admin-head .eyebrow {
        color: #334155;
    }

    body.admin-page.mina-tents-printing .mina-tents-print-summary {
        display: block;
        margin: 0 0 12px;
        color: #111827;
        text-align: center;
    }

    body.admin-page.mina-tents-printing .admin-print-brand {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        direction: rtl;
        gap: 10px;
        margin: 0 0 10px;
        color: #111827;
        font-size: 18px;
        font-weight: 800;
    }

    body.admin-page.mina-tents-printing .admin-print-brand img {
        width: 54px;
        height: 54px;
        object-fit: contain;
    }

    body.admin-page.mina-tents-printing .admin-print-brand span {
        display: grid;
        gap: 2px;
        text-align: right;
    }

    body.admin-page.mina-tents-printing .admin-print-brand small {
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: #475569;
        line-height: 1.35;
    }

    body.admin-page.mina-tents-printing .mina-tents-print-summary h2 {
        margin: 0 0 6px;
        font-size: 18px;
    }

    body.admin-page.mina-tents-printing .admin-print-filter-title {
        margin: 8px auto 12px;
        padding: 8px 10px;
        border: 1px solid #d8dee9;
        background: #f8fafc;
        text-align: right;
    }

    body.admin-page.mina-tents-printing .admin-print-filter-title strong {
        display: block;
        margin-bottom: 4px;
        font-size: 13px;
    }

    body.admin-page.mina-tents-printing .admin-print-filter-title p {
        margin: 0;
        font-size: 12px;
    }

    body.admin-page.mina-tents-printing .users-table-wrap {
        overflow: visible;
        border: 0;
        box-shadow: none;
    }

    body.admin-page.mina-tents-printing .users-table {
        min-width: 0;
        width: 100%;
        border-collapse: collapse;
        font-size: 10px;
    }

    body.admin-page.mina-tents-printing .users-table th,
    body.admin-page.mina-tents-printing .users-table td {
        padding: 6px 5px;
        border: 1px solid #d8dee9;
        color: #111827;
        background: #fff;
    }

    body.admin-page.bus-trips-printing {
        background: #fff;
        page: mina-tents-list;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    html:has(body.admin-page.bus-trips-printing) {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    body.admin-page.bus-trips-printing .admin-sidebar,
    body.admin-page.bus-trips-printing .admin-topbar,
    body.admin-page.bus-trips-printing .admin-theme-switch,
    body.admin-page.bus-trips-printing [data-admin-notifications],
    body.admin-page.bus-trips-printing .admin-notification-card,
    body.admin-page.bus-trips-printing .admin-sidebar-mobile-toggle,
    body.admin-page.bus-trips-printing .admin-sidebar-overlay,
    body.admin-page.bus-trips-printing .admin-head__actions,
    body.admin-page.bus-trips-printing .alert,
    body.admin-page.bus-trips-printing .bus-trips-filters,
    body.admin-page.bus-trips-printing .admin-inline-modal,
    body.admin-page.bus-trips-printing .icon-btn,
    body.admin-page.bus-trips-printing .table-actions,
    body.admin-page.bus-trips-printing svg {
        display: none !important;
    }

    body.admin-page.bus-trips-printing .admin-panel--wide > :not(.bus-trips-print-summary):not(.bus-trips-print-area) {
        display: none !important;
    }

    body.admin-page.bus-trips-printing .admin-desktop,
    body.admin-page.bus-trips-printing .admin-panel,
    body.admin-page.bus-trips-printing .admin-panel--wide {
        display: block;
        width: 100%;
        max-width: none;
        height: auto !important;
        min-height: auto;
        max-height: none !important;
        margin: 0;
        padding: 0;
        background: #fff;
        box-shadow: none;
        border: 0;
        overflow: visible !important;
    }

    body.admin-page.bus-trips-printing .bus-trips-print-summary {
        display: block;
        margin: 0 0 12px;
        color: #111827;
        text-align: center;
    }

    body.admin-page.bus-trips-printing .admin-print-brand {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        direction: rtl;
        gap: 10px;
        margin: 0 0 10px;
        color: #111827;
        font-size: 18px;
        font-weight: 800;
    }

    body.admin-page.bus-trips-printing .admin-print-brand img {
        width: 54px;
        height: 54px;
        object-fit: contain;
    }

    body.admin-page.bus-trips-printing .admin-print-brand span {
        display: grid;
        gap: 2px;
        text-align: right;
    }

    body.admin-page.bus-trips-printing .admin-print-brand small {
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: #475569;
        line-height: 1.35;
    }

    body.admin-page.bus-trips-printing .bus-trips-print-summary h2 {
        margin: 0 0 6px;
        font-size: 18px;
    }

    body.admin-page.bus-trips-printing .admin-print-filter-title {
        margin: 8px auto 12px;
        padding: 8px 10px;
        border: 1px solid #d8dee9;
        background: #f8fafc;
        text-align: right;
    }

    body.admin-page.bus-trips-printing .admin-print-filter-title p {
        margin: 0;
        font-size: 12px;
    }

    body.admin-page.bus-trips-printing .users-table-wrap {
        display: block;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        border: 0;
        box-shadow: none;
    }

    body.admin-page.bus-trips-printing .users-table {
        min-width: 0;
        width: 100%;
        border-collapse: collapse;
        font-size: 9px;
        page-break-inside: auto;
    }

    body.admin-page.bus-trips-printing .users-table thead {
        display: table-header-group;
    }

    body.admin-page.bus-trips-printing .users-table tfoot {
        display: table-footer-group;
    }

    body.admin-page.bus-trips-printing .users-table tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    body.admin-page.bus-trips-printing .users-table th,
    body.admin-page.bus-trips-printing .users-table td {
        padding: 5px 4px;
        border: 1px solid #d8dee9;
        color: #111827;
        background: #fff;
    }

    body.admin-page.mina-map-printing {
        background: #fff;
        margin: 0;
    }

    body.admin-page.mina-map-printing .admin-sidebar,
    body.admin-page.mina-map-printing .admin-topbar,
    body.admin-page.mina-map-printing .admin-theme-switch,
    body.admin-page.mina-map-printing [data-admin-notifications],
    body.admin-page.mina-map-printing .admin-notification-card,
    body.admin-page.mina-map-printing .admin-sidebar-mobile-toggle,
    body.admin-page.mina-map-printing .admin-sidebar-overlay,
    body.admin-page.mina-map-printing .admin-head,
    body.admin-page.mina-map-printing .alert,
    body.admin-page.mina-map-printing .mina-tents-filters,
    body.admin-page.mina-map-printing .mina-tents-print-summary,
    body.admin-page.mina-map-printing .users-table-wrap,
    body.admin-page.mina-map-printing .icon-btn,
    body.admin-page.mina-map-printing .table-actions,
    body.admin-page.mina-map-printing svg,
    body.admin-page.mina-map-printing .admin-inline-modal {
        display: none !important;
    }

    body.admin-page.mina-map-printing .admin-panel--wide > :not(.mina-map-print-sheet) {
        display: none !important;
    }

    body.admin-page.mina-map-printing .admin-desktop,
    body.admin-page.mina-map-printing .admin-panel,
    body.admin-page.mina-map-printing .admin-panel--wide {
        display: block;
        width: 100%;
        max-width: none;
        min-height: auto;
        margin: 0;
        padding: 0;
        background: #fff;
        box-shadow: none;
        border: 0;
    }

    body.admin-page.mina-map-printing .mina-map-print-sheet {
        display: block;
        width: 100vw;
        height: 100vh;
        color: #111827;
        text-align: center;
    }

    body.admin-page.mina-map-printing .mina-map-print-sheet img {
        display: block;
        width: 100vw;
        height: 100vh;
        margin: 0 auto;
        object-fit: contain;
    }

    .train-ticket-print-page {
        background: #fff;
    }

    .train-ticket-print-shell {
        width: 100%;
        padding: 0;
    }

    .train-ticket-print-actions {
        display: none;
    }

    .train-ticket--print {
        box-shadow: none;
        border-color: #e4e7ee;
    }
}

.train-trip-details {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    color: var(--text);
}

.train-trip-details[hidden] {
    display: none;
}

.train-trip-details strong {
    font-size: 1rem;
    line-height: 1.4;
}

.train-trip-details__subtitle {
    margin-top: 4px;
}

.train-trip-details__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
}

.train-trip-details__grid > span {
    min-width: 0;
    padding: 9px 10px;
    border-radius: 12px;
    background: rgba(248, 249, 252, 0.92);
    color: #536179;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.train-trip-details__grid > span b {
    color: #1458c8;
    font-weight: 900;
    min-width: 0;
    line-height: 1.25;
}

.train-detail-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #536179;
    flex: 0 0 auto;
    line-height: 1.25;
    white-space: nowrap;
}

.train-detail-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b49354;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.train-detail-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.train-trip-details__full {
    grid-column: 1 / -1;
}

.train-open-seats-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2px;
}

.train-open-seats-btn[hidden],
#train-submit-btn[hidden],
.train-layout-card[hidden] {
    display: none;
}

.train-seats-grid {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.train-car-layout {
    width: min(390px, 100%);
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 18px 12px 24px;
    border-radius: 36px;
    background: #fff;
    box-shadow: 0 20px 42px rgba(31, 47, 74, 0.12);
    direction: ltr;
    overflow: hidden;
}

.train-car-layout__nav {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    direction: rtl;
}

.train-car-layout__nav strong {
    color: #33363b;
    font-size: 1.28rem;
    font-weight: 900;
    text-align: center;
    min-width: 0;
}

.train-car-layout__arrow {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #b08a06;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 9px 18px rgba(176, 138, 6, 0.2);
}

.train-car-layout__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.train-car-layout__arrow svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.train-car-layout__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(48px, 1fr)) minmax(24px, 0.38fr) repeat(2, minmax(48px, 1fr));
    gap: 9px 6px;
    align-items: start;
}

.train-seat-box--col-3 {
    grid-column: 4;
}

.train-seat-box--col-4 {
    grid-column: 5;
}

.train-car-layout__separator {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(48px, 1fr)) minmax(24px, 0.38fr) repeat(2, minmax(48px, 1fr));
    gap: 9px 6px;
    padding: 6px 0;
}

.train-car-layout__separator span {
    height: 24px;
    border-radius: 8px;
    background: #ded8cc;
}

.train-car-layout__separator span:nth-child(3) {
    grid-column: 4;
}

.train-car-layout__separator span:nth-child(4) {
    grid-column: 5;
}

.train-seat-placeholder {
    min-height: 66px;
}

.train-seat-box {
    min-height: 66px;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
    cursor: pointer;
    color: #6a6a6a;
}

.train-seat-box--reverse {
    flex-direction: column-reverse;
}

.train-seat-box--reverse .train-seat-chair {
    transform: rotate(180deg);
}

.train-seat-box:disabled {
    cursor: not-allowed;
}

.train-seat-number {
    color: #686868;
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1;
}

.train-seat-chair {
    --seat-color: #fff;
    --seat-stroke: #8b8f93;
    position: relative;
    width: 48px;
    height: 39px;
    display: block;
}

.train-seat-chair__pad,
.train-seat-chair__back,
.train-seat-chair__arm {
    position: absolute;
    background: var(--seat-color);
    border: 2px solid var(--seat-stroke);
}

.train-seat-chair__pad {
    left: 8px;
    right: 8px;
    bottom: 1px;
    height: 25px;
    border-radius: 8px 8px 6px 6px;
}

.train-seat-chair__back {
    left: 6px;
    right: 6px;
    top: 0;
    height: 14px;
    border-radius: 8px;
    z-index: 2;
}

.train-seat-chair__arm {
    top: 10px;
    width: 10px;
    height: 25px;
    border-radius: 7px;
    z-index: 3;
}

.train-seat-chair__arm--left {
    left: 0;
}

.train-seat-chair__arm--right {
    right: 0;
}

@media (max-width: 380px) {
    .train-car-layout {
        width: 100%;
        padding-inline: 8px;
        border-radius: 30px;
    }

    .train-car-layout__nav {
        grid-template-columns: 42px minmax(0, 1fr) 42px;
        gap: 6px;
    }

    .train-car-layout__arrow {
        width: 42px;
        height: 42px;
    }

    .train-car-layout__nav strong {
        font-size: 1.12rem;
    }

    .train-car-layout__body,
    .train-car-layout__separator {
        grid-template-columns: repeat(2, minmax(42px, 1fr)) minmax(18px, 0.28fr) repeat(2, minmax(42px, 1fr));
        gap: 8px 4px;
    }

    .train-seat-box,
    .train-seat-placeholder {
        min-height: 60px;
    }

    .train-seat-number {
        font-size: 1.02rem;
    }

    .train-seat-chair {
        width: 42px;
        height: 34px;
    }

    .train-seat-chair__pad {
        left: 7px;
        right: 7px;
        height: 22px;
    }

    .train-seat-chair__back {
        left: 6px;
        right: 6px;
        height: 12px;
    }

    .train-seat-chair__arm {
        top: 9px;
        width: 9px;
        height: 22px;
    }
}

.train-seat-box.is-booked .train-seat-chair {
    --seat-color: #c50000;
    --seat-stroke: #8b8f93;
}

.train-seat-box.bus-train-seat-box.is-booked .train-seat-chair {
    --seat-color: rgba(248, 113, 113, 0.52);
    --seat-stroke: #b91c1c;
}

.train-seat-box.arafah-seat-box.is-booked .train-seat-chair {
    --seat-color: rgba(248, 113, 113, 0.42);
    --seat-stroke: #dc6b6b;
}

.train-seat-box.camp-room-train-seat.is-booked .train-seat-chair {
    --seat-color: rgba(248, 113, 113, 0.42);
    --seat-stroke: #dc6b6b;
}

.train-seat-box.is-selected .train-seat-chair {
    --seat-color: rgba(74, 222, 128, 0.52);
    --seat-stroke: #2f9f4a;
}

.train-seat-box.is-available .train-seat-chair {
    --seat-color: #fff;
    --seat-stroke: #8b8f93;
}

.train-empty-state,
.train-luggage-modal__text {
    color: #536179;
    font-weight: 700;
    line-height: 1.7;
}

.train-empty-state {
    padding: 20px;
    text-align: center;
}

.train-luggage-modal__panel {
    max-height: calc(100dvh - var(--app-header-height) - 28px);
    padding-top: 0;
    overflow: hidden;
}

.train-luggage-modal {
    position: fixed;
    inset: var(--app-header-height) 0 0;
    z-index: 1300;
    padding: 14px 18px max(14px, env(safe-area-inset-bottom));
}

.train-luggage-modal__image {
    display: block;
    width: min(100%, 340px);
    max-height: min(58vh, 520px);
    object-fit: contain;
    margin: 0 auto 10px;
    border-radius: 0 0 18px 18px;
}

.luggage-allowance-visual {
    width: min(100%, 340px);
    margin: 0 auto 10px;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(180deg, #fbfaf8 0%, #f7f3ed 100%);
    overflow: hidden;
}

.luggage-allowance-visual__hero {
    display: block;
    width: 100%;
    height: auto;
}

.luggage-allowance-visual__allowed {
    position: relative;
    margin: 0 8px 8px;
    padding: 12px 12px 14px;
    border: 2px solid #52bb5f;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
}

.luggage-allowance-visual__allowed strong {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #379047;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.1;
}

.luggage-allowance-visual__check {
    width: 30px;
    height: 30px;
    border: 1.8px solid #74aa7b;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}

.luggage-allowance-visual__alert {
    position: absolute;
    top: -22px;
    left: 18px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: #fff;
    font-size: 0;
    box-shadow: 0 3px 12px rgba(232, 83, 89, 0.22);
}

.luggage-allowance-visual__alert::before {
    content: "!";
    width: 31px;
    height: 28px;
    display: grid;
    place-items: center;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    background: #ef4d58;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 900;
    padding-top: 8px;
}

.luggage-allowance-visual__items {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 10px;
    margin-top: 14px;
    text-align: center;
}

.luggage-allowance-visual__items div {
    display: grid;
    justify-items: center;
    gap: 3px;
    color: #3d4754;
}

.luggage-allowance-visual__items b {
    font-size: 0.76rem;
    line-height: 1.2;
}

.luggage-allowance-visual__items small {
    color: #9a9fa6;
    font-size: 0.64rem;
    font-weight: 800;
}

.luggage-allowance-visual__plus {
    color: #6d6d6d;
    font-size: 1.6rem;
    line-height: 1.6;
}

.luggage-allowance-visual__mini-bag,
.luggage-allowance-visual__mini-suitcase {
    display: block;
    background: transparent;
}

.luggage-allowance-visual__mini-bag svg,
.luggage-allowance-visual__mini-suitcase svg {
    display: block;
    width: 54px;
    height: 54px;
}

.luggage-allowance-visual__mini-suitcase svg {
    width: 58px;
    height: 58px;
}

.bus-train-seat-box {
    width: var(--bus-seat-size);
    min-height: 66px;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.bus-train-seat-box::before,
.bus-train-seat-box::after {
    content: none;
}

.bus-train-seat-box .train-seat-number {
    font-size: 0.92rem;
}

.bus-train-seat-box .train-seat-chair,
.camp-room-train-seat .train-seat-chair {
    width: 42px;
    height: 34px;
}

.bus-train-seat-box .train-seat-chair {
    transform: rotate(180deg);
}

.bus-train-seat-box .train-seat-chair__pad,
.camp-room-train-seat .train-seat-chair__pad {
    left: 7px;
    right: 7px;
    height: 22px;
}

.bus-train-seat-box .train-seat-chair__back,
.camp-room-train-seat .train-seat-chair__back {
    left: 6px;
    right: 6px;
    height: 12px;
}

.bus-train-seat-box .train-seat-chair__arm,
.camp-room-train-seat .train-seat-chair__arm {
    top: 9px;
    width: 9px;
    height: 22px;
}

.bus-layout__empty,
.bus-layout__row {
    min-height: 66px;
}

.camp-room-layout__row,
.camp-room-layout__empty,
.camp-room-layout__aisle {
    min-height: 36px;
}

.camp-room-layout__row {
    grid-template-columns: minmax(58px, 1fr) 0 minmax(58px, 1fr);
    gap: 0;
}

.camp-room-train-seat,
.seat-box.camp-room-train-seat,
.seat-box.camp-room-train-seat.is-available,
.seat-box.camp-room-train-seat.is-selected,
.seat-box.camp-room-train-seat.is-booked,
.seat-box.camp-room-train-seat.camp-room-seat--profiled {
    min-height: 34px;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.camp-room-train-seat .train-seat-number {
    font-size: 0.86rem;
    min-width: 1.6em;
    text-align: center;
}

.camp-room-seat--left {
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0;
}

.camp-room-seat--right {
    flex-direction: row;
    justify-content: flex-end;
    gap: 0;
}

.camp-room-seat--left .train-seat-chair {
    transform: rotate(90deg);
}

.camp-room-seat--right .train-seat-chair {
    transform: rotate(-90deg);
}

.train-luggage-modal__actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.group-schedule-empty {
    display: grid;
    justify-items: center;
}

.group-schedule-empty .primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    width: fit-content;
    min-width: 180px;
}

.users-table tr.is-past-schedule {
    opacity: 0.46;
}

.group-schedule-card--past {
    opacity: 0.46;
    filter: grayscale(0.18);
}

.group-schedule-accordion .hajj-guide-card__title {
    font-size: 0.9rem;
}

.group-schedule-tab .hajj-guide-card__body {
    padding-top: 0;
}

.sunnah-guide-hadiths {
    display: grid;
    gap: 14px;
}

.sunnah-guide-hadith {
    display: grid;
    gap: 10px;
}

.sunnah-guide-hadith + .sunnah-guide-hadith {
    padding-top: 14px;
    border-top: 1px solid rgba(132, 104, 70, 0.12);
}

.sunnah-guide-hadith__text {
    font-weight: 600;
}

@media (max-width: 520px) {
    .train-ticket__top {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .train-ticket__qr {
        width: 94px;
        height: 94px;
        gap: 2px;
    }

    .train-ticket__head small {
        max-width: 190px;
        font-size: 0.62rem;
    }

    .booking-ticket .train-ticket__head span {
        font-size: 1.15rem;
        line-height: 1.12;
    }

    .train-ticket__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .train-trip-option {
        gap: 8px;
        padding: 10px;
        border-radius: 16px;
    }

    .train-trip-option__head {
        grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.08fr) minmax(0, 0.9fr);
        justify-items: stretch;
        gap: 4px;
        padding-bottom: 6px;
    }

    .train-trip-option__date,
    .train-trip-option__number {
        font-size: 0.76rem;
        gap: 3px;
    }

    .train-trip-option__date {
        justify-content: flex-end;
    }

    .train-trip-option__route {
        font-size: 0.76rem;
        font-weight: 900;
    }

    .train-trip-option__icon {
        width: 13px;
        height: 13px;
    }

    .train-trip-option__meta {
        gap: 5px;
    }

    .train-trip-option__meta span {
        padding: 6px 5px;
    }

    .train-trip-option__meta b,
    .train-trip-option__stations b {
        font-size: 0.68rem;
    }

    .train-trip-option__meta strong {
        font-size: 0.78rem;
    }

    .train-trip-option__stations span {
        align-items: flex-start;
        padding: 6px 8px;
    }

    .train-trip-option__stations strong {
        font-size: 0.72rem;
    }

    .train-trip-option__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .train-trip-details__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .train-trip-details__grid > span {
        padding: 8px;
        font-size: 0.76rem;
    }
}

.verification-info {
    margin-bottom: 18px;
}

.verification-form input {
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: 0.35rem;
}

.verification-intro {
    text-align: center;
    align-items: center;
    margin-top: 0;
    margin-bottom: 16px;
}

.verification-logo {
    width: 78px;
    height: 78px;
    object-fit: contain;
    margin: 0 auto 8px;
    display: block;
}

.verification-brand {
    margin: 0;
    color: #846846;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.5;
}

.verification-brand--sub {
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 700;
}

.verification-intro h1 {
    width: 100%;
    text-align: center;
}

.verification-form {
    align-items: center;
}

.verification-boxes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 6px 0 18px;
}

.verification-timer {
    margin: -6px 0 10px;
    text-align: center;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.verification-timer--expired {
    color: #b42318;
}

.verification-digit {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(199, 209, 226, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: normal;
    direction: ltr;
}

.verification-digit:focus {
    outline: none;
    border-color: #2f6fed;
    box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.12);
}

.verification-form .primary-btn {
    background: #846846;
    border-color: #846846;
}

body.admin-page {
    --admin-topbar-height: 72px;
    --admin-sidebar-width: 300px;
    overflow: auto;
}

body.admin-page.admin-theme-dark {
    --bg: #0f1725;
    --panel: rgba(18, 28, 45, 0.88);
    --panel-strong: rgba(16, 24, 38, 0.96);
    --line: rgba(158, 177, 212, 0.16);
    --text: #edf2fb;
    --muted: #aab8d0;
    --shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
    background:
        radial-gradient(circle at top right, rgba(67, 145, 255, 0.18), transparent 24%),
        radial-gradient(circle at bottom left, rgba(37, 164, 108, 0.16), transparent 22%),
        linear-gradient(180deg, #0c1320 0%, #121d2f 100%);
}

body.admin-theme-dark::before {
    background: rgba(36, 27, 18, 0.96);
}

body.admin-page .admin-desktop {
    min-height: calc(100vh - 40px);
    padding: 132px 28px 28px;
    display: block;
    position: relative;
}

body.admin-page .admin-sidebar {
    width: var(--admin-sidebar-width);
    flex: none;
    position: fixed;
    top: 56px;
    right: 28px;
    bottom: 28px;
    overflow-y: auto;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 48px rgba(39, 53, 82, 0.12);
    border-radius: 30px;
    padding: 18px 16px 22px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

body.admin-theme-dark .admin-sidebar {
    background: rgba(17, 27, 42, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.32);
}

body.admin-page .admin-panel--wide,
body.admin-page .admin-panel:not(.admin-modal-panel) {
    width: auto;
    margin-right: calc(var(--admin-sidebar-width) + 24px);
}

body.admin-page .admin-topbar {
    position: fixed;
    top: 56px;
    right: calc(var(--admin-sidebar-width) + 52px);
    left: 28px;
    min-height: var(--admin-topbar-height);
    padding: 12px 18px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 44px rgba(39, 53, 82, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    z-index: 1120;
}

body.admin-page--dashboard .admin-desktop {
    padding-top: 92px;
}

body.admin-page--dashboard .admin-topbar {
    top: 22px;
}

body.admin-page--dashboard .admin-topbar--plain {
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
}

body.admin-page--dashboard .dashboard-page .admin-head {
    margin-top: 0;
}

body.admin-theme-dark .admin-topbar {
    background: rgba(17, 27, 42, 0.96);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

body.admin-page--dashboard.admin-theme-dark .admin-topbar--plain {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.admin-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 8px 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(125, 138, 162, 0.12);
}

.admin-sidebar__brand-mark {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(244, 247, 252, 0.96);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.admin-sidebar__brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.admin-sidebar__brand-mark span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-color);
}

.admin-sidebar__brand-text {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.admin-sidebar__brand-text strong {
    font-size: 1.55rem;
    line-height: 1.25;
}

.admin-sidebar__brand-text span {
    color: #19b89a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

body.admin-theme-dark .admin-sidebar__brand {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.admin-theme-dark .admin-sidebar__brand-mark {
    background: rgba(255, 255, 255, 0.04);
}

body.admin-page .admin-sidebar__nav {
    margin-top: 8px;
    gap: 12px;
}

body.admin-page .admin-sidebar__nav > a,
body.admin-page .admin-sidebar__group-toggle {
    border-radius: 20px;
    background: rgba(235, 241, 250, 0.92);
    color: #32435f;
}

body.admin-page .admin-sidebar__nav > a {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.admin-page .admin-sidebar__main-link-icon {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 18px;
}

body.admin-page .admin-sidebar__main-link-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

body.admin-page .admin-sidebar__main-link-separator {
    width: 1px;
    height: 14px;
    background: currentColor;
    opacity: 0.28;
    flex: 0 0 1px;
}

body.admin-page .admin-sidebar__nav > a.is-active,
body.admin-page .admin-sidebar__group[open] .admin-sidebar__group-toggle,
body.admin-page .admin-sidebar__group.is-open .admin-sidebar__group-toggle {
    background: #364a7f;
    color: #fff;
}

body.admin-theme-dark .admin-sidebar__nav > a,
body.admin-theme-dark .admin-sidebar__group-toggle {
    background: rgba(255, 255, 255, 0.05);
    color: #dce6f8;
}

body.admin-theme-dark .admin-sidebar__nav > a.is-active,
body.admin-theme-dark .admin-sidebar__group[open] .admin-sidebar__group-toggle,
body.admin-theme-dark .admin-sidebar__group.is-open .admin-sidebar__group-toggle {
    background: #506bb2;
    color: #fff;
}

body.admin-page .admin-sidebar__group-links {
    padding-right: 14px;
    gap: 10px;
}

body.admin-page .admin-sidebar__group-links a {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(247, 249, 253, 0.96);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.08);
    color: var(--text);
}

body.admin-page .admin-sidebar__group-links a.is-active {
    background: rgba(54, 74, 127, 0.12);
    color: #294b96;
    font-weight: 700;
}

body.admin-theme-dark .admin-sidebar__group-links a {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

body.admin-theme-dark .admin-sidebar__group-links a.is-active {
    background: rgba(98, 132, 217, 0.16);
    color: #bfd2ff;
}

.admin-topbar__start,
.admin-topbar__end {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-topbar__start {
    min-width: 0;
    flex: 1 1 auto;
}

.admin-theme-switch {
    border: 0;
    min-width: 138px;
    height: 46px;
    padding: 6px 10px 6px 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.admin-theme-switch__label {
    font-weight: 800;
    color: #16243a;
}

.admin-theme-switch__track {
    width: 58px;
    height: 32px;
    border-radius: 999px;
    background: #f5c561;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 4px;
}

.admin-theme-switch__thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(39, 53, 82, 0.14);
    transition: transform 0.2s ease;
}

body.admin-theme-dark .admin-theme-switch {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

body.admin-theme-dark .admin-theme-switch__label {
    color: #edf2fb;
}

body.admin-theme-dark .admin-theme-switch__track {
    background: #293651;
}

body.admin-theme-dark .admin-theme-switch__thumb {
    transform: translateX(-26px);
    background: #9ebcff;
}

.admin-topbar-search {
    min-width: 0;
    max-width: 360px;
    flex: 1 1 360px;
    position: relative;
}

.admin-topbar-search__box {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
}

.admin-topbar-search__icon {
    width: 22px;
    height: 22px;
    color: var(--muted);
    display: inline-grid;
    place-items: center;
}

.admin-topbar-search__icon svg {
    width: 22px;
    height: 22px;
}

.admin-topbar-search__box input {
    width: 100%;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--text);
}

.admin-topbar-search__results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 48px rgba(39, 53, 82, 0.16);
    border: 1px solid rgba(120, 134, 159, 0.12);
    display: grid;
    gap: 8px;
    z-index: 20;
}

.admin-topbar-search__results[hidden],
.admin-topbar-search__results:empty {
    display: none !important;
}

.admin-search-result,
.admin-topbar-search__empty {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(244, 247, 252, 0.94);
    display: grid;
    gap: 4px;
}

.admin-search-result strong {
    color: var(--text);
    font-size: 0.98rem;
}

.admin-search-result span,
.admin-search-result small,
.admin-topbar-search__empty {
    color: var(--muted);
}

body.admin-theme-dark .admin-topbar-search__box,
body.admin-theme-dark .admin-topbar-search__results,
body.admin-theme-dark .admin-search-result,
body.admin-theme-dark .admin-topbar-search__empty {
    background: rgba(19, 30, 48, 0.98);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.admin-topbar__notifications {
    position: relative;
}

.admin-topbar__notifications-btn {
    border: 0;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.admin-topbar__notifications-text {
    font-weight: 800;
}

.admin-topbar__notifications-badge {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #de5149;
    color: #fff;
    font-weight: 800;
}

.admin-topbar__notifications-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 1500;
    width: 360px;
    max-width: min(88vw, 360px);
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 48px rgba(39, 53, 82, 0.16);
    border: 1px solid rgba(120, 134, 159, 0.1);
}

.admin-topbar__notifications-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.admin-topbar__notifications-head strong {
    font-size: 1.02rem;
}

.admin-topbar__notifications-head small {
    color: var(--muted);
}

.admin-topbar__notifications-list {
    display: grid;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
}

.admin-notification-card,
.admin-notification-strip__item {
    padding: 14px 16px;
    border-radius: 18px;
    display: grid;
    gap: 6px;
    background: rgba(244, 247, 252, 0.96);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.1);
}

.admin-notification-card strong,
.admin-notification-strip__item strong {
    color: var(--text);
}

.admin-notification-card p,
.admin-notification-strip__item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.admin-notification-card span {
    color: #19b89a;
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-topbar__notifications-empty {
    padding: 18px;
    border-radius: 18px;
    background: rgba(244, 247, 252, 0.96);
    color: var(--muted);
    text-align: center;
}

.admin-topbar__notifications-all {
    margin-top: 12px;
    min-height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: rgba(123, 94, 41, 0.1);
    color: #6f5525;
    font-weight: 800;
}

.admin-notification-card--clinic,
.admin-notification-strip__item--clinic {
    border-right: 4px solid #4891f4;
}

.admin-notification-card--support,
.admin-notification-strip__item--support {
    border-right: 4px solid #ce7e2b;
}

body.admin-theme-dark .admin-topbar__notifications-btn,
body.admin-theme-dark .admin-topbar__notifications-panel,
body.admin-theme-dark .admin-notification-card,
body.admin-theme-dark .admin-notification-strip__item,
body.admin-theme-dark .admin-topbar__notifications-empty {
    background: rgba(19, 30, 48, 0.98);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.admin-notifications-page-list {
    display: grid;
    gap: 12px;
}

.admin-notification-row {
    padding: 16px 18px;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
}

.admin-notification-row__type {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(72, 145, 244, 0.12);
    color: #2f6fbf;
    font-weight: 800;
    white-space: nowrap;
}

.admin-notification-row--support .admin-notification-row__type {
    background: rgba(206, 126, 43, 0.14);
    color: #9b5f20;
}

.admin-notification-row strong {
    color: var(--text);
}

.admin-notification-row p {
    margin: 4px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.admin-notification-row time {
    color: #19b89a;
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
}

.admin-notification-detail-card {
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
    border-right: 5px solid #4891f4;
}

.admin-notification-detail-card--support {
    border-right-color: #ce7e2b;
}

.admin-notification-detail-card__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(120, 134, 159, 0.14);
}

.admin-notification-detail-card__summary strong {
    color: var(--text);
    line-height: 1.8;
}

.admin-notification-detail-card__summary span {
    color: #19b89a;
    font-weight: 800;
    white-space: nowrap;
}

.admin-notification-detail-grid {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.admin-notification-detail-grid div {
    padding: 14px;
    border-radius: 16px;
    background: rgba(244, 247, 252, 0.92);
}

.admin-notification-detail-grid dt {
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.admin-notification-detail-grid dd {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
    font-weight: 700;
}

.admin-notification-support-layout {
    display: grid;
    gap: 16px;
}

.admin-notification-support-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.admin-notification-support-card,
.admin-notification-support-text-card,
.admin-notification-support-status {
    border-radius: 16px;
    background: rgba(244, 247, 252, 0.92);
}

.admin-notification-support-card {
    min-height: 92px;
    padding: 14px;
    display: grid;
    align-content: center;
    gap: 6px;
}

.admin-notification-support-card small,
.admin-notification-support-text-card small,
.admin-notification-support-status small {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
}

.admin-notification-support-card strong,
.admin-notification-support-text-card strong,
.admin-notification-support-status strong {
    color: var(--text);
    line-height: 1.6;
    font-weight: 900;
}

.admin-notification-support-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 12px;
    align-items: stretch;
}

.admin-notification-support-text-card {
    padding: 18px;
    display: grid;
    gap: 16px;
}

.admin-notification-support-text-card p {
    margin: 6px 0 0;
    color: var(--text);
    line-height: 1.8;
    font-weight: 700;
    white-space: pre-wrap;
}

.admin-notification-support-status {
    padding: 18px;
    display: grid;
    place-items: center;
    align-content: center;
    text-align: center;
    border: 2px solid rgba(206, 126, 43, 0.24);
    background: linear-gradient(180deg, rgba(206, 126, 43, 0.18), rgba(206, 126, 43, 0.08));
}

.admin-notification-support-status strong {
    margin-top: 8px;
    font-size: 1.35rem;
    color: #9b5f20;
}

.admin-notification-support-status--completed {
    border-color: rgba(32, 163, 99, 0.28);
    background: linear-gradient(180deg, rgba(32, 163, 99, 0.18), rgba(32, 163, 99, 0.08));
}

.admin-notification-support-status--completed strong {
    color: #18794b;
}

body.admin-theme-dark .admin-notification-row,
body.admin-theme-dark .admin-notification-detail-card {
    background: rgba(19, 30, 48, 0.98);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body.admin-theme-dark .admin-notification-detail-grid div,
body.admin-theme-dark .admin-notification-support-card,
body.admin-theme-dark .admin-notification-support-text-card,
body.admin-theme-dark .admin-notification-support-status {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 760px) {
    .awareness-target-grid,
    .awareness-schedule-row {
        grid-template-columns: 1fr;
    }

    .system-activation-card__head,
    .system-activation-card__dates {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .system-activation-card__head {
        display: grid;
    }

    .system-activation-switch {
        width: 100%;
    }

    .admin-notification-row {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .admin-notification-row time {
        justify-self: start;
    }

    .admin-notification-detail-card__summary {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-notification-support-cards,
    .admin-notification-support-bottom {
        grid-template-columns: 1fr;
    }
}

.admin-topbar__user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-topbar__user-copy {
    display: grid;
    gap: 4px;
    text-align: right;
}

.admin-topbar__user-copy strong {
    font-size: 1rem;
}

.admin-topbar__user-copy span {
    color: #19b89a;
    font-size: 0.88rem;
    font-weight: 700;
}

.admin-topbar__avatar {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(244, 247, 252, 0.96);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.12);
    display: grid;
    place-items: center;
    color: var(--brand-color);
    font-weight: 800;
}

.admin-topbar__avatar-form {
    margin: 0;
}

.admin-topbar__avatar-input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}

.admin-topbar__avatar-upload {
    cursor: pointer;
}

.admin-topbar__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-topbar__logout-form {
    margin: 0;
}

.admin-topbar__logout {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 18px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 0 0 1px rgba(120, 134, 159, 0.14);
    color: var(--brand-color);
    cursor: pointer;
}

.admin-topbar__logout svg {
    width: 24px;
    height: 24px;
}

.admin-notification-strip {
    margin: -6px calc(var(--admin-sidebar-width) + 24px) 18px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pilgrim-show-page {
    display: grid;
    gap: 20px;
}

.pilgrim-show-hero {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 18px;
}

.pilgrim-show-photo,
.pilgrim-show-personal,
.pilgrim-show-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    border-radius: 28px;
}

.pilgrim-show-photo {
    min-height: 280px;
    overflow: hidden;
}

.pilgrim-show-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pilgrim-show-photo__placeholder {
    height: 100%;
    min-height: 280px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 700;
}

.pilgrim-show-personal {
    padding: 24px;
}

.pilgrim-show-personal h2 {
    margin: 0 0 18px;
    font-size: 1.8rem;
}

.pilgrim-show-grid,
.pilgrim-show-assignments {
    display: grid;
    gap: 14px;
}

.pilgrim-show-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pilgrim-show-field small,
.pilgrim-show-card small {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 700;
}

.pilgrim-show-field strong,
.pilgrim-show-card strong {
    color: var(--text);
    font-size: 1rem;
    font-weight: 800;
}

.pilgrim-show-card span {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.pilgrim-show-assignments {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pilgrim-show-card {
    padding: 18px;
    display: grid;
}

body.admin-theme-dark .pilgrim-show-photo,
body.admin-theme-dark .pilgrim-show-personal,
body.admin-theme-dark .pilgrim-show-card,
body.admin-theme-dark .admin-panel {
    background: rgba(18, 28, 45, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.28);
}

@media (min-width: 721px) {
    .login-shell:has(.landing-stack) {
        padding: 24px;
        background:
            radial-gradient(circle at top right, rgba(132, 104, 70, 0.14), transparent 30%),
            radial-gradient(circle at bottom left, rgba(36, 48, 67, 0.12), transparent 28%),
            linear-gradient(180deg, #f7f8fb 0%, #e9edf4 100%);
    }

    .login-shell:has(.landing-stack) .mobile-frame {
        width: min(430px, 100%);
        height: auto;
        min-height: 0;
        max-height: calc(100dvh - var(--app-header-height) - 48px);
        padding: 14px;
        border-radius: 30px;
        border: 1px solid rgba(255, 255, 255, 0.78);
        box-shadow: 0 26px 70px rgba(36, 48, 67, 0.18);
        background: linear-gradient(180deg, #fcfdff 0%, #eef3fb 100%);
    }

    .login-shell:has(.landing-stack) .mobile-frame--app {
        min-height: 0;
    }

    .login-shell:has(.landing-stack) .single-page-content {
        height: auto;
    }

    .login-shell:has(.landing-stack) .landing-stack {
        place-items: center;
        overflow: hidden;
        height: auto;
    }

    .login-shell:has(.landing-stack) .login-card-only {
        width: 100%;
        min-height: auto;
        padding: 18px 16px;
    }

    .login-shell:has(.landing-stack) .login-tabs-card {
        margin-top: 0;
        gap: 14px;
    }
}

@media (max-width: 720px) {
    .mobile-frame {
        width: 100%;
        min-height: 100vh;
        height: 100vh;
        max-height: 100vh;
        padding: 12px 12px 0;
        border-radius: 0;
        border: 0;
        box-shadow: none;
    }

    .mobile-frame--app,
    .login-card-only {
        min-height: auto;
    }

    .login-card-only,
    .hero-card,
    .section-block,
    .stat-card {
        padding: 18px;
        border-radius: 24px;
    }

    .login-card-only__intro h1,
    .hero-card h2,
    .section-head h3 {
        font-size: 1.55rem;
    }

    .section-head,
    .login-note {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-shell,
    .admin-desktop {
        padding: 14px;
        flex-direction: column;
        direction: rtl;
    }

    .admin-panel,
    .admin-sidebar {
        padding: 18px;
        border-radius: 24px;
    }

    .admin-inline-modal {
        padding: 14px;
    }

    .admin-sidebar {
        width: min(86vw, 320px);
        flex-basis: auto;
        position: fixed;
        top: 56px;
        right: 14px;
        bottom: 14px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 1210;
        transform: translateX(calc(100% + 24px));
        transition: transform 0.24s ease;
    }

    .admin-sidebar-mobile-toggle {
        display: flex;
    }

    .admin-sidebar-overlay {
        display: none;
    }

    .admin-sidebar-toggle:checked ~ .admin-sidebar {
        transform: translateX(0);
    }

    .admin-sidebar-toggle:checked ~ .admin-sidebar-overlay {
        display: block;
    }

    .admin-sidebar-toggle:checked + .admin-sidebar-mobile-toggle span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .admin-sidebar-toggle:checked + .admin-sidebar-mobile-toggle span:nth-child(2) {
        opacity: 0;
    }

    .admin-sidebar-toggle:checked + .admin-sidebar-mobile-toggle span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .admin-head,
    .admin-submit {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-head__actions {
        width: 100%;
        justify-content: space-between;
    }

    .admin-form,
    .recent-grid,
    .send-templates-grid,
    .facilities-form-grid {
        grid-template-columns: 1fr;
    }

    .facilities-form-grid--gathering .gathering-form-half {
        grid-column: 1 / -1;
    }

    .facilities-form-grid--sacred > label,
    .facilities-form-grid--sacred .sacred-form-half {
        grid-column: 1 / -1;
    }

    .admin-form--pilgrim-edit {
        grid-template-columns: 1fr;
    }

    .admin-form--arafah-hall,
    .admin-form--tent-edit {
        grid-template-columns: 1fr;
    }

    .admin-inline-switch-row--tent {
        grid-template-columns: 1fr;
    }

    .hall-nationality-picker.admin-inline-switch-row--tent {
        justify-items: stretch;
    }

    .hall-nationality-picker.admin-inline-switch-row--tent .hall-nationality-picker__main {
        width: 100%;
    }

    .hall-nationality-picker__line {
        justify-content: stretch;
    }

    .pilgrim-edit-hero,
    .pilgrim-edit-personal-grid,
    .pilgrim-edit-assignment-grid {
        grid-template-columns: 1fr;
    }

    .pilgrim-edit-block--group {
        grid-column: auto;
    }

    .hall-zone-row {
        grid-template-columns: 1fr;
    }

    .pilgrim-edit-photo-card {
        justify-items: stretch;
    }

    .pilgrim-edit-photo-card__frame {
        width: 100%;
        max-width: 220px;
    }

    .service-location-details__grid {
        grid-template-columns: 1fr;
    }

    .pilgrim-filters-bar {
        grid-template-columns: 1fr;
    }

    .pilgrim-filters-bar__actions {
        flex-wrap: wrap;
    }

    .pilgrims-pagination {
        align-items: stretch;
    }

    .pilgrims-pagination__summary,
    .pilgrims-pagination__size {
        width: 100%;
        justify-content: center;
    }

    .pilgrims-pagination__pages {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .dashboard-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-stats-grid--pilgrims,
    .dashboard-stats-grid--compact,
    .dashboard-stats-grid--transport {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-split-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-section {
        padding: 18px;
        border-radius: 24px;
    }

    .dashboard-section__head h2 {
        font-size: 1.18rem;
    }

    .dashboard-section__head p {
        font-size: 0.84rem;
        line-height: 1.7;
    }

    .dashboard-nationality-bar {
        width: 34px;
    }

    .dashboard-nationality-bar__track {
        height: 112px;
        padding: 4px;
    }

    .dashboard-nationality-bar__label {
        inset: 8px 5px 10px;
        font-size: 0.62rem;
    }

    .dashboard-nationality-chart {
        min-width: 1090px;
        grid-template-columns: repeat(25, 34px);
        gap: 8px 9px;
    }

    .info-grid--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .users-table {
        min-width: 700px;
    }

    .camp-map-image-stage {
        width: 100%;
    }

    .camp-map-pin strong {
        font-size: 0.8rem;
    }

    .camp-room-layout__plan {
        width: min(100%, 250px);
    }

    .camp-room-scene {
        grid-template-columns: minmax(0, 64px) minmax(0, 250px) minmax(0, 64px);
        gap: 4px;
    }

    .camp-room-layout__plan--ghost {
        width: 64px;
        padding: 8px 0 58px;
    }

    .camp-room-layout__row {
        grid-template-columns: minmax(0, 1fr) 0 minmax(0, 1fr);
        gap: 0;
    }

    .camp-room-seat,
    .camp-room-layout__empty,
    .camp-room-layout__aisle {
        min-height: 34px;
    }

    .camp-room-train-seat,
    .camp-room-layout__row,
    .camp-room-layout__empty,
    .camp-room-layout__aisle {
        min-height: 36px;
    }

    .support-request-detail-top,
    .support-request-detail-personal__grid,
    .support-request-detail-assignments,
    .support-request-admin-summary {
        grid-template-columns: 1fr;
    }

    .support-request-detail-photo {
        max-width: 220px;
        width: 100%;
        justify-self: center;
    }

    .hajj-guide-page__actions {
        flex-direction: column;
    }

    .hajj-guide-page__actions .ghost-btn {
        width: 100%;
        justify-content: center;
    }

    .hajj-guide-card__summary {
        grid-template-columns: auto 1fr auto;
        padding: 14px 16px;
    }

    .campaign-program-card .hajj-guide-card__title {
        font-size: 0.82rem;
    }
}

@media (min-width: 721px) and (max-width: 1100px) {
    .facilities-form-grid--gathering {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .facilities-form-grid--gathering .gathering-form-half {
        grid-column: span 1;
    }

    .facilities-form-grid--sacred {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .facilities-form-grid--sacred > label,
    .facilities-form-grid--sacred .sacred-form-half {
        grid-column: span 1;
    }
}

@media (max-width: 1100px) {
    body.admin-page--dashboard .admin-desktop {
        padding-top: 88px;
    }

    body.admin-page .admin-topbar {
        right: 28px;
    }

    body.admin-page .admin-panel--wide,
    body.admin-page .admin-panel:not(.admin-modal-panel) {
        margin-right: 0;
    }

    body.admin-page .admin-sidebar {
        width: min(86vw, 320px);
        top: 56px;
        right: 14px;
        bottom: 14px;
        z-index: 1210;
        transform: translateX(calc(100% + 24px));
        transition: transform 0.24s ease;
    }

    body.admin-page .admin-sidebar-mobile-toggle {
        display: flex;
    }

    body.admin-page .admin-sidebar-overlay {
        display: none;
    }

    body.admin-page .admin-sidebar-toggle:checked ~ .admin-sidebar {
        transform: translateX(0);
    }

    body.admin-page .admin-sidebar-toggle:checked ~ .admin-sidebar-overlay {
        display: block;
    }

    body.admin-page .admin-notification-strip {
        margin-right: 0;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body.admin-page--dashboard .admin-desktop {
        padding-top: 92px;
    }

    body.admin-page .admin-desktop {
        padding: 118px 14px 16px;
    }

    body.admin-page .admin-topbar {
        top: 54px;
        right: 14px;
        left: 14px;
        padding: 10px 12px;
        min-height: auto;
        flex-wrap: wrap;
        gap: 10px;
        border-radius: 22px;
    }

    body.admin-page--dashboard .admin-topbar {
        top: 18px;
    }

    body.admin-page--dashboard .admin-topbar--plain {
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .admin-topbar__start,
    .admin-topbar__end {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .admin-theme-switch {
        min-width: 124px;
    }

    .admin-topbar-search {
        flex: 1 1 100%;
        max-width: none;
        order: 3;
    }

    .admin-topbar__notifications-panel {
        width: calc(100vw - 28px);
        left: 0;
        right: auto;
        max-width: calc(100vw - 28px);
    }

    .admin-topbar__user {
        flex: 1 1 auto;
        justify-content: flex-end;
    }

    .pilgrim-show-hero,
    .pilgrim-show-grid,
    .pilgrim-show-assignments {
        grid-template-columns: 1fr;
    }
}

body.admin-page {
    --admin-sidebar-width: 292px;
    --admin-sidebar-collapsed-width: 82px;
    --admin-topbar-height: 68px;
    background:
        linear-gradient(180deg, #f6f7fb 0%, #eef1f5 100%);
}

body.admin-page .admin-desktop {
    min-height: 100vh;
    padding: 84px 16px 16px;
}

body.admin-page .admin-sidebar {
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1300;
    padding: 18px 14px 24px;
    border-radius: 0;
    border: 0;
    border-left: 1px solid rgba(180, 148, 84, 0.16);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: width 0.24s ease, padding 0.24s ease, box-shadow 0.24s ease;
    overflow: visible;
}

body.admin-page .admin-panel--wide,
body.admin-page .admin-panel:not(.admin-modal-panel) {
    margin-right: calc(var(--admin-sidebar-width) + 16px);
    transition: margin-right 0.24s ease;
}

body.system-settings-admin-page {
    overflow-x: hidden;
}

body.system-settings-admin-page .admin-desktop,
body.system-settings-admin-page .admin-panel--wide,
body.system-settings-admin-page .system-settings-layout {
    max-width: 100%;
    overflow-x: clip;
}

body.admin-page .admin-topbar {
    top: 0;
    right: var(--admin-sidebar-width);
    left: 0;
    height: var(--admin-topbar-height);
    min-height: var(--admin-topbar-height);
    padding: 6px 14px;
    border-radius: 0;
    border: 0;
    background-color: #b49354;
    background-image: url('../images/ui/admin-header-pattern.png');
    background-repeat: repeat-x;
    background-position: center center;
    background-size: auto auto;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
    transition: right 0.24s ease;
}

body.admin-page--dashboard .admin-desktop {
    padding-top: 84px;
}

body.admin-page--dashboard .admin-topbar,
body.admin-page--dashboard .admin-topbar--plain {
    top: 0;
    height: var(--admin-topbar-height);
    min-height: var(--admin-topbar-height);
    padding: 6px 14px;
    border-radius: 0;
    border: 0;
    background-color: #b49354;
    background-image: url('../images/ui/admin-header-pattern.png');
    background-repeat: repeat-x;
    background-position: center center;
    background-size: auto auto;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.admin-page .admin-topbar__start,
body.admin-page .admin-topbar__end {
    gap: 6px;
    align-items: center;
    height: 100%;
}

body.admin-page .admin-topbar__start {
    flex: 0 0 auto;
    min-width: auto;
    margin-inline-start: auto;
    margin-inline-end: 0;
    order: 2;
}

body.admin-page .admin-topbar__end {
    flex: 0 0 auto;
    margin-inline-start: 0;
    margin-inline-end: auto;
    order: 1;
}

body.admin-page .admin-topbar__start .admin-topbar__notifications--primary {
    order: 1;
}

body.admin-page .admin-topbar__start .admin-theme-switch {
    order: 2;
}

body.admin-page .admin-topbar__start .admin-topbar__mobile-portal {
    order: 3;
}

body.admin-page .admin-topbar__start .admin-topbar__logout-form--primary {
    order: 4;
}

body.admin-page .admin-topbar__notifications--secondary,
body.admin-page .admin-topbar__logout-form--secondary {
    display: none !important;
}

body.admin-page .admin-topbar-search {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(33vw, 360px);
    max-width: 360px;
    flex: none;
}

body.admin-page .admin-topbar-search__box {
    min-height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
    padding: 0 12px;
}

body.admin-page .admin-topbar-search__box input {
    text-align: center;
    font-size: 0.84rem;
}

body.admin-page .admin-topbar__logout,
body.admin-page .admin-topbar__mobile-portal,
body.admin-page .admin-topbar__notifications-btn,
body.admin-page .admin-theme-switch {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(123, 94, 41, 0.14);
    box-shadow: none;
}

body.admin-page .admin-topbar__logout,
body.admin-page .admin-topbar__mobile-portal {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

body.admin-page .admin-topbar__logout {
    color: #e22222;
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1;
}

body.admin-page .admin-topbar__logout svg,
body.admin-page .admin-topbar__mobile-portal svg {
    width: 18px;
    height: 18px;
}

body.admin-page .admin-topbar__logout svg {
    width: 20px;
    height: 20px;
    display: block;
    margin: auto;
    transform: none;
}

body.admin-page .admin-topbar__logout-icon {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

body.admin-page .admin-topbar__logout-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

body.admin-page .admin-topbar__mobile-portal {
    display: inline-grid;
    place-items: center;
    color: #5f4b23;
    text-decoration: none;
}

body.admin-page .admin-theme-switch {
    min-width: 94px;
    height: 32px;
    padding: 3px 10px 3px 6px;
    border-radius: 8px;
    gap: 8px;
}

body.admin-page .admin-theme-switch__label {
    font-size: 0.84rem;
    font-weight: 800;
    color: #5f4b23;
}

body.admin-page .admin-theme-switch__track {
    width: 34px;
    height: 22px;
    padding: 3px;
    background: #f3c35f;
}

body.admin-page .admin-theme-switch__thumb {
    width: 16px;
    height: 16px;
}

body.admin-page.admin-theme-dark .admin-theme-switch__thumb {
    transform: translateX(-12px);
}

body.admin-page.admin-theme-dark .admin-theme-switch__label {
    color: #000;
}

body.admin-page .admin-topbar__notifications-btn {
    min-height: 32px;
    padding: 0 12px;
    gap: 8px;
    border-radius: 8px;
}

body.admin-page .admin-topbar__notifications-text {
    font-size: 0.84rem;
    color: #3c3222;
    font-weight: 700;
}

body.admin-page .admin-topbar__notifications-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.78rem;
    background: #de5149;
}

body.admin-page .admin-topbar__notifications-panel {
    margin-top: 8px;
    border-radius: 18px;
}

body.admin-page .admin-topbar__user {
    flex-direction: row-reverse;
    gap: 8px;
    min-width: 210px;
    justify-content: flex-start;
}

body.admin-page .admin-topbar__user-copy strong {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.1;
}

body.admin-page .admin-topbar__user-copy span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    line-height: 1.1;
}

body.admin-page .admin-topbar__avatar {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.65);
}

body.admin-page .admin-topbar__user-copy {
    text-align: right;
}

body.admin-page .admin-topbar__avatar img {
    object-fit: cover;
}

body.admin-page .admin-sidebar__brand {
    padding: 2px 2px 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(180, 148, 84, 0.14);
    transition: padding 0.24s ease, margin 0.24s ease;
    min-height: 70px;
}

body.admin-page .admin-sidebar__brand-mark {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.admin-page .admin-sidebar__brand-text strong {
    color: #6d5730;
    font-size: 1.25rem;
}

body.admin-page .admin-sidebar__brand-text span {
    color: #b49354;
    font-size: 0.88rem;
    line-height: 1.6;
}

body.admin-page .admin-sidebar-collapse-toggle {
    position: absolute;
    top: 18px;
    left: -15px;
    z-index: 1450;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(180, 148, 84, 0.28);
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: #80622e;
    background: #fffaf0;
    box-shadow: 0 12px 28px rgba(85, 61, 20, 0.12);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.admin-page .admin-sidebar-collapse-toggle:hover {
    color: #fff;
    background: var(--system-header-color, #b49354);
    box-shadow: 0 14px 30px rgba(85, 61, 20, 0.18);
}

body.admin-page .admin-sidebar-collapse-toggle svg {
    width: 17px;
    height: 17px;
    transition: transform 0.24s ease;
}

body.admin-page .admin-sidebar__nav {
    gap: 10px;
}

body.admin-page .admin-sidebar__nav > a,
body.admin-page .admin-sidebar__group-toggle {
    min-height: 34px;
    border-radius: 14px;
    background: #f5eee0;
    color: #655335;
    box-shadow: none;
    font-size: 0.96rem;
    transition: min-height 0.24s ease, padding 0.24s ease, border-radius 0.24s ease, background 0.2s ease;
}

body.admin-page .admin-sidebar__group-toggle {
    gap: 9px;
    justify-content: flex-start;
}

body.admin-page .admin-sidebar__group-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: inline-grid;
    place-items: center;
}

body.admin-page .admin-sidebar__group-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

body.admin-page .admin-sidebar__group-arrow {
    margin-inline-start: auto;
}

body.admin-page .admin-sidebar__nav > a.is-active,
body.admin-page .admin-sidebar__group[open] .admin-sidebar__group-toggle,
body.admin-page .admin-sidebar__group.is-open .admin-sidebar__group-toggle {
    background-color: var(--system-header-color, #b49354);
    background-image: url('../images/ui/admin-header-pattern.png');
    background-repeat: repeat-x;
    background-position: center center;
    background-size: auto auto;
    color: #fff;
}

body.admin-page .admin-sidebar__group-links {
    padding-right: 8px;
    gap: 6px;
}

body.admin-page .admin-sidebar__group-links a {
    padding: 10px 12px;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    color: #5f5f66;
    font-size: 0.93rem;
}

body.admin-page .admin-sidebar__group-links a.is-active {
    background: #f1e5cc;
    color: #8b6931;
    font-weight: 700;
}

@media (min-width: 1101px) {
    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar {
        width: var(--admin-sidebar-collapsed-width);
        box-shadow: 0 20px 46px rgba(72, 54, 23, 0.08);
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-topbar,
    body.admin-page--dashboard.admin-sidebar-is-collapsed .admin-topbar,
    body.admin-page--dashboard.admin-sidebar-is-collapsed .admin-topbar--plain {
        right: var(--admin-sidebar-collapsed-width);
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-panel--wide,
    body.admin-page.admin-sidebar-is-collapsed .admin-panel:not(.admin-modal-panel) {
        margin-right: calc(var(--admin-sidebar-collapsed-width) + 16px);
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar-collapse-toggle svg {
        transform: rotate(180deg);
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__main-link-separator,
    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__nav > a > span:not(.admin-sidebar__main-link-icon),
    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__group-toggle > span:not(.admin-sidebar__group-icon) {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__brand {
        align-items: flex-start;
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__brand-text {
        display: none;
    }

    body.admin-page.admin-sidebar-is-restoring .admin-sidebar__brand-text,
    body.admin-page.admin-sidebar-is-restoring .admin-sidebar__main-link-separator,
    body.admin-page.admin-sidebar-is-restoring .admin-sidebar__nav > a > span:not(.admin-sidebar__main-link-icon),
    body.admin-page.admin-sidebar-is-restoring .admin-sidebar__group-toggle > span:not(.admin-sidebar__group-icon) {
        display: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__nav > a,
    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__group-toggle {
        position: relative;
        justify-content: flex-start;
        overflow: hidden;
        white-space: nowrap;
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__main-link-icon,
    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__group-icon {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__main-link-icon svg,
    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__group-icon svg {
        width: 25px;
        height: 25px;
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__group {
        position: relative;
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__group-links {
        position: absolute;
        top: 0;
        right: calc(100% + 12px);
        z-index: 1400;
        width: 230px;
        padding: 10px;
        border: 1px solid rgba(180, 148, 84, 0.18);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 22px 46px rgba(50, 38, 18, 0.15);
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__group:not([open]) .admin-sidebar__group-links {
        display: none;
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__group[open] .admin-sidebar__group-links {
        display: grid;
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__nav > a::after,
    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__group-toggle::after {
        content: attr(data-sidebar-label);
        position: absolute;
        top: 50%;
        right: calc(100% + 12px);
        transform: translateY(-50%) translateX(6px);
        max-width: 220px;
        padding: 8px 12px;
        border-radius: 12px;
        color: #fff;
        background: rgba(58, 45, 22, 0.92);
        box-shadow: 0 12px 28px rgba(50, 38, 18, 0.18);
        font-size: 0.82rem;
        font-weight: 800;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease, transform 0.18s ease;
    }

    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__nav > a:hover::after,
    body.admin-page.admin-sidebar-is-collapsed .admin-sidebar__group:not([open]) .admin-sidebar__group-toggle:hover::after {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

    body.admin-theme-dark.admin-sidebar-is-collapsed .admin-sidebar__group-links {
        background: rgba(19, 30, 48, 0.98);
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 22px 46px rgba(0, 0, 0, 0.26);
    }
}

@media (max-width: 1100px) {
    body.admin-page .admin-sidebar-collapse-toggle {
        display: none;
    }
}

body.admin-page .dashboard-page .admin-head {
    display: none;
}

body.admin-page .dashboard-page.admin-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    padding: 0;
}

body.admin-page .dashboard-section {
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(227, 230, 236, 0.98);
    box-shadow: 0 16px 36px rgba(39, 53, 82, 0.06);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.admin-page .dashboard-section--pilgrims {
    background:
        radial-gradient(circle at top left, rgba(180, 148, 84, 0.08), transparent 30%),
        rgba(255, 255, 255, 0.97);
}

body.admin-page .dashboard-section--clinic {
    background:
        radial-gradient(circle at top left, rgba(61, 114, 214, 0.06), transparent 26%),
        rgba(255, 255, 255, 0.97);
}

body.admin-page .dashboard-section--support {
    background:
        radial-gradient(circle at top left, rgba(229, 87, 69, 0.06), transparent 26%),
        rgba(255, 255, 255, 0.97);
}

body.admin-page .dashboard-stats-grid--compact {
    gap: 16px;
}

body.admin-page .dashboard-section--clinic .dashboard-stat-card,
body.admin-page .dashboard-section--support .dashboard-stat-card {
    padding: 8px 10px 10px;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    align-content: start;
    gap: 10px;
}

body.admin-page .dashboard-section--clinic .dashboard-stat-circle,
body.admin-page .dashboard-section--support .dashboard-stat-circle {
    width: 102px;
    height: 102px;
    background:
        conic-gradient(from 220deg, color-mix(in srgb, var(--stat-color) 82%, #ffffff 18%) 0 var(--dashboard-progress), rgba(230, 235, 243, 0.86) var(--dashboard-progress) 100%);
    box-shadow: none;
}

body.admin-page .dashboard-section--clinic .dashboard-stat-circle::before,
body.admin-page .dashboard-section--support .dashboard-stat-circle::before {
    inset: 4px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 44%, color-mix(in srgb, var(--stat-color) 18%, #ffffff 82%) 0%, color-mix(in srgb, var(--stat-color) 8%, #ffffff 92%) 56%, rgba(255, 255, 255, 0.96) 100%);
    border: 0;
}

body.admin-page .dashboard-section--clinic .dashboard-stat-circle::after,
body.admin-page .dashboard-section--support .dashboard-stat-circle::after {
    content: none;
}

body.admin-page .dashboard-section--clinic .dashboard-stat-circle__inner,
body.admin-page .dashboard-section--support .dashboard-stat-circle__inner {
    width: 94px;
    height: 94px;
    background:
        radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--stat-color) 16%, #ffffff 84%) 0%, color-mix(in srgb, var(--stat-color) 7%, #ffffff 93%) 58%, rgba(255, 255, 255, 0.98) 100%);
    box-shadow: none;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

body.admin-page .dashboard-section--clinic .dashboard-stat-circle__inner::before,
body.admin-page .dashboard-section--support .dashboard-stat-circle__inner::before {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background:
        conic-gradient(from 220deg, color-mix(in srgb, var(--stat-color) 14%, #ffffff 86%) 0 var(--dashboard-progress), rgba(255, 255, 255, 0) var(--dashboard-progress) 100%);
    z-index: 0;
    transition: background 0.28s ease;
}

body.admin-page .dashboard-section--clinic .dashboard-stat-circle__inner > *,
body.admin-page .dashboard-section--support .dashboard-stat-circle__inner > * {
    position: relative;
    z-index: 1;
}

body.admin-page .dashboard-section--clinic .dashboard-stat-circle__inner strong,
body.admin-page .dashboard-section--support .dashboard-stat-circle__inner strong {
    font-size: 1.55rem;
}

body.admin-page .dashboard-section--clinic .dashboard-stat-card h3,
body.admin-page .dashboard-section--support .dashboard-stat-card h3 {
    font-size: 0.94rem;
    line-height: 1.7;
}

body.admin-page .dashboard-section--clinic .dashboard-stat-card p,
body.admin-page .dashboard-section--support .dashboard-stat-card p {
    font-size: 0.76rem;
    line-height: 1.6;
}

body.admin-page .dashboard-section--transport {
    background:
        radial-gradient(circle at top right, rgba(53, 175, 123, 0.05), transparent 28%),
        rgba(255, 255, 255, 0.97);
}

body.admin-page .dashboard-section--chart {
    background:
        radial-gradient(circle at top right, rgba(106, 83, 203, 0.05), transparent 26%),
        rgba(255, 255, 255, 0.97);
}

body.admin-page.admin-theme-dark .dashboard-page.admin-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.admin-page.admin-theme-dark .dashboard-section {
    background: linear-gradient(180deg, rgba(18, 27, 43, 0.98) 0%, rgba(14, 22, 36, 0.98) 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

body.admin-page.admin-theme-dark .dashboard-section--pilgrims {
    background:
        radial-gradient(circle at top left, rgba(180, 148, 84, 0.16), transparent 32%),
        linear-gradient(180deg, rgba(18, 27, 43, 0.98) 0%, rgba(14, 22, 36, 0.98) 100%);
}

body.admin-page.admin-theme-dark .dashboard-section--clinic {
    background:
        radial-gradient(circle at top left, rgba(61, 114, 214, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(18, 27, 43, 0.98) 0%, rgba(14, 22, 36, 0.98) 100%);
}

body.admin-page.admin-theme-dark .dashboard-section--support {
    background:
        radial-gradient(circle at top left, rgba(229, 87, 69, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(18, 27, 43, 0.98) 0%, rgba(14, 22, 36, 0.98) 100%);
}

body.admin-page.admin-theme-dark .dashboard-section--transport {
    background:
        radial-gradient(circle at top right, rgba(53, 175, 123, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(18, 27, 43, 0.98) 0%, rgba(14, 22, 36, 0.98) 100%);
}

body.admin-page.admin-theme-dark .dashboard-section--chart {
    background:
        radial-gradient(circle at top right, rgba(106, 83, 203, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(18, 27, 43, 0.98) 0%, rgba(14, 22, 36, 0.98) 100%);
}

body.admin-page.admin-theme-dark .dashboard-section__head h2,
body.admin-page.admin-theme-dark .dashboard-stat-card h3,
body.admin-page.admin-theme-dark .dashboard-nationality-bar__label,
body.admin-page.admin-theme-dark .dashboard-nationality-bar__flag strong,
body.admin-page.admin-theme-dark .dashboard-top-summary__value {
    color: #f8fbff;
}

body.admin-page.admin-theme-dark .dashboard-section__head p,
body.admin-page.admin-theme-dark .dashboard-stat-card p,
body.admin-page.admin-theme-dark .dashboard-top-summary__label {
    color: rgba(228, 235, 245, 0.72);
}

body.admin-page.admin-theme-dark .dashboard-stat-circle {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

body.admin-page.admin-theme-dark .dashboard-stat-circle::before {
    background: rgba(15, 24, 40, 0.96);
    border-color: rgba(255, 255, 255, 0.04);
}

body.admin-page.admin-theme-dark .dashboard-stat-circle__inner {
    background: rgba(15, 24, 40, 0.9);
    color: #f8fbff;
}

body.admin-page.admin-theme-dark .dashboard-stat-circle__inner strong {
    color: #ffffff;
}

body.admin-page.admin-theme-dark .dashboard-stat-card--clinic .dashboard-stat-circle__inner strong,
body.admin-page.admin-theme-dark .dashboard-stat-card--support .dashboard-stat-circle__inner strong {
    color: rgba(0, 0, 0, 0.2);
}

body.admin-page.admin-theme-dark .dashboard-section--clinic .dashboard-stat-circle::before,
body.admin-page.admin-theme-dark .dashboard-section--support .dashboard-stat-circle::before {
    background:
        radial-gradient(circle at 50% 44%, color-mix(in srgb, var(--stat-color) 24%, #0f1828 76%) 0%, color-mix(in srgb, var(--stat-color) 14%, #0f1828 86%) 58%, rgba(15, 24, 40, 0.96) 100%);
}

body.admin-page.admin-theme-dark .dashboard-section--clinic .dashboard-stat-circle__inner,
body.admin-page.admin-theme-dark .dashboard-section--support .dashboard-stat-circle__inner {
    background:
        radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--stat-color) 22%, #101a2b 78%) 0%, color-mix(in srgb, var(--stat-color) 12%, #101a2b 88%) 58%, rgba(16, 26, 43, 0.96) 100%);
}

body.admin-page.admin-theme-dark .dashboard-section--clinic .dashboard-stat-circle__inner::before,
body.admin-page.admin-theme-dark .dashboard-section--support .dashboard-stat-circle__inner::before {
    background:
        conic-gradient(from 220deg, color-mix(in srgb, var(--stat-color) 20%, #0f1828 80%) 0 var(--dashboard-progress), rgba(255, 255, 255, 0) var(--dashboard-progress) 100%);
}

body.admin-page.admin-theme-dark .dashboard-nationality-bar__track {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

body.admin-page.admin-theme-dark .dashboard-nationality-bar__fill span {
    color: rgba(255, 255, 255, 0.92);
}

body.admin-page.admin-theme-dark .dashboard-nationality-bar__flag img {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.admin-page.admin-theme-dark .admin-head h1,
body.admin-page.admin-theme-dark .admin-head h2,
body.admin-page.admin-theme-dark .admin-head h3,
body.admin-page.admin-theme-dark .admin-form label,
body.admin-page.admin-theme-dark .admin-form label span,
body.admin-page.admin-theme-dark .toolbar-hint,
body.admin-page.admin-theme-dark .credentials-card,
body.admin-page.admin-theme-dark .recent-grid article,
body.admin-page.admin-theme-dark .pilgrims-pagination,
body.admin-page.admin-theme-dark .pilgrims-pagination__summary,
body.admin-page.admin-theme-dark .pilgrims-pagination__size,
body.admin-page.admin-theme-dark .clinic-case-info-grid article,
body.admin-page.admin-theme-dark .admin-toggle span,
body.admin-page.admin-theme-dark .permissions-table th,
body.admin-page.admin-theme-dark .permissions-table td,
body.admin-page.admin-theme-dark .users-table th,
body.admin-page.admin-theme-dark .users-table td {
    color: #f8fbff;
}

body.admin-page.admin-theme-dark .eyebrow,
body.admin-page.admin-theme-dark .admin-head p,
body.admin-page.admin-theme-dark .toolbar-hint,
body.admin-page.admin-theme-dark .credentials-card p,
body.admin-page.admin-theme-dark .recent-grid article span,
body.admin-page.admin-theme-dark .clinic-case-info-grid small,
body.admin-page.admin-theme-dark .pilgrims-pagination,
body.admin-page.admin-theme-dark .pilgrims-pagination__dots {
    color: rgba(228, 235, 245, 0.72);
}

body.admin-page.admin-theme-dark .pilgrim-filters-bar,
body.admin-page.admin-theme-dark .users-table-wrap,
body.admin-page.admin-theme-dark .permissions-table-wrap,
body.admin-page.admin-theme-dark .credentials-card,
body.admin-page.admin-theme-dark .recent-grid article,
body.admin-page.admin-theme-dark .clinic-case-info-grid article,
body.admin-page.admin-theme-dark .admin-inline-modal__panel .admin-panel,
body.admin-page.admin-theme-dark .admin-modal-panel,
body.admin-page.admin-theme-dark .table-icon-btn {
    background: rgba(18, 28, 45, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

body.admin-page.admin-theme-dark .users-table-wrap,
body.admin-page.admin-theme-dark .permissions-table-wrap {
    background: rgba(18, 28, 45, 0.68);
}

body.admin-page.admin-theme-dark .users-table th,
body.admin-page.admin-theme-dark .permissions-table thead th {
    background: rgba(255, 255, 255, 0.04);
}

body.admin-page.admin-theme-dark .users-table th,
body.admin-page.admin-theme-dark .users-table td,
body.admin-page.admin-theme-dark .permissions-table th,
body.admin-page.admin-theme-dark .permissions-table td {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.admin-page.admin-theme-dark .users-table__row--incomplete td {
    background: rgba(120, 27, 27, 0.32);
}

body.admin-page.admin-theme-dark .pilgrim-filters-bar__search input,
body.admin-page.admin-theme-dark .pilgrim-filters-bar__field select,
body.admin-page.admin-theme-dark .admin-form input,
body.admin-page.admin-theme-dark .admin-form select,
body.admin-page.admin-theme-dark .admin-form textarea,
body.admin-page.admin-theme-dark .admin-toolbar select,
body.admin-page.admin-theme-dark .pilgrims-pagination__size select {
    background: rgba(11, 19, 33, 0.94);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fbff;
}

body.admin-page.admin-theme-dark .admin-form input::placeholder,
body.admin-page.admin-theme-dark .admin-form textarea::placeholder,
body.admin-page.admin-theme-dark .pilgrim-filters-bar__search input::placeholder {
    color: rgba(228, 235, 245, 0.45);
}

body.admin-page.admin-theme-dark .admin-toggle {
    background: rgba(11, 19, 33, 0.94);
    border-color: rgba(255, 255, 255, 0.1);
}

body.admin-page.admin-theme-dark .primary-btn {
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.28);
}

body.admin-page.admin-theme-dark .ghost-btn,
body.admin-page.admin-theme-dark .icon-btn,
body.admin-page.admin-theme-dark .icon-btn--soft,
body.admin-page.admin-theme-dark .table-icon-btn,
body.admin-page.admin-theme-dark .pilgrims-pagination__link {
    background: rgba(18, 28, 45, 0.9);
    border-color: rgba(255, 255, 255, 0.09);
    color: #f8fbff;
    box-shadow: none;
}

body.admin-page.admin-theme-dark .pilgrims-pagination__link.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

body.admin-page.admin-theme-dark .alert.success {
    background: rgba(18, 96, 62, 0.26);
    color: #d7ffeb;
}

body.admin-page.admin-theme-dark .alert.error {
    background: rgba(146, 40, 40, 0.28);
    color: #ffe3e3;
}

body.admin-page.admin-theme-dark .pilgrim-table-photo,
body.admin-page.admin-theme-dark .pilgrim-edit-photo-card__frame {
    background: rgba(11, 19, 33, 0.94);
}

body.admin-page.admin-theme-dark .send-template-card {
    background: rgba(18, 28, 45, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    color: #f8fbff;
}

body.admin-page.admin-theme-dark .system-settings-section,
body.admin-page.admin-theme-dark .system-settings-submit {
    background: rgba(18, 28, 45, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.admin-page.admin-theme-dark .system-settings-app-card {
    background: rgba(180, 147, 84, 0.12);
    box-shadow: inset 0 0 0 1px rgba(180, 147, 84, 0.22);
}

body.admin-page.admin-theme-dark .system-settings-note {
    background: rgba(180, 147, 84, 0.16);
    color: #f7ead6;
}

body.admin-page.admin-theme-dark .system-activation-status-card {
    background: rgba(11, 19, 33, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.admin-page.admin-theme-dark .system-activation-switch {
    background: rgba(18, 28, 45, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.admin-page.admin-theme-dark .system-settings-delete-media {
    background: rgba(18, 28, 45, 0.94);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.admin-page.admin-theme-dark .system-settings-section__head h2 {
    color: #f8fbff;
}

body.admin-page.admin-theme-dark .send-template-card h3 {
    color: #f8fbff;
}

body.admin-page.admin-theme-dark .send-template-card__badge {
    background: rgba(84, 154, 255, 0.16);
    color: #dbe9ff;
}

body.admin-page.admin-theme-dark .send-template-card__code {
    background: rgba(11, 19, 33, 0.94);
    color: #f8fbff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

body.admin-page.admin-theme-dark .send-placeholders-table code {
    color: #dbe9ff;
}

body.admin-page.admin-theme-dark .permissions-role-picker select,
body.admin-page.admin-theme-dark .mina-tents-filters,
body.admin-page.admin-theme-dark .tent-distribution-card,
body.admin-page.admin-theme-dark .tent-distribution-summary span,
body.admin-page.admin-theme-dark .secondary-btn {
    background: rgba(18, 28, 45, 0.92);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fbff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

body.admin-page.admin-theme-dark .mina-tents-filters select,
body.admin-page.admin-theme-dark .permissions-role-picker select,
body.admin-page.admin-theme-dark .tent-distribution-card__nationality-controls input {
    background: rgba(11, 19, 33, 0.94);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fbff;
}

body.admin-page.admin-theme-dark .mina-tents-filters span,
body.admin-page.admin-theme-dark .tent-distribution-card__head span,
body.admin-page.admin-theme-dark .tent-distribution-card__nationalities > span,
body.admin-page.admin-theme-dark .tent-distribution-card p,
body.admin-page.admin-theme-dark .admin-notification-row p,
body.admin-page.admin-theme-dark .admin-notification-detail-grid dt,
body.admin-page.admin-theme-dark .admin-notification-support-card small,
body.admin-page.admin-theme-dark .admin-notification-support-text-card small,
body.admin-page.admin-theme-dark .admin-notification-support-status small {
    color: rgba(228, 235, 245, 0.72);
}

body.admin-page.admin-theme-dark .tent-distribution-card__head strong,
body.admin-page.admin-theme-dark .tent-distribution-card__approve,
body.admin-page.admin-theme-dark .tent-distribution-card__parts span,
body.admin-page.admin-theme-dark .tent-distribution-nationality-chip,
body.admin-page.admin-theme-dark .admin-notification-row strong,
body.admin-page.admin-theme-dark .admin-notification-detail-card__summary strong,
body.admin-page.admin-theme-dark .admin-notification-detail-grid dd,
body.admin-page.admin-theme-dark .admin-notification-support-card strong,
body.admin-page.admin-theme-dark .admin-notification-support-text-card strong,
body.admin-page.admin-theme-dark .admin-notification-support-status strong,
body.admin-page.admin-theme-dark .admin-notification-support-text-card p {
    color: #f8fbff;
}

body.admin-page.admin-theme-dark .tent-distribution-nationality-chip {
    background: rgba(180, 147, 84, 0.12);
    border-color: rgba(180, 147, 84, 0.24);
}

body.admin-page.admin-theme-dark .tent-distribution-card__nationality-menu {
    background: rgba(11, 19, 33, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

body.admin-page.admin-theme-dark .tent-distribution-card__nationality-menu button {
    color: #f8fbff;
}

body.admin-page.admin-theme-dark .tent-distribution-card__nationality-menu button:hover {
    background: rgba(255, 255, 255, 0.07);
}

body.admin-page.admin-theme-dark .tent-distribution-nationality-chip span,
body.admin-page.admin-theme-dark .tent-distribution-nationality-chip em,
body.admin-page.admin-theme-dark .tent-distribution-card__nationality-menu button em,
body.admin-page.admin-theme-dark .tent-distribution-card__capacity {
    color: #f7d9a6;
}

body.admin-page.admin-theme-dark .tent-distribution-card__parts span,
body.admin-page.admin-theme-dark .admin-notification-detail-grid div,
body.admin-page.admin-theme-dark .admin-notification-support-card,
body.admin-page.admin-theme-dark .admin-notification-support-text-card,
body.admin-page.admin-theme-dark .admin-notification-support-status {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body.admin-page.admin-theme-dark .mina-tent-vacancy-cell {
    color: #f8fbff;
}

body.admin-page.admin-theme-dark .mina-tent-vacancy-cell.is-open {
    color: #ffb4a8;
}

body.admin-page.admin-theme-dark .secondary-btn:hover,
body.admin-page.admin-theme-dark .icon-btn--soft:hover,
body.admin-page.admin-theme-dark .table-icon-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1100px) {
    .system-settings-row,
    .system-settings-fields,
    .system-settings-fields--logo,
    .system-settings-basic-title-grid,
    .system-settings-basic-info-grid,
    .system-settings-colors-grid,
    .system-settings-images-grid,
    .system-activation-card__dates {
        grid-template-columns: 1fr;
    }

    body.admin-page .admin-desktop,
    body.admin-page--dashboard .admin-desktop {
        padding-top: 88px;
    }

    body.admin-page .admin-topbar,
    body.admin-page--dashboard .admin-topbar,
    body.admin-page--dashboard .admin-topbar--plain {
        right: 0;
    }

    body.admin-page .admin-panel--wide,
    body.admin-page .admin-panel:not(.admin-modal-panel) {
        margin-right: 0;
    }

    body.admin-page .admin-sidebar {
        width: min(84vw, 320px);
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1210;
        transform: translateX(calc(100% + 24px));
    }
}

@media (max-width: 720px) {
    .train-car-row {
        grid-template-columns: 1fr;
    }

    .train-car-row__remove {
        width: 100%;
        margin-top: 0;
    }

    body.admin-page .admin-desktop,
    body.admin-page--dashboard .admin-desktop {
        padding: 74px 12px 16px;
    }

    body.admin-page .admin-topbar,
    body.admin-page--dashboard .admin-topbar,
    body.admin-page--dashboard .admin-topbar--plain {
        left: 0;
        right: 0;
        min-height: 58px;
        padding: 8px 10px;
        gap: 8px;
        flex-wrap: wrap;
    }

    body.admin-page .admin-topbar__start,
    body.admin-page .admin-topbar__end {
        width: 100%;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    body.admin-page .admin-topbar-search {
        position: static;
        transform: none;
        order: 4;
        width: 100%;
        max-width: none;
    }

    body.admin-page .admin-theme-switch {
        min-width: 88px;
    }
}

.mobile-portrait-guard {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(247, 248, 252, 0.54);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.mobile-portrait-guard__panel {
    width: min(420px, 100%);
    border: 1px solid rgba(167, 136, 82, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: 0 28px 80px rgba(31, 47, 74, 0.18);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
}

.mobile-portrait-guard__icon {
    width: 92px;
    height: 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8e94a3;
}

.mobile-portrait-guard__icon svg {
    width: 100%;
    height: 100%;
}

.mobile-portrait-guard__text {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.5;
    color: #1f2f4a;
}

@media (max-width: 900px) and (orientation: landscape) {
    .mobile-portrait-guard {
        display: flex;
    }
}

.seat-box.bus-seat-box.is-booked {
    background: rgba(239, 169, 169, 0.5) !important;
    color: #b42318 !important;
}

.train-seat-box.bus-train-seat-box.is-booked .train-seat-chair {
    --seat-color: rgba(248, 113, 113, 0.52) !important;
    --seat-stroke: #b91c1c !important;
}
