:root {
    --bg: #f4faf7;
    --surface: #ffffff;
    --surface-strong: #0f2e22;
    --surface-soft: #eaf8f3;
    --text: #10231b;
    --muted: #5b6f67;
    --brand: #10b981;
    --brand-dark: #07966b;
    --brand-darker: #056048;
    --accent: #f3db78;
    --accent-soft: #fff7d6;
    --border: #ddebe6;
    --border-soft: rgba(18, 33, 24, 0.07);
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 28px;
    --shadow-soft: 0 8px 24px rgba(16, 38, 28, 0.06);
    --shadow-card: 0 18px 44px rgba(16, 38, 28, 0.1);
    --shadow-card-hover: 0 28px 60px rgba(7, 105, 75, 0.18);
    --shadow: var(--shadow-card);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --header-height: 80px;
}

html,
body {
    height: 100%;
}

body {
    background:
        radial-gradient(900px 600px at 90% -10%, rgba(243, 219, 120, 0.18), transparent 60%),
        radial-gradient(800px 600px at -10% 10%, rgba(16, 184, 129, 0.12), transparent 60%),
        radial-gradient(700px 500px at 50% 110%, rgba(7, 150, 107, 0.08), transparent 70%),
        linear-gradient(180deg, #f8fdfb 0%, var(--bg) 100%);
    background-attachment: fixed, fixed, fixed, fixed;
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1 0 auto;
    padding-top: var(--header-height);
}

/* The public event registration pages (templates/layouts/event.php) have no fixed
   site header to clear - they use their own in-flow navbar, so the global offset
   above would otherwise leave a blank gap at the top of every event page. */
.event-public-body main {
    padding-top: 0;
}

h1,
h2,
h3,
.navbar-brand,
.btn {
    font-family: 'Space Grotesk', sans-serif;
}

.site-header {
    background: linear-gradient(135deg, var(--surface-strong), #174135);
    border-bottom: 4px solid var(--brand);
    box-shadow: 0 10px 30px rgba(7, 20, 14, 0.28);
}

.brand-logo {
    height: 2.4rem;
    width: auto;
    display: block;
}

.brand-logo-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.75rem;
    border-radius: 0.85rem;
    background: #fff;
}

.brand-logo-chip .brand-logo {
    height: 2rem;
}

.navbar-event-name {
    margin-left: 0.9rem;
    padding-left: 0.9rem;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    max-width: 34vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .navbar-event-name {
        max-width: 42vw;
        font-size: 0.85rem;
        margin-left: 0.6rem;
        padding-left: 0.6rem;
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.nav-link.active,
.nav-link:hover {
    color: #fff;
}

.btn-brand {
    background: linear-gradient(135deg, var(--brand), #21b57f);
    border: 0;
    color: #fff;
    box-shadow: 0 14px 34px rgba(14, 159, 110, 0.3);
}

.btn-brand:hover {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
}

.hero-section,
.page-hero,
.pb-6,
.py-lg-6 {
    position: relative;
}

.py-lg-6 {
    padding-bottom: 6rem !important;
}

.pb-6 {
    padding-bottom: 6rem !important;
}

.eyebrow,
.section-kicker {
    color: var(--brand-dark);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
}

.hero-panel,
.info-card,
.package-card,
.step-card,
.cta-panel,
.form-shell,
.stat-card,
.faq-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.94);
}

.hero-image-wrap {
    border-radius: 1rem;
    overflow: hidden;
    height: 220px;
}

.hero-image-wrap img,
.package-image-wrap img,
.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-panel-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-panel-body,
.contract-checklist {
    display: grid;
    gap: 1rem;
}

.feature-tile {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(180deg, var(--surface-soft), #f7fbf9);
    border-radius: 1rem;
}

.feature-tile i,
.info-card i {
    color: var(--brand);
    font-size: 1.35rem;
}

/* Buttons inside info-card: icons inherit the button's own color and stay sized normally. */
.info-card .btn i,
.info-card .btn-group i,
.info-card form .btn i {
    color: inherit;
    font-size: 1em;
}

/* Compact icon-only action buttons (sort/edit/delete) in admin tables and lists. */
.info-card .btn-group-sm > .btn,
.info-card .btn-group-sm form .btn,
.info-card .btn-group .btn-icon,
.info-card .btn.btn-icon {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.45rem;
    --bs-btn-font-size: 0.8rem;
    line-height: 1;
}
.info-card .btn-group-sm > .btn i,
.info-card .btn-group-sm form .btn i,
.info-card .btn.btn-icon i {
    font-size: 0.85rem;
}

/* Refined action controls on contracted companies table */
.company-actions {
    border-radius: 999px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(18, 33, 24, 0.08);
}

.company-actions .btn {
    border-radius: 0;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.company-actions .btn + .btn {
    border-left-width: 0;
}

.company-actions .company-action-pill {
    padding-inline: 0.55rem;
}

/* Make the delete (outline-danger) button clearly red and red on hover too. */
.info-card .btn-outline-danger,
.table .btn-outline-danger {
    color: #dc3545 !important;
    border-color: #dc3545 !important;
    background-color: transparent;
}
.info-card .btn-outline-danger:hover,
.info-card .btn-outline-danger:focus-visible,
.table .btn-outline-danger:hover,
.table .btn-outline-danger:focus-visible {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}
.info-card .btn-outline-danger:hover i,
.info-card .btn-outline-danger:focus-visible i,
.table .btn-outline-danger:hover i,
.table .btn-outline-danger:focus-visible i {
    color: #fff !important;
}

.feature-tile h3,
.info-card h2,
.step-card h3,
.package-card h2,
.package-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.feature-tile p,
.info-card p,
.step-card p,
.package-card p,
.cta-panel p {
    color: var(--muted);
    margin-bottom: 0;
}

.stat-card,
.info-card,
.step-card,
.package-card,
.cta-panel,
.form-shell {
    padding: 1.5rem;
}

.faq-card {
    padding: 2rem;
}

.stat-card strong {
    font-size: 2rem;
    display: block;
}

.stat-card span {
    color: var(--muted);
}

.section-header {
    max-width: 48rem;
}

.step-card span {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent);
    margin-bottom: 1rem;
    font-weight: 800;
}

.card-grid-equal .col-md-4,
.card-grid-equal .col-md-6,
.card-grid-equal .col-xl-3 {
    display: flex;
}

.card-grid-equal .info-card,
.card-grid-equal .package-card,
.card-grid-equal .step-card {
    width: 100%;
}

.card-photo {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-photo img {
    height: 170px;
}

.card-body-soft {
    padding: 1.15rem 1.2rem 1.3rem;
    background: rgba(255, 255, 255, 0.97);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.card-body-soft i {
    color: var(--brand);
}

.package-card-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.35rem;
    flex-wrap: wrap;
}

.package-card-top > div {
    min-width: 0;
}

.package-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    overflow: hidden;
    min-height: 100%;
}

.package-image-wrap {
    margin: -1.5rem -1.5rem 0.2rem;
    height: 160px;
    overflow: hidden;
}

.package-tag {
    display: inline-flex;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: #7c5d00;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.xdsoft_datetimepicker {
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 38px rgba(16, 38, 28, 0.18) !important;
    font-family: 'Manrope', sans-serif !important;
    padding: 10px !important;
}

.xdsoft_datetimepicker .xdsoft_label,
.xdsoft_datetimepicker .xdsoft_prev,
.xdsoft_datetimepicker .xdsoft_next,
.xdsoft_datetimepicker .xdsoft_today_button {
    color: var(--text) !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td,
.xdsoft_datetimepicker .xdsoft_time_box > div > div {
    border-radius: 8px !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td:hover,
.xdsoft_datetimepicker .xdsoft_time_box > div > div:hover {
    background: rgba(16, 185, 129, 0.12) !important;
    color: var(--brand-dark) !important;
}

.xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
.xdsoft_datetimepicker .xdsoft_time_box > div > div.xdsoft_current {
    background: var(--brand) !important;
    box-shadow: none !important;
    color: #fff !important;
}

.price-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
    text-align: right;
}

.price-tag {
    white-space: normal;
    overflow-wrap: anywhere;
    color: var(--brand-darker);
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 1.15;
}

.price-was-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.price-was {
    color: var(--muted);
    font-size: 1.1rem;
    font-weight: 700;
    white-space: normal;
    overflow-wrap: anywhere;
}

.discount-chip {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent), #eec555);
    color: #6b4c00;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.campaign-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--brand-darker);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
}

.package-card li,
.contract-checklist li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: var(--muted);
    margin-bottom: 0.7rem;
}

.package-card li i,
.contract-checklist li i {
    color: var(--brand);
    margin-top: 0.2rem;
}

.package-limits {
    margin-top: 0.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(16, 38, 28, 0.1);
}

.package-features {
    display: grid;
    gap: 0.55rem;
    margin-top: auto;
}

.package-features li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0;
    font-size: 0.92rem;
}

.package-features li i {
    color: #d08a00;
    margin-top: 0.2rem;
}

.cta-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: linear-gradient(135deg, var(--surface-strong), #174135);
    color: #fff;
}

.cta-panel p,
.text-secondary {
    color: rgba(18, 33, 24, 0.68) !important;
}

.cta-panel p {
    color: rgba(255, 255, 255, 0.78) !important;
}

.form-shell {
    background: rgba(255, 255, 255, 0.94);
}

.form-control,
.form-select {
    border-radius: 0.95rem;
    border-color: rgba(18, 33, 24, 0.14);
    padding: 0.85rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(14, 159, 110, 0.4);
    box-shadow: 0 0 0 0.2rem rgba(14, 159, 110, 0.15);
}

.site-footer {
    background: linear-gradient(135deg, var(--surface-strong), #174135);
    border-top: 4px solid var(--brand);
    padding-top: 4rem !important;
    padding-bottom: 2.5rem !important;
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
    color: #fff;
}

.site-footer p,
.site-footer .text-secondary {
    color: rgba(255, 255, 255, 0.62) !important;
}

@media (min-width: 992px) {
    .cta-panel {
        align-items: center;
        justify-content: space-between;
        flex-direction: row;
    }
}

@media (max-width: 991.98px) {
    .package-card-top,
    .hero-panel-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-image-wrap {
        height: 190px;
    }

    .card-photo img,
    .package-image-wrap {
        height: 150px;
    }
}

/* ─── Outline brand button ─────────────────────────────── */
.btn-outline-brand {
    border: 2px solid var(--brand);
    color: var(--brand-dark);
    background: transparent;
    font-weight: 700;
}

.btn-outline-brand:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* ─── CTA panel white button ────────────────────────────── */
.btn-cta-panel {
    background: #fff;
    border: 0;
    color: var(--brand-dark);
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.btn-cta-panel:hover {
    background: var(--accent);
    color: var(--text);
}

/* ─── Section kicker on dark bg ─────────────────────────── */
.section-kicker-light {
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
}

/* ─── Feature checklist ──────────────────────────────────── */
.feature-checklist li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(18, 33, 24, 0.07);
    font-weight: 500;
}

.feature-checklist li:last-child {
    border-bottom: none;
}

.feature-checklist li i {
    color: var(--brand);
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* ─── Contact detail list ────────────────────────────────── */
.contact-detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.contact-detail-list li {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    color: var(--muted);
}

.contact-detail-list li i {
    color: var(--brand);
    width: 1.1rem;
    flex-shrink: 0;
}

.contact-detail-list a {
    color: var(--text);
    text-decoration: none;
}

.contact-detail-list a:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

/* ─── Contract notice block ──────────────────────────────── */
.contract-notice {
    border-left: 4px solid var(--brand);
    background: linear-gradient(135deg, rgba(14, 159, 110, 0.05), rgba(255, 255, 255, 0.97));
}

/* ─── Footer links ───────────────────────────────────────── */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links a,
.footer-links li {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.62);
}

.footer-bottom a:hover {
    color: var(--brand);
}

/* ─── Icon sizing in info-cards ──────────────────────────── */
.info-card > i.fa-solid,
.info-card > i.fa-brands {
    font-size: 1.6rem;
    color: var(--brand);
}

.stat-card strong i {
    font-size: 1.5rem;
    color: var(--brand-dark);
}

/* ─── Package card CTA pinned to bottom ──────────────────── */
.package-card {
    justify-content: flex-start;
}

.package-card > .btn {
    margin-top: auto;
}

/* ═══════════════════════════════════════════════════════════
   v2: design polish layer
   ═══════════════════════════════════════════════════════════ */

/* ─── Typography hierarchy ──────────────────────────────── */
h1, .h1 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
h2, .h2 { font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; }
h3, .h3 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }

.hero-section h1 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.page-hero h1   { font-size: clamp(2rem, 3.6vw, 3.2rem); }
section h2 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }

