:root {
    --brand-navy: #063d33;
    --brand-navy-soft: #075343;
    --brand-teal: #075343;
    --brand-teal-bright: #2b8265;
    --brand-gold: #bd9342;
    --brand-surface: #f5f7f2;
    --brand-border: #e2e8ee;
}

html {
    font-family: "Noto Kufi Arabic", Arial, sans-serif;
}

.fi-body {
    background:
        radial-gradient(circle at 8% 8%, rgba(20, 184, 166, .08), transparent 24rem),
        var(--brand-surface) !important;
}

.association-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: inherit;
}

.association-brand__mark {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: .9rem;
    color: #fff;
    background: linear-gradient(145deg, var(--brand-teal-bright), var(--brand-teal));
    box-shadow: 0 8px 24px rgba(15, 118, 110, .28);
}

.association-brand__mark svg {
    width: 2.15rem;
    height: 2.15rem;
}

.association-brand__copy {
    display: grid;
    line-height: 1.2;
    text-align: start;
}

.association-brand__copy strong {
    font-size: 1rem;
    font-weight: 800;
}

.association-brand__copy small {
    margin-top: .2rem;
    font-size: .67rem;
    font-weight: 500;
    opacity: .65;
}

.fi-sidebar {
    border-inline-end: 0 !important;
    color: #dbe8f2;
    background:
        radial-gradient(circle at 70% 8%, rgba(20, 184, 166, .18), transparent 15rem),
        linear-gradient(180deg, var(--brand-navy-soft), var(--brand-navy)) !important;
    box-shadow: 10px 0 35px rgba(11, 31, 51, .12);
}

.fi-sidebar-header {
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.fi-sidebar .fi-logo,
.fi-sidebar .fi-sidebar-group-label,
.fi-sidebar .fi-sidebar-item-label {
    color: inherit !important;
}

.fi-sidebar-group-label {
    color: #8faabe !important;
    font-size: .68rem !important;
    font-weight: 800 !important;
    letter-spacing: .04em;
}

.fi-sidebar-item-button {
    margin-block: .13rem;
    border-radius: .75rem !important;
    color: #c6d6e2 !important;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.fi-sidebar-item-button:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .08) !important;
    transform: translateX(-2px);
}

.fi-sidebar-item-active > .fi-sidebar-item-button {
    color: #fff !important;
    background: linear-gradient(100deg, rgba(20, 184, 166, .28), rgba(20, 184, 166, .12)) !important;
    box-shadow: inset -3px 0 0 var(--brand-teal-bright);
}

.fi-sidebar-item-icon {
    color: #7fcfc5 !important;
}

.fi-topbar nav {
    border-bottom: 1px solid rgba(226, 232, 238, .9) !important;
    background: rgba(255, 255, 255, .88) !important;
    box-shadow: 0 4px 25px rgba(15, 23, 42, .035) !important;
    backdrop-filter: blur(18px);
}

.fi-main {
    padding-top: 2rem !important;
}

.fi-header-heading {
    color: var(--brand-navy) !important;
    font-weight: 800 !important;
    letter-spacing: -.02em;
}

.fi-header-subheading {
    color: #64748b !important;
}

.fi-section,
.fi-ta-ctn,
.fi-wi-stats-overview-stat,
.fi-fo-tabs,
.fi-in-entry-wrp {
    border: 1px solid rgba(226, 232, 238, .9) !important;
    border-radius: 1rem !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 10px 32px rgba(15, 23, 42, .055) !important;
}

.fi-wi-stats-overview-stat {
    position: relative;
    overflow: hidden;
    padding: 1.35rem !important;
}

.fi-wi-stats-overview-stat::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--brand-teal), var(--brand-teal-bright), var(--brand-gold));
}

.fi-wi-stats-overview-stat-value {
    color: var(--brand-navy) !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
}

.fi-ta-header,
.fi-ta-header-toolbar,
.fi-ta-content {
    background: transparent !important;
}

.fi-ta-header-cell {
    color: #526477 !important;
    background: #f7f9fb !important;
    font-size: .76rem !important;
    font-weight: 800 !important;
}

.fi-ta-row {
    transition: background-color .16s ease;
}

.fi-ta-row:hover {
    background: rgba(15, 118, 110, .035) !important;
}

