/* ═══════════════════════════════════════════
   Mariage Berthier-Kichou — Styles
   Theme: Romantic elegance, warm gold tones
   ═══════════════════════════════════════════ */

/* ── Variables ─────────────────────────── */
:root {
    --gold: #b8860b;
    --gold-light: #d4a843;
    --gold-pale: #f5e6c8;
    --cream: #faf6f0;
    --cream-dark: #f0e8da;
    --text: #3a2e2a;
    --text-light: #6b5b54;
    --text-muted: #9a8a82;
    --white: #ffffff;
    --blush: #f2e0d6;
    --blush-deep: #e8cfc2;
    --danger: #c44536;
    --success: #5a7a4a;
    --shadow-sm: 0 1px 3px rgba(58,46,42,0.08);
    --shadow-md: 0 4px 16px rgba(58,46,42,0.10);
    --shadow-lg: 0 8px 32px rgba(58,46,42,0.12);
    --radius: 8px;
    --transition: 0.3s ease;
}

/* ── Reset & Base ──────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lora', 'Georgia', serif;
    color: var(--text);
    background-color: var(--cream);
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ── Typography ────────────────────────── */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    line-height: 1.3;
    color: var(--text);
}

h1 { font-size: 2.2rem; margin-bottom: 0.5em; }
h2 { font-size: 1.6rem; margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }

a {
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--gold-light); }

/* ── Layout ────────────────────────────── */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    width: 100%;
}

/* ── Navigation ────────────────────────── */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--gold) !important;
    white-space: nowrap;
    padding: 1rem 0;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.navbar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    align-items: center;
}

.navbar-links a {
    display: block;
    padding: 1rem 0.75rem;
    color: var(--text-light);
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-family: 'Lora', serif;
    font-weight: 500;
    transition: color var(--transition), border-color var(--transition);
    border-bottom: 2px solid transparent;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Hamburger menu (mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.navbar-user a {
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    transition: all var(--transition);
}

.navbar-user a:hover {
    border-color: var(--gold-light);
    color: var(--gold);
}

/* ── Hero / Page Headers ──────────────── */
.page-hero {
    text-align: center;
    padding: 2rem 0 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--cream-dark);
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.3em;
}

.page-hero .subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    font-style: italic;
}

/* Decorative ornament */
.ornament {
    display: block;
    text-align: center;
    font-size: 1.4rem;
    color: var(--gold-light);
    margin: 1rem 0;
    letter-spacing: 0.5em;
    opacity: 0.7;
}

/* ── Cards & Sections ─────────────────── */
.content-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(184,134,11,0.08);
}

.content-section h2 {
    color: var(--gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--cream-dark);
}

.content-section h3 {
    color: var(--text);
    margin-top: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    color: var(--text);
}

.content-section ul, .content-section ol {
    margin: 0.75rem 0 1rem 1.5rem;
    color: var(--text);
}

.content-section li {
    margin-bottom: 0.35rem;
}

/* ── Timeline (Planning) ──────────────── */
.timeline {
    position: relative;
    padding-left: 2.5rem;
    margin: 1.5rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-light), var(--blush-deep));
}

.timeline-item {
    position: relative;
    margin-bottom: 1.75rem;
    padding-bottom: 0.25rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.85rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 2px var(--gold-light);
}

.timeline-time {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--gold);
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.timeline-title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.timeline-desc {
    font-size: 0.92rem;
    color: var(--text-light);
    font-style: italic;
}

/* ── Accommodation cards ──────────────── */
.accommodation-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--gold-light);
}

.accommodation-card h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: var(--gold);
}

.accommodation-card .detail {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.accommodation-card .detail strong {
    color: var(--text);
}

.accommodation-card a.booking-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.88rem;
    color: var(--gold);
    border-bottom: 1px dashed var(--gold-light);
}

/* ── FAQ ───────────────────────────────── */
.faq-item {
    border-bottom: 1px solid var(--cream-dark);
    padding: 1.25rem 0;
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--gold);
    transition: transform var(--transition);
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--text-light);
    font-size: 0.95rem;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-top: 0.75rem;
}

/* ── Login page ────────────────────────── */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--blush) 50%, var(--cream-dark) 100%);
    padding: 2rem;
}

.login-card {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    text-align: center;
    border: 1px solid rgba(184,134,11,0.1);
}

.login-card h1 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 0.2em;
}

.login-card .login-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Lora', serif;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--cream-dark);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Lora', serif;
    color: var(--text);
    background: var(--cream);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.12);
}