.lead { font-size: 1.125rem; line-height: 1.55; }
.section-header { max-width: 56rem; }
.section-header p { font-size: 1.05rem; }

/* ─── Sticky header polish ──────────────────────────────── */
.site-header {
    transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
    box-shadow: 0 16px 38px rgba(7, 20, 14, 0.4);
}
.brand-logo {
    transition: transform 0.25s var(--ease);
}
.navbar-brand:hover .brand-logo { transform: translateY(-2px); }

.nav-link {
    position: relative;
    padding: 0.5rem 0.85rem !important;
    border-radius: 999px;
    transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-link:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.nav-link.active { color: #fff; background: rgba(255, 255, 255, 0.14); }
.nav-link.active::after {
    content: ""; position: absolute; left: 50%; bottom: 0.2rem;
    transform: translateX(-50%); width: 18px; height: 3px;
    border-radius: 2px; background: var(--brand);
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    padding: 0.45rem 0.6rem;
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(16, 184, 129, 0.2);
    border-color: rgba(16, 184, 129, 0.45);
}

.btn:focus-visible,
.nav-link:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
a:focus-visible {
    outline: 3px solid rgba(16, 184, 129, 0.45);
    outline-offset: 2px;
}

/* ─── Buttons polish ────────────────────────────────────── */
.btn { border-radius: 999px; font-weight: 700; padding: 0.7rem 1.4rem; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease); }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 1.02rem; }
.btn-brand { box-shadow: 0 14px 34px rgba(7, 150, 107, 0.28); }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(7, 150, 107, 0.35); }
.btn-outline-brand:hover { transform: translateY(-2px); }
.btn-cta-panel:hover { transform: translateY(-2px); }

/* ─── Card lift ─────────────────────────────────────────── */
.info-card,
.package-card,
.step-card,
.stat-card {
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-lg);
}
.info-card:hover,
.package-card:hover,
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }

/* ─── Content editor workflow layout ────────────────────── */
.content-editor-hero {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: end;
}

.content-editor-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.content-editor-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.content-editor-status-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 248, 243, 0.9));
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 14px 32px rgba(16, 38, 28, 0.08);
}

.content-editor-status-label,
.content-editor-section-step {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 800;
}

.content-editor-status-card strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1.2;
    margin-top: 0.45rem;
}

.content-editor-status-card p {
    margin-top: 0.45rem;
    font-size: 0.95rem;
}

.content-editor-main {
    min-width: 0;
}

