@font-face {
    font-family: 'Cairo';
    src: url('../fonts/cairo-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('../fonts/cairo-600.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('../fonts/cairo-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #f4f7f3;
    --bg-soft: #fbfcf8;
    --surface: #ffffff;
    --surface-alt: #f8faf7;
    --text: #203229;
    --muted: #5d6d63;
    --border: #d9e1d7;
    --primary: #2d6a4f;
    --primary-dark: #1f513b;
    --accent: #c8a65b;
    --success: #266646;
    --warning: #996c18;
    --danger: #9f3f3f;
    --shadow: 0 18px 36px rgba(26, 52, 40, 0.08);
    --radius: 22px;
    --radius-sm: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Cairo', sans-serif;
    background:
        radial-gradient(circle at top right, rgba(200, 166, 91, 0.16), transparent 28%),
        linear-gradient(180deg, #f6f8f2 0%, #eef3ed 100%);
    color: var(--text);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

.wrap {
    width: min(1120px, calc(100% - 1.5rem));
    margin: 0 auto;
}

.page-shell,
.admin-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(249, 251, 247, 0.92);
    border-bottom: 1px solid rgba(217, 225, 215, 0.85);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-logos {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    padding: 0.3rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(217, 225, 215, 0.95);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.brand-copy strong {
    font-size: 1rem;
}

.brand-copy span {
    color: var(--muted);
    font-size: 0.86rem;
}

.ghost-link {
    color: var(--primary-dark);
    font-weight: 700;
}

.ghost-link.is-disabled {
    color: var(--muted);
    cursor: default;
}

.main-content {
    padding: 1.25rem 0 2.5rem;
}

.site-footer {
    padding: 0 0 2rem;
}

.footer-inner {
    color: var(--muted);
    text-align: center;
    font-size: 0.92rem;
}

.visitor-counter {
    display: block;
    margin-top: 0.35rem;
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 600;
}

.alerts-stack {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.alert {
    border-radius: 18px;
    padding: 0.95rem 1rem;
    border: 1px solid transparent;
    box-shadow: var(--shadow);
    background: #fff;
    line-height: 1.8;
}

.alert-success {
    border-color: rgba(38, 102, 70, 0.18);
    background: #f1faf4;
    color: var(--success);
}

.alert-error {
    border-color: rgba(159, 63, 63, 0.18);
    background: #fff6f6;
    color: var(--danger);
    font-weight: 700;
}

.alert-info {
    border-color: rgba(45, 106, 79, 0.16);
    background: #f4faf7;
    color: var(--primary-dark);
}

.deadline-alert {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid rgba(159, 63, 63, 0.32);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(159, 63, 63, 0.14), rgba(255, 255, 255, 0.96) 48%),
        #fff7f7;
    color: #6f1f1f;
    box-shadow: 0 18px 36px rgba(159, 63, 63, 0.12);
}

.deadline-alert-copy {
    min-width: 0;
}

.deadline-alert-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 0.55rem;
    padding: 0.28rem 0.68rem;
    border-radius: 999px;
    background: #9f3f3f;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}

.deadline-alert h2 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    line-height: 1.65;
}

.deadline-alert p {
    margin: 0;
    color: #7e3939;
    line-height: 1.8;
}

.deadline-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
}

.deadline-timebox {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: 0.6rem 0.35rem;
    border: 1px solid rgba(159, 63, 63, 0.24);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
}

.deadline-timebox strong {
    font-size: 1.35rem;
    line-height: 1.1;
    color: #8b2d2d;
    font-variant-numeric: tabular-nums;
}

.deadline-timebox span {
    margin-top: 0.25rem;
    color: #7e3939;
    font-size: 0.78rem;
    font-weight: 700;
}

.deadline-alert.is-expired {
    background: linear-gradient(135deg, #9f3f3f, #702424);
    color: #fff;
}

.deadline-alert.is-expired p,
.deadline-alert.is-expired .deadline-timebox span,
.deadline-alert.is-expired .deadline-timebox strong {
    color: #fff;
}

.deadline-alert.is-expired .deadline-alert-label,
.deadline-alert.is-expired .deadline-timebox {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.hero-card,
.panel-card,
.table-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 247, 0.96));
    border: 1px solid rgba(217, 225, 215, 0.95);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card,
.panel-card {
    padding: 1.35rem;
}

.hero-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.hero-card::after {
    content: '';
    position: absolute;
    inset-inline-start: -10%;
    inset-block-end: -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-copy h1,
.section-head h1,
.admin-topbar h1 {
    margin: 0;
    line-height: 1.4;
    font-size: 1.55rem;
}

.hero-copy p,
.section-head p,
.info-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.95;
}

.hero-copy p + p,
.section-head p + p {
    margin-top: 0.5rem;
}

.hero-actions {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-return-actions {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    margin-bottom: 0.8rem;
    padding: 0.36rem 0.7rem;
    border-radius: 999px;
    background: rgba(45, 106, 79, 0.08);
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 700;
}

.cards-grid,
.stats-grid,
.details-grid {
    display: grid;
    gap: 1rem;
}

.cards-grid,
.stats-grid {
    grid-template-columns: 1fr;
    margin-top: 1rem;
}

.info-card,
.stat-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

.info-card h2 {
    margin: 0 0 0.45rem;
    font-size: 1.06rem;
}

.info-card .button {
    margin-top: 1rem;
}

.locations-showcase {
    margin: 0.9rem 0 0;
}

.locations-head {
    margin-bottom: 0.8rem;
}

.locations-head h2 {
    margin: 0 0 0.35rem;
    font-size: 1.12rem;
}

.locations-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.94rem;
}

.locations-grid {
    display: grid;
    gap: 1rem;
}

.location-card {
    position: relative;
    overflow: hidden;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(217, 225, 215, 0.95);
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 248, 0.97));
}

.location-card::before {
    content: '';
    position: absolute;
    inset-inline-end: -38px;
    inset-block-start: -34px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    opacity: 0.48;
    pointer-events: none;
}

.location-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 1;
}

