@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --bg-deep: #061428;
    --bg-mid: #0b2a4a;
    --bg-blue: #1a4f7a;
    --bg-glow: #3d7ea6;
    --text: #f3f7fb;
    --text-muted: #b7c9d9;
    --accent: #d4b483;
    --accent-strong: #e8c99a;
    --glass: rgba(8, 28, 48, 0.72);
    --glass-border: rgba(212, 180, 131, 0.28);
    --danger: #ff8a8a;
    --radius: 18px;
    --font-ui: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-ui);
    color: var(--text);
    background:
        radial-gradient(1200px 600px at 15% 10%, rgba(61, 126, 166, 0.35), transparent 55%),
        radial-gradient(900px 500px at 85% 20%, rgba(26, 79, 122, 0.45), transparent 50%),
        linear-gradient(165deg, var(--bg-deep) 0%, var(--bg-mid) 45%, #0a2038 100%);
    background-attachment: fixed;
    min-height: 100vh;
    min-height: 100dvh;
    line-height: 1.55;
}

body.nav-open {
    overflow: hidden;
    touch-action: none;
}

a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: #fff; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.25rem;
    background: rgba(6, 20, 40, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
}

.brand img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    user-select: none;
}

.brand strong {
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.04em;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    justify-content: flex-end;
}

.nav a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.nav a:hover { color: var(--text); }

.hero {
    min-height: calc(100vh - 84px);
    display: grid;
    place-items: center;
    padding: 3rem 1.25rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -20% -10%;
    background:
        radial-gradient(circle at 30% 40%, rgba(61, 126, 166, 0.35), transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(212, 180, 131, 0.12), transparent 35%);
    animation: drift 18s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes drift {
    from { transform: translate3d(-2%, -1%, 0) scale(1); }
    to { transform: translate3d(2%, 2%, 0) scale(1.05); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    text-align: center;
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: block;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 20px 50px rgba(0,0,0,0.35);
    animation: fadeUp 0.9s ease both;
}

.hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin: 0 0 0.75rem;
    letter-spacing: 0.02em;
    animation: fadeUp 1s ease 0.1s both;
}

.hero .slogan {
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
    color: var(--text-muted);
    margin: 0 0 1.75rem;
    animation: fadeUp 1s ease 0.2s both;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
    animation: fadeUp 1s ease 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #c49a62);
    color: #1a1208;
}

.btn-primary:hover { color: #1a1208; }

.btn-ghost {
    background: transparent;
    border-color: rgba(255,255,255,0.28);
    color: var(--text);
}

.section {
    padding: 4.5rem 1.25rem;
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Animacja tylko gdy JS działa — bez JS sekcje zawsze widoczne */
html.has-section-anim .section:not(.is-visible) {
    opacity: 0;
    transform: translateY(28px);
}

.section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin: 0 0 0.5rem;
}

.section .lead {
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 0 1.75rem;
}

.glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.25rem 1.35rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.grid-2 {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card-title {
    font-weight: 600;
    margin: 0 0 0.4rem;
    color: var(--accent-strong);
}

.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.price-row:last-child { border-bottom: 0; }

.promo { color: var(--accent); font-size: 0.85rem; }

.offer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.chip {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--text);
    background: rgba(255,255,255,0.04);
}

.map-wrap {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    min-height: 280px;
}

.map-wrap iframe {
    width: 100%;
    height: 320px;
    border: 0;
    filter: grayscale(0.15) contrast(1.05);
}

.site-footer {
    padding: 2rem 1.25rem 3rem;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.form label {
    display: block;
    margin: 0.85rem 0 0.35rem;
    font-weight: 500;
}

.form input, .form textarea, .form select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.06);
    color: var(--text);
    font-size: 1rem; /* iOS: bez zoomu przy fokusie */
    font: inherit;
}

.form textarea { min-height: 110px; resize: vertical; }

/* Select bez JS (fallback) — ciemna lista zamiast białej */
.form select {
    background: #0a2038;
    color: #f3f7fb;
}

.form select option {
    background: #061428;
    color: #f3f7fb;
}

/* Edycja terminów: natywna ikonka kalendarza/zegara widoczna na ciemnym tle */
.form input[type="datetime-local"],
.form input[type="date"],
.form input[type="time"] {
    color-scheme: dark;
}

/* Natywny select niewidoczny — lista to .custom-select (Windows ignoruje styl option) */
select.custom-select-native {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.custom-select {
    position: relative;
    width: 100%;
    margin-top: 0.15rem;
}

.custom-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: #0a2038;
    color: #f3f7fb;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.custom-select-trigger::after {
    content: '▾';
    color: var(--accent-strong);
    font-size: 0.9rem;
}

.custom-select-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 80;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    max-height: min(280px, 50vh);
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid rgba(212, 180, 131, 0.35);
    background: #061428;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.custom-select.is-open .custom-select-list {
    display: block;
}