.fi-btn {
    border-radius: .72rem !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.fi-btn.fi-color-primary {
    background: linear-gradient(135deg, var(--brand-teal), #0d9488) !important;
    box-shadow: 0 7px 18px rgba(15, 118, 110, .2) !important;
}

.fi-input-wrp {
    border-radius: .72rem !important;
    box-shadow: 0 0 0 1px var(--brand-border) !important;
}

.fi-input-wrp:focus-within {
    box-shadow: 0 0 0 2px rgba(15, 118, 110, .55) !important;
}

.fi-simple-layout {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 18%, rgba(20, 184, 166, .2), transparent 22rem),
        radial-gradient(circle at 85% 78%, rgba(214, 168, 75, .13), transparent 20rem),
        linear-gradient(135deg, #071827 0%, #0b2941 52%, #0e3b4b 100%) !important;
}

.fi-simple-layout::before {
    position: fixed;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: .18;
    background-image:
        linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.fi-simple-main-ctn {
    position: relative;
    padding: 1.5rem;
}

.fi-simple-main {
    max-width: 31rem !important;
    border: 1px solid rgba(255, 255, 255, .65) !important;
    border-radius: 1.5rem !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .32) !important;
    backdrop-filter: blur(20px);
}

.fi-simple-header {
    padding-bottom: .6rem;
}

.fi-simple-header .association-brand {
    color: var(--brand-navy);
}

.fi-simple-header-heading {
    color: var(--brand-navy) !important;
    font-size: 1.65rem !important;
    font-weight: 800 !important;
}

.fi-simple-header-heading::after {
    display: block;
    width: 3rem;
    height: 3px;
    margin: .8rem auto 0;
    border-radius: 999px;
    content: "";
    background: linear-gradient(90deg, var(--brand-teal), var(--brand-teal-bright));
}

.fi-fo-field-wrp-label {
    color: #334155 !important;
    font-weight: 700 !important;
}

.fi-ac-link-action {
    color: var(--brand-teal) !important;
}

@media (max-width: 1023px) {
    .fi-main {
        padding-inline: 1rem !important;
    }
}

.dark .fi-sidebar {
    background: linear-gradient(180deg, #071827, #030b13) !important;
}

.dark .fi-body {
    background: #08131f !important;
}

[x-cloak] {
    display: none !important;
}

.record-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    overflow: hidden;
    min-height: 10.5rem;
    padding: 2rem;
    border-radius: 1.5rem;
    color: #fff;
    background:
        radial-gradient(circle at 12% 15%, rgba(45, 212, 191, .3), transparent 16rem),
        linear-gradient(125deg, #0b1f33, #123d50 62%, #0f766e);
    box-shadow: 0 22px 55px rgba(11, 31, 51, .2);
}

.record-hero::after {
    position: absolute;
    inset: auto -5rem -8rem auto;
    width: 20rem;
    height: 20rem;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    content: "";
    box-shadow: 0 0 0 3rem rgba(255,255,255,.035), 0 0 0 6rem rgba(255,255,255,.025);
}

.record-hero--request {
    background:
        radial-gradient(circle at 12% 15%, rgba(96, 165, 250, .28), transparent 16rem),
        linear-gradient(125deg, #111c35, #17345b 62%, #1d4ed8);
}

.record-hero__icon {
    display: grid;
    flex: 0 0 4.75rem;
    width: 4.75rem;
    height: 4.75rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(12px);
}

.record-hero__icon svg {
    width: 2.35rem;
    height: 2.35rem;
}

.record-hero__content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.record-hero__eyebrow {
    margin-bottom: .45rem;
    color: #99f6e4;
    font-size: .78rem;
    font-weight: 800;
}

.record-hero__content h2 {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    font-weight: 900;
}

.record-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.25rem;
    margin-top: .85rem;
    color: #dbeafe;
    font-size: .83rem;
}

.record-hero__status {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    padding: .55rem 1rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    font-size: .78rem;
    font-weight: 800;
}

.record-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.record-metric {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.35rem;
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 9px 28px rgba(15,23,42,.05);
}

.record-metric span {
    color: #64748b;
    font-size: .8rem;
    font-weight: 700;
}

.record-metric strong {
    color: var(--brand-navy);
    font-size: 1.6rem;
}

.record-tabs {
    overflow: hidden;
    border: 1px solid var(--brand-border);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 12px 35px rgba(15,23,42,.055);
}

.record-tabs__nav {
    display: flex;
    gap: .4rem;
    overflow-x: auto;
    padding: .75rem;
    border-bottom: 1px solid var(--brand-border);
    background: #f8fafc;
}

.record-tabs__nav button {
    flex: 0 0 auto;
    padding: .7rem 1rem;
    border: 0;
    border-radius: .7rem;
    color: #64748b;
    background: transparent;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
    cursor: pointer;
}

.record-tabs__nav button.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-teal), #0d9488);
    box-shadow: 0 7px 18px rgba(15,118,110,.18);
}

.record-panel {
    padding: 1.25rem;
}

.record-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
    gap: 1.25rem;
}