.boys-card::before {
    background: radial-gradient(circle, rgba(115, 184, 255, 0.95), transparent 68%);
}

.girls-card::before {
    background: radial-gradient(circle, rgba(246, 167, 202, 0.95), transparent 68%);
}

.boys-card {
    background:
        linear-gradient(180deg, rgba(232, 245, 255, 0.92), rgba(255, 255, 255, 0.98)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 248, 0.97));
    border-color: rgba(160, 207, 245, 0.8);
    box-shadow: 0 14px 28px rgba(115, 184, 255, 0.14);
}

.girls-card {
    background:
        linear-gradient(180deg, rgba(255, 238, 245, 0.92), rgba(255, 255, 255, 0.98)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 251, 248, 0.97));
    border-color: rgba(240, 190, 212, 0.82);
    box-shadow: 0 14px 28px rgba(246, 167, 202, 0.14);
}

.boys-card::after {
    background: linear-gradient(135deg, rgba(122, 191, 255, 0.16), transparent 52%);
}

.girls-card::after {
    background: linear-gradient(135deg, rgba(246, 167, 202, 0.18), transparent 52%);
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
    padding: 0.36rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(217, 225, 215, 0.95);
    color: var(--primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
}

.boys-card .location-badge {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(160, 207, 245, 0.8);
}

.girls-card .location-badge {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(240, 190, 212, 0.82);
}

.location-icon {
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.location-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.location-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    line-height: 1.6;
}

.location-card p {
    margin: 0 0 0.85rem;
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.9rem;
}

.button-map {
    background: linear-gradient(180deg, #fff, #f4f8f5);
    color: var(--primary-dark);
    border: 1px solid rgba(45, 106, 79, 0.18);
    width: 100%;
    padding: 0.78rem 0.95rem;
    font-size: 0.94rem;
}

.support-card {
    display: grid;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    padding: 1.2rem;
    background: linear-gradient(180deg, #ffffff, #f6faf7);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.support-copy h2 {
    margin: 0 0 0.45rem;
    font-size: 1.08rem;
}

.support-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.stat-card span {
    display: block;
    color: var(--muted);
    margin-bottom: 0.55rem;
}

.stat-card strong {
    font-size: 1.85rem;
    color: var(--primary-dark);
}

.section-head {
    margin-bottom: 1rem;
}

.section-head h2 {
    margin: 0 0 0.45rem;
    line-height: 1.55;
    font-size: 1.2rem;
}

.centered-head {
    text-align: center;
}

.narrow-card {
    width: min(720px, 100%);
    margin-inline: auto;
}

.stack-form {
    display: grid;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field span {
    font-weight: 700;
    color: var(--primary-dark);
}

.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    padding: 0.92rem 1rem;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
    min-height: 140px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: rgba(45, 106, 79, 0.48);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.08);
}

.button {
    appearance: none;
    border: none;
    border-radius: 16px;
    padding: 0.92rem 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.button-light {
    background: #fff;
    color: var(--primary-dark);
    border: 1px solid var(--border);
}

.button-stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    line-height: 1.45;
    text-align: right;
}

.button-stacked small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.button-disabled {
    background: #e6ece4;
    color: var(--muted);
    cursor: default;
}

.button-disabled:hover {
    transform: none;
}

.button-whatsapp {
    background: linear-gradient(180deg, #2bb84a, #1f8b37);
    color: #fff;
    width: 100%;
}

.whatsapp-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.button-block {
    width: 100%;
}

.button-small {
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    font-size: 0.92rem;
}

.details-grid {
    grid-template-columns: 1fr;
    margin: 1rem 0 1.25rem;
}

.detail-item,
.summary-box {
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.detail-item {
    padding: 1rem;
}

.detail-item span,
.summary-row span {
    display: block;
    color: var(--muted);
    margin-bottom: 0.3rem;
}

.detail-item strong,
.summary-row strong {
    color: var(--primary-dark);
    line-height: 1.8;
}

.detail-item-wide {
    grid-column: 1 / -1;
}

.split-actions {
    display: grid;
    gap: 0.85rem;
}

.summary-box {
    padding: 0.4rem 1rem;
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
}

.summary-row + .summary-row {
    border-top: 1px solid var(--border);
}

.check-field {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 18px;
    line-height: 1.9;
}

.check-field input {
    margin-top: 0.35rem;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.success-card {
    text-align: center;
}

.success-mark {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(180deg, #3d8d63, #266646);
    box-shadow: 0 18px 36px rgba(38, 102, 70, 0.18);
}

.filters-grid {
    display: grid;
    gap: 1rem;
}

.filters-actions {
    display: grid;
    gap: 0.75rem;
    align-content: end;
}

.table-card {
    margin-top: 1rem;
    overflow: hidden;
}

.table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
    background: #fff;
}

.compact-table {
    min-width: 420px;
}

.dashboard-table {
    min-width: 620px;
}

.dashboard-summary-grid {
    align-items: start;
}

.dashboard-mini-table {
    margin-top: 1rem;
}

.data-table th,
.data-table td {
    text-align: right;
    padding: 1rem;
    border-bottom: 1px solid #e6ece4;
    vertical-align: top;
}

.data-table th {
    background: #f2f6f2;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.empty-cell {
    text-align: center;
    color: var(--muted);
}

.issue-cell {
    min-width: 280px;
    line-height: 1.9;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-success {
    color: var(--success);
    background: rgba(38, 102, 70, 0.12);
}

.status-info {
    color: #1f5e8d;
    background: rgba(119, 185, 236, 0.18);
}

.status-warning {
    color: var(--warning);
    background: rgba(153, 108, 24, 0.13);
}

.status-danger {
    color: var(--danger);
    background: rgba(159, 63, 63, 0.12);
}

.status-neutral {
    color: #5b6670;
    background: rgba(120, 132, 144, 0.14);
}

.inline-status-form {
    display: grid;
    gap: 0.55rem;
    min-width: 170px;
}

.registration-status-cell {
    display: grid;
    gap: 0.55rem;
}

.admin-shell {
    display: flex;
    flex-direction: column;
}

.admin-sidebar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
}

.admin-sidebar-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.sidebar-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 16px;
    background: #fff;
    padding: 0.35rem;
    border: 1px solid var(--border);
}

.admin-sidebar-head strong,
.admin-sidebar-head span {
    display: block;
}

.admin-sidebar-head span {
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.55rem;
    margin-top: 1rem;
}

.admin-nav a {
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
    background: #f7faf6;
    border: 1px solid var(--border);
    text-align: center;
    font-weight: 700;
    color: var(--muted);
}

.admin-nav a.is-active {
    color: #fff;
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-color: transparent;
}

.admin-sidebar-foot {
    margin-top: 1rem;
    display: grid;
    gap: 0.85rem;
}

.admin-user-box {
    background: #f7faf6;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.9rem;
}

.admin-password-panel {
    position: relative;
    padding-inline-end: 3.35rem;
}

.admin-password-toggle {
    position: absolute;
    inset-block-start: 0.7rem;
    inset-inline-end: 0.7rem;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--primary-dark);
    cursor: pointer;
    line-height: 1;
    list-style: none;
}

.admin-password-toggle::-webkit-details-marker {
    display: none;
}

.admin-password-toggle::marker {
    content: "";
}

.admin-password-form {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 0.65rem;
}

.admin-password-form label {
    display: grid;
    gap: 0.35rem;
}

.admin-password-form label span {
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-password-form input {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 0.62rem 0.7rem;
    color: var(--text);
}

.admin-password-form .button {
    width: 100%;
}

.admin-user-box strong,
.admin-user-box span {
    display: block;
}

.admin-user-box span {
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-main {
    padding: 1rem;
}

.admin-topbar {
    margin-bottom: 1rem;
}

.admin-alerts {
    margin-bottom: 1rem;
}

.admin-login-card {
    margin-top: 3rem;
}

.section-block {
    margin-top: 1rem;
}

.about-summary-grid {
    margin-top: 1rem;
}

.about-grid,
.section-columns,
.cta-row {
    display: grid;
    gap: 1rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}

.about-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.02rem;
}

.about-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.icon-badge {
    width: 2.8rem;
    height: 2.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    border-radius: 16px;
    background: rgba(45, 106, 79, 0.08);
    color: var(--primary-dark);
}

.icon-badge svg {
    width: 1.35rem;
    height: 1.35rem;
    fill: currentColor;
}

.bullet-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.bullet-list li {
    position: relative;
    padding-inline-start: 1.25rem;
    color: var(--muted);
    line-height: 1.9;
}

.bullet-list li::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0.78rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
}

.cta-row .button {
    width: 100%;
}

.notice-banner {
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: #fff8e9;
    border: 1px solid rgba(200, 166, 91, 0.35);
    color: #6f5316;
    line-height: 1.9;
}

.compact-notice {
    text-align: right;
}

.faq-list {
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.25rem 1rem 0.95rem;
}

.faq-item summary {
    position: relative;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary-dark);
    list-style: none;
    padding: 0.9rem 0 0.9rem 1.75rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::before {
    content: '+';
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0.85rem;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--accent);
}

.faq-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

.faq-item[open] {
    box-shadow: var(--shadow);
}

.faq-item[open] summary::before {
    content: '−';
}

@media (max-width: 520px) {
    .hero-actions {
        display: grid;
    }

    .hero-actions .button,
    .page-return-actions .button {
        width: 100%;
    }
}

@media (min-width: 720px) {
    .hero-card,
    .panel-card {
        padding: 1.75rem;
    }

    .cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .locations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .location-card {
        padding: 1.1rem;
    }

    .support-card {
        grid-template-columns: 1.6fr auto;
        padding: 1.35rem 1.5rem;
    }

    .button-whatsapp {
        width: auto;
        min-width: 280px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filters-grid {
        grid-template-columns: 2fr 1fr auto;
    }

    .filters-grid-registrations {
        grid-template-columns: 2fr 1fr 1fr 1fr auto;
    }

    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-row {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (min-width: 980px) {
    .admin-shell {
        flex-direction: row;
    }

    .admin-sidebar {
        width: 280px;
        min-height: 100vh;
        border-bottom: 0;
        border-left: 1px solid var(--border);
        position: sticky;
        top: 0;
    }

    .admin-nav {
        grid-template-columns: 1fr;
    }

    .admin-main {
        flex: 1;
        padding: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .about-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