.content-editor-section,
.content-editor-journey,
.content-editor-sidebar-card {
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.content-editor-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.content-editor-section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.content-editor-journey {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    padding: 1rem;
}

.content-editor-step-link {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #fff, rgba(234, 248, 243, 0.8));
    border-radius: 1rem;
    padding: 1rem;
    min-height: 100%;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.content-editor-step-link:hover,
.content-editor-step-link:focus-visible,
.content-editor-step-link.is-active {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(7, 150, 107, 0.12);
    border-color: rgba(16, 184, 129, 0.35);
    color: var(--text);
}

.content-editor-step-link span {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--brand-dark);
    font-weight: 800;
}

.content-editor-step-link strong {
    font-size: 1rem;
}

.content-editor-step-link small {
    color: var(--muted);
    font-size: 0.84rem;
}

.content-editor-preview-image {
    max-height: 80px;
    border-radius: 10px;
}

.content-editor-color-input {
    width: 100%;
    height: 42px;
}

.content-editor-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(234, 248, 243, 0.9), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(16, 184, 129, 0.12);
}

.content-editor-toggle-row p {
    margin-top: 0.2rem;
    font-size: 0.95rem;
}

.content-editor-switch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.content-editor-switch-grid .form-check {
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    border-radius: 1rem;
    background: rgba(234, 248, 243, 0.65);
}

.content-editor-empty-state {
    border: 1px dashed rgba(16, 184, 129, 0.3);
    border-radius: 1rem;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 247, 245, 0.95));
}

.content-editor-order-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    height: 2.1rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--brand-dark);
    font-weight: 800;
}

.content-editor-table td,
.content-editor-table th {
    vertical-align: middle;
}

.content-editor-program-list .list-group-item {
    padding-inline: 0;
}

.content-editor-speaker-photo {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.content-editor-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}

.content-editor-summary-list {
    display: grid;
    gap: 0.85rem;
}

.content-editor-summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(18, 33, 24, 0.08);
}

.content-editor-summary-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.content-editor-summary-list span {
    color: var(--muted);
}

.content-editor-summary-list strong {
    text-align: right;
}

.content-editor-sidebar-actions {
    display: grid;
    gap: 0.75rem;
}

.content-editor-tip-card {
    background: linear-gradient(135deg, rgba(16, 184, 129, 0.08), rgba(255, 247, 214, 0.55));
}

.content-editor-tip-list {
    padding-left: 1.1rem;
    color: var(--text);
}

.content-editor-tip-list li + li {
    margin-top: 0.7rem;
}

/* ─── Staff admin page ─────────────────────────────────── */
.staff-admin-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
}

.staff-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.staff-admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.staff-admin-stat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 248, 243, 0.9));
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 14px 32px rgba(16, 38, 28, 0.08);
}

.staff-admin-stat-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 800;
}

.staff-admin-stat-card strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.25;
    margin-top: 0.45rem;
}

.staff-admin-stat-card p {
    margin-top: 0.45rem;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.staff-admin-table-card {
    display: grid;
    gap: 1.5rem;
}

.staff-admin-table-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.staff-admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    min-width: min(100%, 30rem);
}

.staff-admin-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    padding: 0.45rem 0.7rem 0.45rem 1rem;
    flex: 1 1 18rem;
}

.staff-admin-search i {
    color: var(--brand-dark);
}

.staff-admin-search .form-control {
    border: 0;
    box-shadow: none;
    padding-inline: 0;
    background: transparent;
}

.staff-admin-search .form-control:focus {
    box-shadow: none;
}

.staff-admin-empty-state {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px dashed rgba(16, 184, 129, 0.32);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 245, 0.96));
}

.staff-admin-table th {
    white-space: nowrap;
}

.staff-admin-name-cell {
    font-weight: 700;
    color: var(--text);
}

.staff-admin-table-footer,
.staff-admin-dt-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.staff-admin-dt-top {
    display: none;
}

#staffTableLength .dataTables_length,
#staffTableInfo .dataTables_info,
#staffTablePagination .dataTables_paginate {
    margin: 0;
    padding: 0;
}

#staffTableLength .dataTables_length label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: var(--muted);
    font-weight: 600;
}

#staffTableLength .dataTables_length select {
    width: auto;
    min-width: 5rem;
}

/* ─── Guest admin page ─────────────────────────────────── */
.guest-admin-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
}

.guest-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.guest-admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.guest-admin-stat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 248, 243, 0.9));
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 14px 32px rgba(16, 38, 28, 0.08);
}

.guest-admin-stat-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 800;
}

.guest-admin-stat-card strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.2;
    margin-top: 0.45rem;
}

.guest-admin-stat-card p {
    margin-top: 0.45rem;
    font-size: 0.95rem;
}

.guest-admin-table-card {
    display: grid;
    gap: 1.5rem;
}

.guest-admin-table-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.guest-admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    min-width: min(100%, 34rem);
}

.guest-admin-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    padding: 0.45rem 0.7rem 0.45rem 1rem;
    flex: 1 1 22rem;
}

.guest-admin-search i {
    color: var(--brand-dark);
}

.guest-admin-search .form-control {
    border: 0;
    box-shadow: none;
    padding-inline: 0;
    background: transparent;
}

.guest-admin-search .form-control:focus {
    box-shadow: none;
}

.guest-admin-empty-state {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px dashed rgba(16, 184, 129, 0.32);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 245, 0.96));
}

.guest-admin-table {
    min-width: 1040px;
}

.guest-admin-table th {
    white-space: nowrap;
}

.guest-admin-name-cell {
    font-weight: 700;
    color: var(--text);
}

.guest-admin-license-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: var(--surface-soft);
    color: var(--brand-darker);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.guest-admin-partner-icon {
    color: var(--brand-dark);
    font-size: 1rem;
}

.guest-admin-table-footer,
.guest-admin-dt-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.guest-admin-dt-top {
    display: none;
}

#guestTableLength .dataTables_length,
#guestTableInfo .dataTables_info,
#guestTablePagination .dataTables_paginate {
    margin: 0;
    padding: 0;
}

#guestTableLength .dataTables_length label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: var(--muted);
    font-weight: 600;
}

#guestTableLength .dataTables_length select {
    width: auto;
    min-width: 5rem;
}

.guest-admin-table-card .modal-content {
    border-radius: 1.25rem;
}

/* ─── Email admin page ─────────────────────────────────── */
.email-admin-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
}

.email-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.email-admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.email-admin-stat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 248, 243, 0.9));
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 14px 32px rgba(16, 38, 28, 0.08);
}

.email-admin-stat-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 800;
}

.email-admin-stat-card strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.25;
    margin-top: 0.45rem;
}

.email-admin-stat-card p {
    margin-top: 0.45rem;
    font-size: 0.95rem;
}

.email-admin-table-card,
.email-admin-sidebar-card {
    display: grid;
    gap: 1.25rem;
}

.email-admin-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.email-admin-empty-state {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px dashed rgba(16, 184, 129, 0.32);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 245, 0.96));
}

.email-admin-table th {
    white-space: nowrap;
}

.email-admin-color-palette {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.email-admin-color-chip {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(18, 33, 24, 0.14);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.email-admin-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}

.email-admin-sidebar-actions {
    display: grid;
    gap: 0.75rem;
}

.email-admin-sidebar-actions form {
    margin: 0;
}

.email-admin-tip-card {
    background: linear-gradient(135deg, rgba(16, 184, 129, 0.08), rgba(255, 247, 214, 0.55));
}

.email-admin-tip-list {
    padding-left: 1.1rem;
    color: var(--text);
}

.email-admin-tip-list li + li {
    margin-top: 0.7rem;
}

/* ─── Events admin list page ───────────────────────────── */
.events-admin-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
}

.events-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.events-admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.events-admin-stat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 248, 243, 0.9));
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 14px 32px rgba(16, 38, 28, 0.08);
}

.events-admin-stat-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 800;
}

.events-admin-stat-card strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.25;
    margin-top: 0.45rem;
}