.btn-login {
    width: 100%;
    padding: 0.85rem;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background var(--transition), transform 0.15s ease;
    margin-top: 0.5rem;
}

.btn-login:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

/* ── Flash messages ────────────────────── */
.flash-messages {
    margin-bottom: 1.25rem;
}

.flash {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.flash-error {
    background: #fef2f2;
    color: var(--danger);
    border: 1px solid #fecaca;
}

.flash-warning {
    background: #fefce8;
    color: #92400e;
    border: 1px solid #fde68a;
}

.flash-info {
    background: #f0f9ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ── Footer ────────────────────────────── */
.site-footer {
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--cream-dark);
}

.site-footer .heart {
    color: var(--gold);
}

/* ── Itinerary steps ───────────────────── */
.itinerary-steps {
    counter-reset: step;
}

.itinerary-step {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.75rem;
    counter-increment: step;
}

.itinerary-step::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--gold-pale);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

/* ── Dress code cards ──────────────────── */
.dresscode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.dresscode-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.dresscode-card h3 {
    margin-top: 0;
    font-size: 1.05rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.avoid-list {
    background: #fef7f0;
    border-left: 3px solid var(--danger);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
}

.avoid-list h3 {
    color: var(--danger);
    margin-top: 0;
}

.tip-box {
    background: var(--gold-pale);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.95rem;
}

/* ── Welcome banner (accueil) ─────────── */
.welcome-banner {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--blush) 100%);
    border-radius: var(--radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(184,134,11,0.08);
}

.welcome-banner h1 {
    font-size: 2.6rem;
    color: var(--gold);
    margin-bottom: 0.2em;
}

.welcome-banner .names {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text);
    font-style: italic;
    margin-bottom: 0.5em;
}

.welcome-banner .date-location {
    font-size: 1rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

/* ── Error page ────────────────────────── */
.error-page {
    text-align: center;
    padding: 4rem 2rem;
}

.error-page h1 {
    font-size: 5rem;
    color: var(--gold-light);
    margin-bottom: 0.2em;
}

.error-page p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.error-page a {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.6rem 1.5rem;
    background: var(--gold);
    color: var(--white);
    border-radius: 6px;
    transition: background var(--transition);
}

.error-page a:hover {
    background: var(--gold-light);
    color: var(--white);
}

/* ── Responsive ────────────────────────── */
@media (max-width: 768px) {
    .navbar-inner {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .navbar-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-bottom: 0.5rem;
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-links a {
        padding: 0.75rem 0;
        border-bottom: none;
    }

    .navbar-user {
        display: none;
    }

    .navbar-links.open + .navbar-user-mobile {
        display: flex;
    }

    .navbar-user-mobile {
        display: none;
        width: 100%;
        padding: 0.5rem 0 1rem;
        justify-content: center;
        gap: 0.75rem;
        font-size: 0.85rem;
        color: var(--text-muted);
    }

    .main-content {
        padding: 1.5rem 1rem 3rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .welcome-banner {
        padding: 2rem 1.25rem;
    }

    .welcome-banner h1 {
        font-size: 1.8rem;
    }

    .welcome-banner .names {
        font-size: 1.2rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

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

    .login-card {
        padding: 2rem 1.5rem;
    }
}

/* ── Admin dashboard ────────────────────── */
.btn-admin-nav {
    background: var(--gold) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 4px;
    padding: 0.35rem 0.7rem !important;
    font-size: 0.78rem !important;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-admin-nav:hover {
    background: var(--gold-light) !important;
    color: var(--white) !important;
}

.admin-form-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.admin-form-row .form-group {
    flex: 1;
    min-width: 150px;
}

.admin-form-row .form-group-btn {
    flex: 0 0 auto;
    display: flex;
    gap: 0.5rem;
    padding-bottom: 0.05rem;
}

.admin-form select,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--cream-dark);
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Lora', serif;
    color: var(--text);
    background: var(--cream);
    transition: border-color var(--transition);
}

.admin-form select:focus,
select:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 3px rgba(184,134,11,0.12);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-light);
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #a33a2e;
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--cream-dark);
}

.btn-outline:hover {
    border-color: var(--gold-light);
    color: var(--gold);
}

.btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
}

.inline-form {
    display: inline;
}

/* ── Admin table ────────────────────────── */
.admin-table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.admin-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-family: 'Lora', serif;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 2px solid var(--cream-dark);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--cream-dark);
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: var(--cream);
}

.admin-table .edit-row {
    background: var(--cream) !important;
}

.admin-table .edit-row td {
    padding: 1.25rem 1rem;
}