.custom-select-option {
    padding: 0.7rem 0.9rem;
    color: #f3f7fb;
    background: #061428;
    cursor: pointer;
    line-height: 1.35;
}

.custom-select-option:hover,
.custom-select-option[aria-selected="true"] {
    background: #123356;
    color: #ffffff;
}

.custom-select-option.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.checkbox {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.checkbox input { width: auto; margin-top: 0.25rem; }

.alert {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(90, 180, 130, 0.18);
    border: 1px solid rgba(90, 180, 130, 0.45);
}

.alert-error {
    background: rgba(255, 120, 120, 0.15);
    border: 1px solid rgba(255, 120, 120, 0.4);
    color: #ffd0d0;
}

.panel {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1.25rem 3rem;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
}

.admin-nav a {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.table-like { display: grid; gap: 1rem; }

a.dash-tile {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

a.dash-tile:hover {
    color: inherit;
    border-color: rgba(232, 201, 154, 0.55);
    transform: translateY(-2px);
}

a.dash-tile:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.qr-box {
    text-align: center;
    padding: 1.5rem;
}

.qr-box img {
    max-width: 280px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.admin-gate {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(4, 12, 24, 0.72);
    place-items: center;
    padding: 1rem;
}

.admin-gate.open { display: grid; }

.admin-gate .glass { max-width: 420px; width: 100%; }

@media (max-width: 900px) {
    .site-header {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 1rem;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .brand strong {
        font-size: 1rem;
    }

    .nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        max-height: min(70vh, 520px);
        max-height: min(70dvh, 520px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.35rem 0 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 0.5rem;
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 0.9rem 0.35rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1.05rem;
        color: var(--text);
    }

    .nav a:last-child {
        border-bottom: 0;
    }

    /* iOS Safari: fixed background często muli / „skacze” */
    body {
        background-attachment: scroll;
    }

    .hero {
        min-height: calc(100vh - 72px);
        min-height: calc(100dvh - 72px);
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-row .btn {
        width: 100%;
    }
}

/* Mobile — sekcje, cennik, terminy kalendarza */
@media (max-width: 600px) {
    .section {
        padding: 3rem 1rem;
    }

    .price-row {
        flex-wrap: wrap;
    }

    .calendar-term-summary {
        flex-wrap: wrap;
        row-gap: 0.35rem;
    }

    .calendar-term-cta {
        white-space: normal;
    }

    .calendar-term-main strong {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .panel {
        padding: 0 0.9rem 2.5rem;
    }

    .admin-nav a {
        padding: 0.55rem 0.85rem;
        font-size: 0.9rem;
    }

    .student-qr {
        width: min(240px, 78vw);
    }
}

@media (min-width: 901px) {
    .header-bar {
        width: auto;
        flex: 0 1 auto;
    }

    .nav {
        display: flex !important;
    }
}

/* Bramka wejścia — cały zestaw wyśrodkowany na ekranie */
html:has(.gate-body) {
    height: 100%;
    width: 100%;
}

.gate-body {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    justify-items: center;
    align-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding:
        max(1rem, env(safe-area-inset-top))
        max(1.25rem, env(safe-area-inset-right))
        max(1rem, env(safe-area-inset-bottom))
        max(1.25rem, env(safe-area-inset-left));
    background-attachment: scroll;
    box-sizing: border-box;
}

.gate-screen {
    width: min(400px, 100%);
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    justify-self: center;
    align-self: center;
}

.gate-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.35rem, 1.4vh, 0.9rem);
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.gate-logo {
    width: clamp(56px, 11vh, 104px);
    height: auto;
    margin: 0 auto;
    flex-shrink: 0;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
    animation: fadeUp 0.7s ease both;
}

.gate-brand {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3.2vh, 1.85rem);
    line-height: 1.15;
    margin: 0;
    animation: fadeUp 0.8s ease both;
}

.gate-lead {
    color: var(--text-muted);
    margin: 0;
    font-size: clamp(0.9rem, 2.1vh, 1.05rem);
    animation: fadeUp 0.9s ease both;
}

.gate-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(0.45rem, 1.2vh, 0.75rem);
    width: 100%;
    max-width: 100%;
    margin: clamp(0.15rem, 0.8vh, 0.5rem) auto 0;
    animation: fadeUp 1s ease both;
}

.gate-actions-single {
    grid-template-columns: 1fr;
}

.gate-btn {
    width: 100%;
    justify-content: center;
    font-size: clamp(0.95rem, 2.2vh, 1.1rem);
    padding: clamp(0.7rem, 1.8vh, 0.95rem) 0.65rem;
    min-height: 44px;
}

.gate-register {
    margin: clamp(0.15rem, 0.8vh, 0.5rem) 0 0;
    font-size: clamp(0.8rem, 1.8vh, 0.9rem);
}

.gate-inner .alert {
    margin: 0;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
}

.login-announce {
    width: 100%;
    margin: 0.15rem 0;
    animation: fadeUp 0.95s ease both;
}

.login-announce-inner {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 18, 28, 0.55);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    text-align: left;
}

.login-announce-label {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.login-announce-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.login-announce-list li {
    display: grid;
    gap: 0.15rem;
}

.login-announce-list strong {
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 600;
}

.auth-card .login-announce,
.login-panel .login-announce {
    margin: 0 0 1rem;
}

.announce-blink-wrap {
    display: grid;
    gap: 0.55rem;
    width: 100%;
    max-width: 420px;
    margin: 0.85rem auto 0;
}

.announce-blink {
    animation: announceBlink 1.25s ease-in-out infinite;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    line-height: 1.25;
}

.announce-blink-meta {
    display: block;
    font-size: 0.82em;
    font-weight: 500;
    opacity: 0.92;
}

@keyframes announceBlink {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 180, 80, 0.35); }
    50% { opacity: 0.82; transform: scale(1.03); box-shadow: 0 0 18px 2px rgba(255, 180, 80, 0.45); }
}

@media (max-width: 380px), (max-height: 520px) {
    .gate-actions {
        grid-template-columns: 1fr;
    }

    .gate-logo {
        width: clamp(48px, 9vh, 80px);
    }

    .gate-brand {
        font-size: clamp(1.1rem, 2.8vh, 1.5rem);
    }
}

@media (max-height: 420px) {
    .gate-body {
        place-items: center;
        align-content: center;
    }

    .gate-logo {
        width: 48px;
    }
}

/* Widok kursanta — QR */
.student-hero .student-hero-inner {
    max-width: 520px;
}

.student-name {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin: 0 0 0.75rem;
}

.student-qr-wrap {
    display: grid;
    place-items: center;
    margin: 0.5rem auto 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    width: fit-content;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.student-qr {
    width: min(280px, 70vw);
    height: auto;
    display: block;
}

.student-entries {
    font-size: 1.15rem;
    margin: 0.5rem 0;
}

.signup-block {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.signup-block:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.signup-form,
.payment-form {
    margin-top: 0.75rem;
}

.signup-form label,
.payment-form label {
    margin-top: 0.5rem;
}

.dash-tile {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.dash-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(232, 196, 120, 0.45);
}

/* Kalendarz instruktorów — klikalne terminy */
.instructor-calendar-block {
    padding: 1.1rem 1.15rem;
}

/* Zakładki z imionami instruktorów — widoczne tylko gdy JS działa */
.instructor-tabs {
    display: none;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

html.has-cal-tabs .instructor-tabs {
    display: flex;
}

.instructor-tab {
    flex: 1 1 140px;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(232, 196, 120, 0.4);
    background: rgba(4, 18, 32, 0.6);
    color: #f3f7fb;
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.instructor-tab:hover {
    border-color: rgba(232, 196, 120, 0.75);
}

.instructor-tab.is-active {
    background: linear-gradient(120deg, #e8c478, #d4b483);
    border-color: transparent;
    color: #0b1c2a;
    font-weight: 700;
}

/* Gdy JS działa, pokazuj tylko wybrany kalendarz; bez JS — wszystkie jak dotąd */
html.has-cal-tabs .instructor-calendar-panel:not(.is-active) {
    display: none;
}

.calendar-term {
    margin: 0.65rem 0;
    padding: 0;
    border: 1px solid rgba(232, 196, 120, 0.35);
    border-radius: 12px;
    background: rgba(4, 18, 32, 0.55);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.calendar-term--oneoff {
    border-color: rgba(120, 196, 232, 0.45);
    background: rgba(8, 32, 48, 0.72);
}

.calendar-term-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    color: #f3f7fb;
}

.calendar-term-summary::-webkit-details-marker {
    display: none;
}

.calendar-term-main {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: left;
}

.calendar-term-main strong {
    color: #fff;
    font-size: 1.05rem;
}

.calendar-term-main .muted {
    color: #c5d4e2;
}

.calendar-kind-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    color: #0b1c2a;
    background: linear-gradient(120deg, #e8c478, #d4b483);
    font-weight: 700;
}

.calendar-price-line {
    color: #e8c478;
    font-size: 0.92rem;
    font-weight: 600;
}

.calendar-term-cta {
    color: #e8c478;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.calendar-term[open] {
    border-color: rgba(232, 196, 120, 0.65);
}

.calendar-term[open] .calendar-term-cta {
    opacity: 0.7;
}

.calendar-term-body {
    padding: 0 1rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.calendar-term-summary:hover {
    background: rgba(255, 255, 255, 0.03);
}

.calendar-admin-card--oneoff {
    border: 1px solid rgba(120, 196, 232, 0.4);
}

.calendar-admin-badge {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #e8c478;
    color: #0b1c2a;
    font-size: 0.8rem;
    font-weight: 700;
}