.events-admin-stat-card p {
    margin-top: 0.45rem;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.events-admin-table-card,
.events-admin-sidebar-card {
    display: grid;
    gap: 1.25rem;
}

.events-admin-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.events-admin-empty-state {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px dashed rgba(16, 184, 129, 0.32);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 245, 0.96));
}

.events-admin-table th {
    white-space: nowrap;
}

.events-admin-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}

.events-admin-sidebar-actions {
    display: grid;
    gap: 0.75rem;
}

.events-admin-tip-card {
    background: linear-gradient(135deg, rgba(16, 184, 129, 0.08), rgba(255, 247, 214, 0.55));
}

.events-admin-tip-list {
    padding-left: 1.1rem;
    color: var(--text);
}

.events-admin-tip-list li + li {
    margin-top: 0.7rem;
}

/* ─── Email template create/edit page ─────────────────── */
.email-template-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
}

.email-template-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.email-template-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.email-template-stat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 248, 243, 0.9));
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 14px 32px rgba(16, 38, 28, 0.08);
}

.email-template-stat-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 800;
}

.email-template-stat-card strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1.25;
    margin-top: 0.45rem;
}

.email-template-stat-card p {
    margin-top: 0.45rem;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.email-template-form {
    min-width: 0;
}

.email-template-section,
.email-template-sidebar-card {
    display: grid;
    gap: 1rem;
}

.email-template-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
}

.email-template-submit-bar {
    display: flex;
    justify-content: space-between;
    gap: 0.9rem;
    align-items: center;
}

.email-template-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}

.email-template-sidebar-actions {
    display: grid;
    gap: 0.75rem;
}

.email-template-tip-card {
    background: linear-gradient(135deg, rgba(16, 184, 129, 0.08), rgba(255, 247, 214, 0.55));
}

.email-template-tip-list {
    padding-left: 1.1rem;
    color: var(--text);
}

.email-template-tip-list li + li {
    margin-top: 0.7rem;
}

.email-template-placeholder-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.email-template-placeholder-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.7rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.email-template-placeholder-list code {
    color: var(--brand-dark);
    font-weight: 700;
}

/* ─── Event admin form page ────────────────────────────── */
.event-admin-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
}

.event-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.event-admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.event-admin-stat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 248, 243, 0.9));
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 14px 32px rgba(16, 38, 28, 0.08);
}

.event-admin-stat-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 800;
}

.event-admin-stat-card strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.25;
    margin-top: 0.45rem;
}

.event-admin-stat-card p {
    margin-top: 0.45rem;
    font-size: 0.95rem;
}

.event-admin-form {
    min-width: 0;
}

.event-admin-section,
.event-admin-sidebar-card {
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.event-admin-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-bottom: 0.9rem;
}

.event-admin-color-input {
    width: 100%;
    height: 42px;
}

.event-admin-switch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.event-admin-switch-grid .form-check {
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    border-radius: 1rem;
    background: rgba(234, 248, 243, 0.65);
}

.event-admin-logo-preview {
    max-height: 54px;
    max-width: 180px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 4px;
}

.event-admin-submit-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.event-admin-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}

.event-admin-summary-list {
    display: grid;
    gap: 0.85rem;
}

.event-admin-summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(18, 33, 24, 0.08);
}

.event-admin-summary-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.event-admin-summary-list span {
    color: var(--muted);
}

.event-admin-summary-list strong {
    text-align: right;
}

.event-admin-sidebar-actions {
    display: grid;
    gap: 0.75rem;
}

.event-admin-tip-card {
    background: linear-gradient(135deg, rgba(16, 184, 129, 0.08), rgba(255, 247, 214, 0.55));
}

.event-admin-tip-list {
    padding-left: 1.1rem;
    color: var(--text);
}

.event-admin-tip-list li + li {
    margin-top: 0.7rem;
}

/* ─── Guest form admin page ────────────────────────────── */
.guest-form-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
}

.guest-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.guest-form-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.guest-form-stat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 248, 243, 0.9));
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 14px 32px rgba(16, 38, 28, 0.08);
}

.guest-form-stat-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 800;
}

.guest-form-stat-card strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.25;
    margin-top: 0.45rem;
}

.guest-form-stat-card p {
    margin-top: 0.45rem;
    font-size: 0.95rem;
}

.guest-form-shell {
    min-width: 0;
}

.guest-form-section,
.guest-form-sidebar-card {
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.guest-form-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-bottom: 0.9rem;
}

.guest-form-toggle-card,
.guest-form-uuid-box {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(234, 248, 243, 0.9), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(16, 184, 129, 0.12);
}

.guest-form-input-card {
    height: 100%;
}

.guest-form-uuid-box code {
    display: inline-block;
    margin: 0.4rem 0 0.6rem;
    padding: 0.35rem 0.55rem;
    border-radius: 0.65rem;
    background: rgba(16, 35, 27, 0.05);
    color: var(--brand-darker);
}

.guest-form-submit-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.guest-form-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
}

.guest-form-summary-list {
    display: grid;
    gap: 0.85rem;
}

.guest-form-summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(18, 33, 24, 0.08);
}

.guest-form-summary-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.guest-form-summary-list span {
    color: var(--muted);
}

.guest-form-summary-list strong {
    text-align: right;
    word-break: break-word;
}

.guest-form-sidebar-actions {
    display: grid;
    gap: 0.75rem;
}

.guest-form-tip-card {
    background: linear-gradient(135deg, rgba(16, 184, 129, 0.08), rgba(255, 247, 214, 0.55));
}

.guest-form-tip-list {
    padding-left: 1.1rem;
    color: var(--text);
}

.guest-form-tip-list li + li {
    margin-top: 0.7rem;
}

/* ─── Shared guest allergy UI ──────────────────────────── */
.guest-allergy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.guest-allergy-option {
    display: block;
    cursor: pointer;
}

.guest-allergy-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.guest-allergy-option-body {
    position: relative;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    min-height: 100%;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 2px solid rgba(16, 184, 129, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 248, 243, 0.92));
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease), background 0.2s var(--ease);
}

/* Text label: its own flex item so it wraps within the space that's actually
   left over, instead of running full-width underneath the indicator circle. */
.guest-allergy-option-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Indicator circle: a real element and its own flex item (not an ::after
   overlay), so it always keeps its own reserved column at the end of the
   row. Wrapped label text can never sit underneath it, on any browser. */
.guest-allergy-option-dot {
    flex: 0 0 auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 999px;
    background: rgba(16, 184, 129, 0.08);
    box-shadow: inset 0 0 0 1px rgba(16, 184, 129, 0.16);
}

.guest-allergy-option-body i {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 184, 129, 0.12);
    color: var(--brand-dark);
    flex-shrink: 0;
}

.guest-allergy-option input:checked + .guest-allergy-option-body {
    border-color: rgba(16, 184, 129, 0.72);
    background: linear-gradient(180deg, rgba(214, 247, 235, 0.95), rgba(236, 253, 245, 0.98));
    box-shadow: 0 16px 30px rgba(16, 184, 129, 0.16), inset 0 0 0 1px rgba(16, 184, 129, 0.18);
    transform: translateY(-2px);
}

.guest-allergy-option input:checked + .guest-allergy-option-body i {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
}

.guest-allergy-option input:checked + .guest-allergy-option-body .guest-allergy-option-dot {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    box-shadow: 0 8px 18px rgba(16, 184, 129, 0.28);
}

.guest-allergy-option input:checked + .guest-allergy-option-body .guest-allergy-option-dot::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.72rem;
    line-height: 1;
    color: #fff;
}

.guest-allergy-option input:checked + .guest-allergy-option-body .guest-allergy-option-label {
    color: var(--brand-darker);
    font-weight: 700;
}

.guest-allergy-option input:focus-visible + .guest-allergy-option-body {
    outline: 3px solid rgba(16, 184, 129, 0.28);
    outline-offset: 2px;
}