.td-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.td-actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

/* ── Badges ─────────────────────────────── */
.badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-admin {
    background: var(--gold-pale);
    color: var(--gold);
}

.badge-temoin {
    background: #e0e8f0;
    color: #4a6a8a;
}

.badge-user {
    background: var(--cream-dark);
    color: var(--text-muted);
}

.badge-you {
    background: #e0f0e0;
    color: var(--success);
    margin-left: 0.4rem;
}

/* ── Tabs (CardLayout) ──────────────────── */
.tab-bar {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--cream-dark);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition);
}

.tab-btn:hover {
    color: var(--text);
}

.tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.section-label {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ── Planning table (témoins) ───────────── */
.planning-table-wrapper {
    overflow-x: auto;
}

.planning-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.planning-table th {
    text-align: left;
    padding: 0.6rem 1rem;
    font-family: 'Lora', serif;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 2px solid var(--cream-dark);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.planning-table td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--cream-dark);
    vertical-align: middle;
}

.planning-table .td-time {
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap;
    width: 80px;
}

.planning-table .td-activity {
    color: var(--text);
}

.planning-table .row-empty .td-activity {
    color: var(--text-muted);
    font-style: italic;
}

.planning-table .row-empty .td-activity::after {
    content: '—';
}

.planning-table .th-actions {
    width: 160px;
}

.planning-table .td-actions-cell {
    display: flex;
    gap: 0.2rem;
    align-items: center;
}

.planning-table .edit-row-tr {
    background: var(--cream) !important;
}

.planning-table .edit-row-tr td {
    padding: 0.75rem 1rem;
}

.planning-note {
    font-style: italic;
    color: var(--text-muted);
    margin-top: 1.5rem;
}

.timeline-item-empty .timeline-title {
    color: var(--text-muted);
    font-style: italic;
}

/* ── Inline icon buttons ────────────────── */
.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.2rem 0.35rem;
    border-radius: 4px;
    transition: background var(--transition);
    line-height: 1;
}

.btn-icon:hover {
    background: var(--cream-dark);
}

.btn-icon-danger:hover {
    background: #fce4e1;
}

/* ── Inline editing ─────────────────────── */
.edit-row {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid var(--cream-dark);
}

.edit-inline-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.input-sm {
    width: 100px;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    font-family: 'Lora', serif;
    font-size: 0.88rem;
    color: var(--text);
}

.input-md {
    flex: 1;
    min-width: 150px;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    font-family: 'Lora', serif;
    font-size: 0.88rem;
    color: var(--text);
}

.input-full {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    color: var(--text);
}

textarea.input-full {
    resize: vertical;
    min-height: 60px;
}

.input-sm:focus,
.input-md:focus,
.input-full:focus {
    outline: none;
    border-color: var(--gold-light);
    box-shadow: 0 0 0 2px rgba(184,134,11,0.12);
}

.edit-row-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* ── Admin add block ────────────────────── */
.admin-add-block {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px dashed var(--cream-dark);
}

.admin-add-block h3 {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.faq-add-block .form-group {
    margin-bottom: 0.5rem;
}

/* ── Timeline admin controls ────────────── */
.timeline-item {
    position: relative;
}

.timeline-admin {
    display: flex;
    gap: 0.15rem;
    align-items: center;
    margin-top: 0.25rem;
}

/* ── FAQ admin buttons ──────────────────── */
.faq-admin-btns {
    display: inline-flex;
    gap: 0.15rem;
    align-items: center;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.faq-edit-form {
    margin-top: 0.75rem;
}

.faq-edit-form .form-group {
    margin-bottom: 0.5rem;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 768px) {
    .admin-form-row {
        flex-direction: column;
    }
    .admin-form-row .form-group {
        min-width: 100%;
    }
    .td-actions {
        flex-direction: column;
        gap: 0.3rem;
    }
    .td-date {
        display: none;
    }
    .tab-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    .edit-inline-form {
        flex-direction: column;
        align-items: stretch;
    }
    .input-sm {
        width: 100%;
    }
    .planning-table .td-actions-cell {
        flex-wrap: wrap;
    }
}

/* ── Animations ────────────────────────── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section,
.welcome-banner,
.timeline-item,
.accommodation-card {
    animation: fadeInUp 0.5s ease forwards;
}

.content-section:nth-child(2) { animation-delay: 0.1s; }
.content-section:nth-child(3) { animation-delay: 0.2s; }
.timeline-item:nth-child(n+2) { animation-delay: calc(0.05s * var(--i, 1)); }