.record-grid--request {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.record-card {
    padding: 1.35rem;
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 25px rgba(15,23,42,.045);
}

.record-card h3 {
    margin: 0 0 1.15rem;
    color: var(--brand-navy);
    font-size: 1rem;
    font-weight: 900;
}

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

.record-card__heading h3 {
    margin: 0;
}

.record-card__heading a,
.record-card__heading span {
    color: var(--brand-teal);
    font-size: .76rem;
    font-weight: 800;
}

.record-map-card iframe {
    width: 100%;
    height: 24rem;
    border: 0;
    border-radius: .85rem;
    background: #e2e8f0;
}

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

.record-details div {
    padding: .85rem;
    border-radius: .75rem;
    background: #f8fafc;
}

.record-details .wide {
    grid-column: 1 / -1;
}

.record-details dt {
    margin-bottom: .35rem;
    color: #64748b;
    font-size: .7rem;
    font-weight: 800;
}

.record-details dd {
    margin: 0;
    color: #1e293b;
    font-size: .88rem;
    font-weight: 700;
}

.record-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}

.record-list article {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem;
    border: 1px solid var(--brand-border);
    border-radius: .85rem;
}

.record-list article div:last-child {
    display: grid;
    gap: .25rem;
}

.record-list article span {
    color: #64748b;
    font-size: .72rem;
}

.record-avatar {
    display: grid;
    flex: 0 0 2.65rem;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    border-radius: .8rem;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-teal), var(--brand-teal-bright));
    font-weight: 900;
}

.record-table {
    display: grid;
    gap: .65rem;
}

.record-table > div,
.record-table > a {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: .9rem 1rem;
    border: 1px solid var(--brand-border);
    border-radius: .8rem;
    color: inherit;
    text-decoration: none;
    transition: .16s ease;
}

.record-table > a:hover {
    border-color: rgba(15,118,110,.35);
    background: rgba(15,118,110,.035);
    transform: translateY(-1px);
}

.record-table span {
    color: #64748b;
    font-size: .8rem;
}

.record-table b {
    color: var(--brand-teal);
    font-size: .76rem;
}

.record-empty {
    padding: 2.5rem;
    border: 1px dashed #cbd5e1;
    border-radius: .9rem;
    color: #64748b;
    text-align: center;
}

.record-description {
    margin: -.35rem 0 1.2rem;
    color: #475569;
    line-height: 1.9;
}

.request-timeline {
    position: relative;
    display: grid;
    gap: 1rem;
    padding-inline-start: 1.5rem;
}

.request-timeline::before {
    position: absolute;
    inset: .5rem .45rem .5rem auto;
    width: 2px;
    content: "";
    background: #dbe5ec;
}

.request-timeline article {
    position: relative;
}

.request-timeline__dot {
    position: absolute;
    inset: 1rem -.1rem auto auto;
    z-index: 1;
    width: .75rem;
    height: .75rem;
    border: 3px solid #ccfbf1;
    border-radius: 50%;
    background: var(--brand-teal);
}

.request-timeline__card {
    margin-inline-start: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--brand-border);
    border-radius: .9rem;
    background: #fbfdfe;
}

.request-timeline__card header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.request-timeline__card time,
.request-timeline__card footer {
    color: #94a3b8;
    font-size: .7rem;
}

.request-timeline__card footer {
    margin-top: .75rem;
}

.request-public-note,
.request-internal-note {
    margin-top: .8rem;
    padding: .8rem;
    border-radius: .7rem;
}

.request-public-note {
    color: #065f46;
    background: #ecfdf5;
}

.request-internal-note {
    color: #7c2d12;
    background: #fff7ed;
}

.request-public-note p,
.request-internal-note p {
    margin: .3rem 0 0;
    line-height: 1.7;
}

.mosques-map-shell {
    overflow: hidden;
    border: 1px solid var(--brand-border);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 15px 40px rgba(15,23,42,.08);
}

#mosques-map {
    height: calc(100vh - 16rem);
    min-height: 34rem;
}

@media (max-width: 900px) {
    .record-metrics,
    .record-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .record-grid,
    .record-grid--request {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .record-hero {
        align-items: flex-start;
        padding: 1.4rem;
    }

    .record-hero__icon {
        display: none;
    }

    .record-metrics,
    .record-list {
        grid-template-columns: 1fr;
    }

    .record-hero__status {
        position: absolute;
        inset: 1rem auto auto 1rem;
    }

    .record-table > div,
    .record-table > a {
        grid-template-columns: 1fr;
        gap: .35rem;
    }
}
.fi-btn-color-primary{background:var(--brand-teal)!important}.fi-btn-color-primary:hover{background:var(--brand-navy)!important}