.guest-allergy-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.guest-allergy-chip {
    width: 1.9rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(16, 184, 129, 0.1);
    color: var(--brand-dark);
    border: 1px solid rgba(16, 184, 129, 0.16);
}

.guest-allergy-chip.is-other {
    background: rgba(243, 219, 120, 0.28);
    color: #8a6b00;
    border-color: rgba(138, 107, 0, 0.16);
}

@media (max-width: 767.98px) {
    .guest-allergy-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1199.98px) {
    .guest-form-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .guest-form-hero,
    .guest-form-section-head,
    .guest-form-submit-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .guest-form-actions {
        justify-content: flex-start;
    }

    .guest-form-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    .guest-form-stats-grid {
        grid-template-columns: 1fr;
    }

    .guest-form-actions .btn,
    .guest-form-sidebar-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1199.98px) {
    .events-admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .events-admin-hero,
    .events-admin-section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .events-admin-actions {
        justify-content: flex-start;
    }

    .events-admin-sidebar {
        position: static;
        top: auto;
    }

    .event-admin-hero,
    .event-admin-section-head,
    .event-admin-submit-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .event-admin-actions {
        justify-content: flex-start;
    }

    .event-admin-sidebar {
        position: static;
        top: auto;
    }

    .event-admin-switch-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .events-admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .events-admin-actions .btn,
    .events-admin-sidebar-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .event-admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .event-admin-actions .btn,
    .event-admin-sidebar-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1199.98px) {
    .email-admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .email-admin-hero,
    .email-admin-section-head {
        flex-direction: column;
        align-items: stretch;
    }

    .email-admin-actions {
        justify-content: flex-start;
    }

    .email-admin-sidebar {
        position: static;
        top: auto;
    }

    .email-template-hero,
    .email-template-section-head,
    .email-template-submit-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .email-template-actions {
        justify-content: flex-start;
    }

    .email-template-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    .email-admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .email-admin-actions .btn,
    .email-admin-sidebar-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .email-template-stats-grid {
        grid-template-columns: 1fr;
    }

    .email-template-actions .btn,
    .email-template-sidebar-actions .btn,
    .email-template-submit-bar .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1199.98px) {
    .email-template-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1199.98px) {
    .staff-admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .staff-admin-hero,
    .staff-admin-table-head {
        flex-direction: column;
        align-items: stretch;
    }

    .staff-admin-actions {
        justify-content: flex-start;
    }

    .staff-admin-toolbar {
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 767.98px) {
    .staff-admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .staff-admin-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .staff-admin-table-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 1199.98px) {
    .users-admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .users-admin-hero,
    .users-admin-table-head {
        flex-direction: column;
        align-items: stretch;
    }

    .users-admin-actions {
        justify-content: flex-start;
    }

    .users-admin-toolbar {
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 767.98px) {
    .users-admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .users-admin-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .users-admin-table-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 1199.98px) {
    .guest-admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .guest-admin-hero,
    .guest-admin-table-head {
        flex-direction: column;
        align-items: stretch;
    }

    .guest-admin-actions {
        justify-content: flex-start;
    }

    .guest-admin-toolbar {
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 767.98px) {
    .guest-admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .guest-admin-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .guest-admin-table-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 1199.98px) {
    .content-editor-status-grid {
        grid-template-columns: 1fr;
    }

    .content-editor-journey {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .content-editor-hero,
    .content-editor-section-head,
    .content-editor-toggle-row {
        flex-direction: column;
        align-items: stretch;
    }

    .content-editor-actions {
        justify-content: flex-start;
    }

    .content-editor-section-actions {
        justify-content: flex-start;
    }

    .content-editor-sidebar {
        position: static;
        top: auto;
    }

    .content-editor-switch-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .content-editor-journey {
        grid-template-columns: 1fr;
    }

    .content-editor-actions .btn,
    .content-editor-sidebar-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ─── Feature pills (icon + label, horizontal stat-card variant) ── */
.pill-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.3rem;
}
.pill-feature .icon-box {
    margin-bottom: 0;
}
.pill-feature span:last-child {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
}

/* ─── Icon box ──────────────────────────────────────────── */
.icon-box {
    width: 3rem; height: 3rem; border-radius: 14px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(16, 184, 129, 0.18), rgba(16, 184, 129, 0.08));
    color: var(--brand-darker);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    box-shadow: inset 0 0 0 1px rgba(16, 184, 129, 0.18);
}

.error-icon-box {
    width: 6rem;
    height: 6rem;
    font-size: 2.5rem;
    margin: 0 auto;
    border-radius: 22px;
}

/* ─── Flash messages: bolder, more attention-grabbing ──────────── */
.flash-alert {
    border: none;
    border-left: 6px solid currentColor;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.flash-alert i {
    flex-shrink: 0;
}

.top-alert-stack {
    margin-top: calc(var(--header-height) + 0.35rem);
}

.flash-alert.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-left-color: #d9a406;
}

.flash-alert.alert-warning strong {
    color: #4f3a01;
}

/* ─── Status legend dots (superadmin companies list) ────────────── */
.legend-dot {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    margin-right: 0.4rem;
    vertical-align: middle;
}

/* ─── Back to top button ───────────────────────────────────────── */
.back-to-top {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 14px 34px rgba(7, 150, 107, 0.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    z-index: 1040;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(7, 150, 107, 0.4);
}

@media (max-width: 575.98px) {
    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 2.75rem;
        height: 2.75rem;
    }
}

/* ─── Superadmin statistics: chart containers ──────────────────── */
.chart-box {
    position: relative;
    height: 280px;
}

.chart-box-wide {
    height: 320px;
}

/* ─── Company dashboard: onboarding checklist & mini progress bars ── */
.step-card-done {
    border-color: var(--brand);
}

.step-card span.is-done {
    background: var(--brand);
    color: #fff;
}
.step-card span.is-done i {
    color: #fff;
}

.onboarding-progress,
.mini-progress {
    height: 8px;
    border-radius: 999px;
    background: var(--border);
    overflow: hidden;
}

.mini-progress {
    height: 6px;
}

.onboarding-progress > span,
.mini-progress > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    border-radius: 999px;
}

.quick-actions .btn {
    padding: 0.55rem 1.1rem;
}

/* ─── Hero SaaS dashboard mockup ────────────────────────── */
.hero-mockup {
    background: linear-gradient(180deg, #ffffff 0%, #f7fcfa 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 1.4rem;
    box-shadow: 0 30px 70px rgba(7, 105, 75, 0.18);
    position: relative;
    overflow: hidden;
}
.hero-mockup::before {
    content: ""; position: absolute; inset: -40% -20% auto auto; width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(16, 184, 129, 0.18), transparent 70%);
    pointer-events: none;
}
.mockup-bar { display: flex; align-items: center; gap: 0.4rem; padding-bottom: 0.85rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border-soft); }
.mockup-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #e3ece8; display: inline-block; }
.mockup-bar .dot:nth-child(1) { background: #ff7461; }
.mockup-bar .dot:nth-child(2) { background: #f3c64a; }
.mockup-bar .dot:nth-child(3) { background: var(--brand); }
.mockup-bar small { margin-left: auto; color: var(--muted); font-weight: 600; }

.mockup-event {
    display: flex; gap: 0.9rem; align-items: center;
    padding: 0.9rem; border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(16, 184, 129, 0.1), rgba(16, 184, 129, 0.03));
    border: 1px solid rgba(16, 184, 129, 0.18);
    margin-bottom: 1rem;
}
.mockup-event-icon { width: 2.6rem; height: 2.6rem; border-radius: 12px; flex-shrink: 0; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.mockup-event strong { display: block; font-weight: 700; font-size: 0.98rem; }
.mockup-event small { color: var(--muted); font-size: 0.82rem; }
.mockup-badge { margin-left: auto; background: var(--brand); color: #fff; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.mockup-stat { padding: 0.85rem 1rem; border-radius: var(--radius-md); background: #fbfefc; border: 1px solid var(--border-soft); }
.mockup-stat-label { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--muted); margin-bottom: 0.5rem; }
.mockup-stat-label strong { color: var(--text); font-weight: 700; }
.mockup-progress { height: 6px; border-radius: 999px; background: #eaf3ef; overflow: hidden; }
.mockup-progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-dark)); border-radius: 999px; }

.mockup-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0.2rem; border-bottom: 1px dashed var(--border-soft); font-size: 0.88rem; }
.mockup-row:last-child { border-bottom: none; }
.mockup-row .row-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.mockup-row .row-dot.muted { background: #cdd9d4; }
.mockup-row .status { margin-left: auto; font-size: 0.74rem; color: var(--brand-darker); font-weight: 700; }
.mockup-row .status.muted { color: var(--muted); }

.mockup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }

@keyframes heroFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-float { animation: heroFloat 6s ease-in-out infinite; }

/* ─── Hero stat cards ───────────────────────────────────── */
.hero-stats .stat-card { padding: 1.2rem 1rem; text-align: left; }
.hero-stats .stat-card strong { font-size: 1.75rem; line-height: 1; margin-bottom: 0.35rem; color: var(--brand-darker); display: block; }
.hero-stats .stat-card span { font-size: 0.85rem; color: var(--muted); }

/* ─── Section rhythm ────────────────────────────────────── */
section { position: relative; }
@media (min-width: 992px) {
    section.py-5 { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
    .py-lg-6 { padding-top: 6rem !important; padding-bottom: 6rem !important; }
}

/* ─── Steps grid connector ──────────────────────────────── */
.steps-grid { position: relative; padding-top: 2rem; }
@media (min-width: 992px) {
    .steps-grid::before {
        content: ""; position: absolute; left: 8%; right: 8%; top: 3rem; height: 2px;
        background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 16px);
        opacity: 0.4; z-index: 0;
    }
}
.steps-grid .step-card { position: relative; z-index: 1; padding-top: 2.5rem !important; }
.steps-grid .step-card span {
    position: absolute; top: -1.4rem; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; margin-bottom: 0; box-shadow: 0 8px 18px rgba(7, 150, 107, 0.3);
}

/* ─── Strong CTA panel ──────────────────────────────────── */
.cta-panel {
    padding: 2.5rem 2rem;
    background: radial-gradient(800px 400px at 80% -20%, rgba(16, 184, 129, 0.45), transparent 60%),
                linear-gradient(135deg, var(--surface-strong), #143b2e);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(7, 105, 75, 0.3);
}
.cta-panel h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.cta-panel .btn-outline-light {
    border-width: 2px;
}

.cta-panel .btn-outline-light:hover,
.cta-panel .btn-outline-light:focus-visible {
    color: var(--text);
    background: #fff;
    border-color: #fff;
}

/* ─── Featured (recommended) package ────────────────────── */
.package-card.featured {
    background: linear-gradient(180deg, #ffffff, #f4fcf8);
    border: 2px solid var(--brand);
    box-shadow: 0 25px 55px rgba(7, 150, 107, 0.2);
    position: relative;
}
.package-card.featured::after {
    content: "★ Ajánlott"; position: absolute; top: 0.85rem; right: 1.1rem; z-index: 2;
    background: linear-gradient(120deg, var(--accent), #eec555);
    color: #6b4c00;
    padding: 0.35rem 0.85rem; border-radius: 999px;
    font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18), 0 0 0 4px #fff;
}
.package-card h2, .package-card h3 { font-size: 1.35rem; }

/* ─── Package card: centered name band + centered offer ─────────
   Bleeds edge-to-edge like .package-image-wrap. When it's the card's first
   element (home preview, no image) it also bleeds up over the top corners;
   when it follows an image (packages page) it just continues directly
   below the image instead. */
.package-name-band {
    margin: 0 -1.5rem 1.25rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    text-align: center;
}
.package-card > .package-name-band:first-child {
    margin-top: -1.5rem;
    padding-top: 1.75rem;
}
.package-name-band .package-tag {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    margin-bottom: 0.6rem;
}
.package-name-band h2,
.package-name-band h3 {
    color: #fff;
    margin: 0;
}
.package-offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* ─── "Minden csomag tartalmazza" sáv ───────────────────── */
.included-strip {
    background: linear-gradient(135deg, var(--surface-soft), #f8fdfb);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.6rem;
    box-shadow: var(--shadow-soft);
}
.included-strip h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-darker); margin-bottom: 1rem; }
.included-strip ul { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.included-strip li { display: flex; align-items: center; gap: 0.5rem; color: var(--text); font-weight: 500; font-size: 0.92rem; }
.included-strip li i { color: var(--brand); }

/* ─── Ingyenes próba sáv ────────────────────────────────── */
.free-trial-strip {
    background: linear-gradient(135deg, #f0fdf8, #e6f9f2);
    border: 2px solid var(--brand);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 20px rgba(7, 150, 107, 0.12);
}
.free-trial-strip-body { flex: 1; min-width: 0; }
.free-trial-strip-body h2 { font-size: clamp(1.15rem, 2vw, 1.45rem); margin-bottom: 0.4rem; }
.free-trial-strip-body p { color: var(--muted); margin-bottom: 0; }
.free-trial-strip-body ul { list-style: none; padding: 0; margin: 0.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.free-trial-strip-body ul li { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 0.92rem; }
.free-trial-strip-body ul li i { color: var(--brand); }
.free-trial-strip-cta { text-align: center; flex-shrink: 0; }
.free-trial-badge {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.selected-package-info--free { border-color: var(--brand); background: #f0fdf8; }

/* ─── Home campaign banner ─────────────────────────────── */
.campaign-banner-wrap {
    background: radial-gradient(circle at 0 0, rgba(16, 185, 129, 0.18), transparent 45%),
                linear-gradient(135deg, #ecfdf5, #dff8ef);
    border-bottom: 1px solid rgba(15, 143, 98, 0.18);
}
.campaign-banner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: 1.15rem 1.5rem;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(120deg, var(--brand), var(--accent)) border-box;
    box-shadow: 0 20px 44px rgba(7, 150, 107, 0.18);
}
.campaign-banner-icon {
    flex-shrink: 0;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), #22bb84);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 10px 20px rgba(7, 150, 107, 0.35);
}
.campaign-banner-body {
    flex: 1;
    min-width: 0;
}
.campaign-banner-body h2 {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    margin: 0.35rem 0 0.45rem;
}
.campaign-banner-body p {
    color: var(--muted);
}
.campaign-banner-cta {
    flex-shrink: 0;
    white-space: nowrap;
}
.campaign-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--accent), #eec555);
    color: #6b4c00;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.68rem;
    padding: 0.3rem 0.75rem;
    animation: badgePulse 2.4s ease-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(243, 219, 120, 0.55); }
    50% { box-shadow: 0 0 0 6px rgba(243, 219, 120, 0); }
}

#how-it-works,
#ugynoksegeknek,
#gyik,
#packages-faq {
    scroll-margin-top: calc(var(--header-height) + 22px);
}

@media (max-width: 991.98px) {
    .campaign-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ─── Process timeline ──────────────────────────────────── */
.process-timeline ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
.process-step {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1rem 1.2rem; background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border); border-radius: var(--radius-md); position: relative;
}
.process-step .num {
    width: 2rem; height: 2rem; flex-shrink: 0; border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem; box-shadow: 0 6px 14px rgba(7, 150, 107, 0.3);
}
.process-step strong { display: block; margin-bottom: 0.2rem; font-weight: 700; }
.process-step .desc { color: var(--muted); font-size: 0.88rem; }

@media (min-width: 992px) {
    .process-timeline { position: relative; }
    .process-timeline ol { grid-template-columns: repeat(6, 1fr); gap: 0.6rem; position: relative; }
    .process-timeline ol::before {
        content: ""; position: absolute; top: 1rem; left: 5%; right: 5%; height: 2px;
        background: repeating-linear-gradient(90deg, var(--brand) 0 8px, transparent 8px 16px);
        opacity: 0.4; z-index: 0;
    }
    .process-step { flex-direction: column; padding: 1rem; text-align: center; align-items: center; z-index: 1; }
}

/* ─── Form polish ───────────────────────────────────────── */
.form-control, .form-select { min-height: 50px; }
.form-section { background: rgba(255, 255, 255, 0.6); border: 1px solid var(--border-soft); border-radius: var(--radius-md); padding: 1.2rem; }
.form-section + .form-section { margin-top: 1rem; }
.form-section-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 800; color: var(--brand-darker); margin-bottom: 1rem; }
.form-check-input { width: 1.15em; height: 1.15em; margin-top: 0.25em; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }

.selected-package-info {
    display: flex; align-items: center; gap: 0.85rem;
    padding: 0.85rem 1.1rem; border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(16, 184, 129, 0.12), rgba(16, 184, 129, 0.04));
    border: 1px solid rgba(16, 184, 129, 0.3);
    margin-bottom: 1rem;
}
.selected-package-info i { color: var(--brand-darker); font-size: 1.2rem; }
.selected-package-info strong { display: block; color: var(--brand-darker); }
.selected-package-info span { font-size: 0.85rem; color: var(--muted); }

/* ─── Form validation (Bootstrap needs-validation) ──────── */
.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .form-select:invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.18rem rgba(220, 53, 69, 0.12);
    background-image: none;
    padding-right: 0.9rem;
}
.was-validated .form-control:valid,
.form-control.is-valid,
.was-validated .form-select:valid,
.form-select.is-valid {
    border-color: rgba(16, 184, 129, 0.55);
    box-shadow: none;
    background-image: none;
    padding-right: 0.9rem;
}
.was-validated .form-check-input:invalid,
.form-check-input.is-invalid {
    border-color: #dc3545;
}
.was-validated .form-check-input:invalid ~ .form-check-label,
.form-check-input.is-invalid ~ .form-check-label {
    color: #dc3545;
}
.invalid-feedback {
    font-size: 0.825rem;
    color: #dc3545;
    margin-top: 0.3rem;
    display: none;
}
.was-validated :invalid ~ .invalid-feedback,
.is-invalid ~ .invalid-feedback {
    display: block;
}
.form-alert {
    border-radius: var(--radius-md);
    background: rgba(220, 53, 69, 0.08);
    color: #842029;
    border: 1px solid rgba(220, 53, 69, 0.25);
    padding: 0.85rem 1.1rem;
    margin-bottom: 1.25rem;
}

.text-brand { color: var(--brand-darker) !important; font-weight: 600; }
.text-brand:hover { color: var(--brand-dark) !important; text-decoration: underline !important; }

/* 2FA app-like shell */
.auth-otp-screen .otp-auth-shell {
    background:
        radial-gradient(420px 260px at 16% -18%, rgba(43, 225, 148, 0.18), transparent 66%),
        linear-gradient(165deg, #132a25 0%, #0f221d 100%);
    border: 1px solid rgba(82, 120, 108, 0.4);
    box-shadow: 0 24px 54px rgba(6, 24, 19, 0.38);
}

.auth-otp-screen .otp-auth-shell h1 {
    color: #e8f6f0;
}

.auth-otp-screen .otp-auth-shell .text-secondary,
.auth-otp-screen .otp-auth-shell .form-label {
    color: rgba(231, 245, 240, 0.8) !important;
}

.otp-code-group {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.55rem;
}

.auth-otp-screen .otp-digit {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding-inline: 0;
    min-height: 56px;
    color: #f2fbf7;
    border-radius: 0.72rem;
    border-color: rgba(102, 140, 126, 0.55);
    background: linear-gradient(180deg, rgba(10, 27, 22, 0.92), rgba(14, 35, 29, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.auth-otp-screen .otp-digit:focus {
    border-color: rgba(58, 233, 142, 0.95);
    box-shadow:
        0 0 0 0.2rem rgba(61, 240, 147, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth-otp-screen .btn-brand {
    background: linear-gradient(180deg, #3be04f 0%, #35db4a 100%);
    color: #0c2616;
    box-shadow: 0 10px 26px rgba(52, 219, 74, 0.28);
}

.auth-otp-screen .btn-brand:hover {
    background: linear-gradient(180deg, #50e864 0%, #3fe054 100%);
    color: #072010;
}

.auth-otp-screen .btn-otp-ghost {
    border: 1px solid rgba(92, 125, 114, 0.55);
    color: rgba(220, 237, 230, 0.9);
    background: rgba(11, 30, 24, 0.5);
}

.auth-otp-screen .btn-otp-ghost:hover {
    border-color: rgba(129, 168, 155, 0.85);
    color: #f2fbf7;
    background: rgba(15, 37, 31, 0.75);
}

[data-otp-form].was-validated [data-otp-hidden]:invalid ~ .invalid-feedback {
    display: block;
}

@media (max-width: 575.98px) {
    .otp-code-group {
        gap: 0.42rem;
    }

    .auth-otp-screen .otp-digit {
        min-height: 50px;
        font-size: 1.12rem;
    }
}

.contract-process-list { list-style: none; padding: 0; margin: 1rem 0 0; counter-reset: step; }
.contract-process-list li { position: relative; padding: 0.55rem 0 0.55rem 2.6rem; counter-increment: step; }
.contract-process-list li::before {
    content: counter(step); position: absolute; left: 0; top: 0.45rem;
    width: 2rem; height: 2rem; border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.85rem; box-shadow: 0 6px 14px rgba(7, 150, 107, 0.25);
}
.contract-process-list strong { display: block; }
.contract-process-list .desc { color: var(--muted); font-size: 0.88rem; }

/* ─── FAQ accordion ─────────────────────────────────────── */
.faq-group {
    margin-bottom: 2.25rem;
}
.faq-group:last-child {
    margin-bottom: 0;
}
.faq-group-title {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.15rem;
    padding: 0.5rem 1.15rem 0.5rem 0.5rem;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--brand-dark), var(--brand));
    box-shadow: 0 10px 22px rgba(7, 150, 107, 0.28);
}
.faq-group-title i {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.faq-card .accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.7rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
}
.faq-card .accordion-item:last-child {
    margin-bottom: 0;
}
.faq-card .accordion-button { font-weight: 700; color: var(--text); background: transparent; padding: 1rem 1.2rem; }
.faq-card .accordion-button:not(.collapsed) { color: var(--brand-darker); background: rgba(16, 184, 129, 0.06); box-shadow: none; }
.faq-card .accordion-button:focus { box-shadow: 0 0 0 3px rgba(16, 184, 129, 0.25); }
.faq-card .accordion-button:focus-visible { outline: 3px solid rgba(16, 184, 129, 0.32); outline-offset: 1px; }
.faq-card .accordion-body {
    color: var(--muted);
    padding: 1.1rem 1.4rem 1.25rem 1.6rem;
    line-height: 1.65;
    font-size: 0.96rem;
    background: rgba(16, 185, 129, 0.045);
    border-top: 1px solid var(--border);
    border-left: 3px solid var(--brand);
}

/* ─── Image hover zoom ──────────────────────────────────── */
.card-photo { overflow: hidden; }
.card-photo img { transition: transform 0.6s var(--ease); }
.card-photo:hover img { transform: scale(1.04); }

/* ─── Reveal animations ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal.stagger-1 { transition-delay: 0.08s; }
.reveal.stagger-2 { transition-delay: 0.16s; }
.reveal.stagger-3 { transition-delay: 0.24s; }
.reveal.stagger-4 { transition-delay: 0.32s; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    .hero-float { animation: none !important; }
}

/* ─── Mobile spacing ────────────────────────────────────── */
@media (max-width: 767.98px) {
    section.py-5 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
    .cta-panel { padding: 1.75rem 1.25rem; text-align: center; }
    .cta-panel .btn { width: 100%; }
    .campaign-banner .btn,
    .free-trial-strip-cta .btn { width: 100%; }
    .free-trial-strip { padding: 1.35rem 1.15rem; gap: 1rem; }
    .free-trial-strip-body ul { flex-direction: column; gap: 0.4rem; }
    .hero-mockup { padding: 1rem; }
    .mockup-grid { grid-template-columns: 1fr; }
}

/* ─── Decorative blobs in hero ──────────────────────────── */
.hero-section { overflow: hidden; }
.hero-section::before {
    content: ""; position: absolute; top: -10%; left: -10%; width: 50%; height: 70%;
    background: radial-gradient(circle, rgba(16, 184, 129, 0.18), transparent 65%);
    z-index: 0; pointer-events: none; filter: blur(20px);
}
.hero-section::after {
    content: ""; position: absolute; top: 10%; right: -5%; width: 40%; height: 60%;
    background: radial-gradient(circle, rgba(243, 219, 120, 0.22), transparent 65%);
    z-index: 0; pointer-events: none; filter: blur(20px);
}
.hero-section > .container { position: relative; z-index: 1; }

/* ─── Features page card icons as icon-box ──────────────── */
.card-body-soft > i.fa-solid,
.card-body-soft > i.fa-brands {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.6rem; height: 2.6rem; border-radius: 12px;
    background: linear-gradient(135deg, rgba(16, 184, 129, 0.18), rgba(16, 184, 129, 0.08));
    color: var(--brand-darker);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    box-shadow: inset 0 0 0 1px rgba(16, 184, 129, 0.18);
}
.card-body-soft h2 { font-size: 1.15rem; margin-bottom: 0.4rem; font-weight: 700; }
.card-photo img { height: 160px; }

/* ─── Feature checklist circles ─────────────────────────── */
.feature-checklist li i {
    width: 1.4rem; height: 1.4rem; border-radius: 50%;
    background: rgba(16, 184, 129, 0.15);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    margin-top: 0.15rem;
}

/* ─── Admin table action icons (Műveletek) ──────────────── */
.info-card .table td .btn.btn-sm,
.table .btn.btn-sm.btn-outline-secondary,
.table .btn.btn-sm.btn-outline-primary {
    transition: color 0.18s var(--ease), background-color 0.18s var(--ease),
                border-color 0.18s var(--ease), transform 0.18s var(--ease),
                box-shadow 0.18s var(--ease);
}

.info-card .table td .btn.btn-sm:not(.btn-outline-danger):hover,
.info-card .table td .btn.btn-sm:not(.btn-outline-danger):focus-visible,
.table .btn.btn-sm.btn-outline-secondary:hover,
.table .btn.btn-sm.btn-outline-primary:hover,
.table .btn.btn-sm.btn-outline-secondary:focus-visible,
.table .btn.btn-sm.btn-outline-primary:focus-visible {
    background-color: rgba(16, 184, 129, 0.12) !important;
    border-color: var(--brand) !important;
    color: var(--brand-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(16, 184, 129, 0.18);
}

.info-card .table td .btn.btn-sm:not(.btn-outline-danger):hover i,
.info-card .table td .btn.btn-sm:not(.btn-outline-danger):focus-visible i,
.table .btn.btn-sm.btn-outline-secondary:hover i,
.table .btn.btn-sm.btn-outline-primary:hover i,
.table .btn.btn-sm.btn-outline-secondary:focus-visible i,
.table .btn.btn-sm.btn-outline-primary:focus-visible i {
    color: var(--brand-dark) !important;
}

/* ─── Superadmin users admin page ───────────────────────── */
.users-admin-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
}

.users-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.users-admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.users-admin-stat-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 248, 243, 0.9));
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 14px 32px rgba(16, 38, 28, 0.08);
}

.users-admin-stat-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-dark);
    font-weight: 800;
}

.users-admin-stat-card strong {
    display: block;
    font-size: 1.5rem;
    line-height: 1.25;
    margin-top: 0.45rem;
}

.users-admin-stat-card p {
    margin-top: 0.45rem;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.users-admin-table-card {
    display: grid;
    gap: 1.5rem;
}

.users-admin-table-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.users-admin-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.85rem;
    min-width: min(100%, 30rem);
}

.users-admin-company-filter {
    width: auto;
    min-width: 12rem;
}

.users-admin-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    padding: 0.45rem 0.7rem 0.45rem 1rem;
    flex: 1 1 18rem;
}

.users-admin-search i {
    color: var(--brand-dark);
}

.users-admin-search .form-control {
    border: 0;
    box-shadow: none;
    padding-inline: 0;
    background: transparent;
}

.users-admin-search .form-control:focus {
    box-shadow: none;
}

.users-admin-empty-state {
    display: grid;
    gap: 1rem;
    padding: 1.4rem;
    border: 1px dashed rgba(16, 184, 129, 0.32);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 247, 245, 0.96));
}

.users-admin-table {
    min-width: 1100px;
}

.users-admin-table th {
    white-space: nowrap;
}

.users-admin-table tr.dtrg-start td {
    background: linear-gradient(180deg, rgba(16, 184, 129, 0.14), rgba(16, 184, 129, 0.05));
    border-top: 2px solid var(--border);
    color: var(--brand-dark);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}

.users-admin-name-cell {
    font-weight: 700;
    color: var(--text);
}

.users-admin-stats-cell {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.85rem;
    row-gap: 0.3rem;
    font-size: 0.78rem;
    color: var(--muted);
    max-width: 320px;
}

.users-admin-stats-cell i {
    color: var(--brand-dark);
    margin-right: 0.3rem;
}

.users-admin-stats-cell-wide {
    flex-basis: 100%;
}

.users-admin-table-footer,
.users-admin-dt-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.users-admin-dt-top {
    display: none;
}

#usersTableLength .dataTables_length,
#usersTableInfo .dataTables_info,
#usersTablePagination .dataTables_paginate {
    margin: 0;
    padding: 0;
}

#usersTableLength .dataTables_length label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: var(--muted);
    font-weight: 600;
}

#usersTableLength .dataTables_length select {
    width: auto;
    min-width: 5rem;
}

@media (max-width: 1399.98px) {
    .users-admin-table {
        min-width: 1000px;
    }
}

/* ─── Activity log DataTable ────────────────────────────── */
.datatable-toolbar {
    background: rgba(255, 255, 255, 0.94);
}

table.dataTable thead th,
table.dataTable thead td,
.dataTables_wrapper table.dataTable thead th,
.dataTables_wrapper table.dataTable thead td {
    background: linear-gradient(135deg, var(--brand-dark), var(--brand));
    color: #fff;
    white-space: nowrap;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 0;
}

table.dataTable thead th.sorting,
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc,
table.dataTable thead th.sorting_asc_disabled,
table.dataTable thead th.sorting_desc_disabled {
    color: #fff;
}

table.dataTable thead th:first-child,
table.dataTable thead td:first-child {
    border-top-left-radius: 1rem;
}

table.dataTable thead th:last-child,
table.dataTable thead td:last-child {
    border-top-right-radius: 1rem;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border-radius: 0.7rem;
    border: 1px solid var(--border);
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    padding: 0.9rem 1rem;
}

.dataTables_wrapper .pagination .page-link {
    border-radius: 999px;
    margin: 0 0.15rem;
}

