/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:wght@400;500;600&family=Inter:wght@300;400;500&display=swap');

:root {
    --bg-color: #011024; /* Bleu nuit exact du nouveau logo */
    --gold: #e5c17e;
    --gold-glow: rgba(229, 193, 126, 0.3);
    --text-color: #f0f0f0;
    --text-muted: #a0a0a0;
    --transition-fast: all 0.3s ease;
    --radius-soft: 12px;
    color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Étoiles CSS */
body::before, body::after, #stars-container::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    pointer-events: none;
}
body::before {
    width: 1.5px; height: 1.5px;
    box-shadow: 10vw 20vh #fff, 30vw 45vh #fff, 50vw 10vh #fff, 70vw 80vh #fff, 90vw 30vh #fff, 15vw 60vh #fff, 40vw 90vh #fff, 85vw 15vh #fff, 25vw 5vh #fff, 65vw 40vh #fff, 5vw 75vh #fff, 55vw 65vh #fff, 95vw 85vh #fff, 35vw 25vh #fff, 75vw 55vh #fff, 12vw 85vh #fff, 45vw 15vh #fff, 62vw 25vh #fff;
    animation: twinkle-layer-1 15s linear infinite;
}
body::after {
    width: 2.5px; height: 2.5px;
    box-shadow: 5vw 15vh #fff, 25vw 35vh #fff, 45vw 5vh #fff, 65vw 75vh #fff, 85vw 25vh #fff, 10vw 55vh #fff, 35vw 85vh #fff, 80vw 10vh #fff, 20vw 0vh #fff, 60vw 35vh #fff, 0vw 70vh #fff, 50vw 60vh #fff, 90vw 80vh #fff, 30vw 20vh #fff, 70vw 50vh #fff, 15vw 5vh #fff, 55vw 95vh #fff, 95vw 45vh #fff;
    animation: twinkle-layer-2 25s linear infinite;
}
#stars-container::before {
    width: 2px; height: 2px;
    box-shadow: 12vw 12vh #fff, 42vw 42vh #fff, 72vw 72vh #fff, 22vw 82vh #fff, 92vw 12vh #fff, 62vw 52vh #fff, 32vw 22vh #fff, 82vw 92vh #fff, 2vw 32vh #fff, 52vw 72vh #fff, 88vw 22vh #fff;
    animation: twinkle-layer-3 40s linear infinite;
    opacity: 0.7;
}

@keyframes twinkle-layer-1 {
    0% { transform: translate(0, 0); opacity: 0.4; filter: blur(1px); }
    25% { transform: translate(20px, 10px); opacity: 0.9; filter: drop-shadow(0 0 2px #fff) blur(1px); }
    50% { transform: translate(10px, 30px); opacity: 0.5; filter: blur(1px); }
    75% { transform: translate(-10px, 15px); opacity: 1; filter: drop-shadow(0 0 3px #fff) blur(1px); }
    100% { transform: translate(0, 0); opacity: 0.4; filter: blur(1px); }
}

@keyframes twinkle-layer-2 {
    0% { transform: translate(0, 0); opacity: 0.6; filter: blur(1px); }
    33% { transform: translate(-30px, 20px); opacity: 0.3; filter: blur(1px); }
    66% { transform: translate(20px, -10px); opacity: 0.8; filter: drop-shadow(0 0 4px #fff) blur(1px); }
    100% { transform: translate(0, 0); opacity: 0.6; filter: blur(1px); }
}

@keyframes twinkle-layer-3 {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; filter: blur(1px); }
    50% { transform: translate(40px, 40px) scale(1.3); opacity: 0.9; filter: drop-shadow(0 0 5px var(--gold)) blur(1px); }
    100% { transform: translate(0, 0) scale(1); opacity: 0.5; filter: blur(1px); }
}

/* Grappe de Lampions */
.lampions-cluster {
    position: absolute;
    top: -40px;
    right: -60px;
    display: flex;
    gap: 15px;
    pointer-events: none;
}
.lampion { position: relative; animation: swing var(--speed) infinite ease-in-out; transform-origin: top center; }
.lampion-wire { width: 1px; height: var(--wire-h); background: rgba(255,255,255,0.2); margin: 0 auto; }
.lampion-body {
    width: var(--size); height: calc(var(--size) * 1.2); background: var(--gold); border-radius: 40% 40% 50% 50%;
    margin: 0 auto; position: relative; box-shadow: 0 0 30px var(--gold-glow), inset 0 0 15px rgba(0,0,0,0.3);
}
.lampion-body::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60%; height: 70%; background: #fff; filter: blur(10px); border-radius: 50%;
    animation: pulse 2s infinite alternate;
}
@keyframes swing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes pulse { from { opacity: 0.4; transform: translate(-50%, -50%) scale(0.8); } to { opacity: 0.9; transform: translate(-50%, -50%) scale(1.1); } }

/* Success Page Refinement */
.success-header { text-align: center; margin-bottom: 40px; }
.success-icon { color: var(--gold); margin-bottom: 20px; }
.success-icon svg { 
    width: 60px; height: 60px; 
    filter: drop-shadow(0 0 10px var(--gold-glow)); 
    animation: success-pop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes success-pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.ticket-code-badge {
    margin-top: 25px;
    padding: 15px 25px;
    background: rgba(229, 193, 126, 0.08);
    border: 1px solid rgba(229, 193, 126, 0.2);
    border-radius: 15px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}
.ticket-code-badge .label { font-size: 0.7rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.ticket-code-badge .code { font-size: 1.8rem; font-weight: 600; color: var(--gold); letter-spacing: 3px; }

.success-content { max-width: 700px; margin: 0 auto; }
.success-content h3 { font-size: 1.8rem; color: var(--gold); margin-bottom: 25px; text-align: center; }

.email-preview-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.email-header { padding: 20px 30px; background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.preview-label { font-size: 0.7rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; opacity: 0.8; }
.email-subject { font-size: 0.95rem; opacity: 0.9; }

.email-body { padding: 30px; font-family: 'Inter', sans-serif; font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.8); }
.email-body p { margin-bottom: 15px; }
.address-box {
    background: rgba(229, 193, 126, 0.1);
    color: var(--gold);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin: 25px 0;
    border: 1px solid rgba(229, 193, 126, 0.2);
}
.team-signature { margin-top: 30px; font-style: italic; color: var(--gold); }

.download-actions { text-align: center; margin-top: 30px; }
.download-actions p { margin-bottom: 20px; opacity: 0.7; font-size: 0.9rem; }

.pending-notice-card {
    background: rgba(229, 193, 126, 0.03);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px dashed rgba(229, 193, 126, 0.3);
}
.notice-text { font-size: 1.1rem; line-height: 1.8; color: var(--text-color); }
.legal-footer { margin-top: 30px; font-size: 0.8rem; font-style: italic; opacity: 0.5; }

.success-footer { margin-top: 50px; text-align: center; }

/* Responsive Success */
@media (max-width: 768px) {
    .email-body { padding: 20px; }
    .notice-text { font-size: 1rem; }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(1, 16, 36, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(229, 193, 126, 0.1);
    transition: var(--transition-fast);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.header-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo-badge {
    width: 105px;
    height: 105px;
    flex-shrink: 0;
    transition: var(--transition-fast);
    position: relative;
    top: 18px;
    margin-bottom: -40px;
    z-index: 1001;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6)) drop-shadow(0 0 15px var(--gold-glow));
}

.logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-badge.staging {
    border: 2px solid rgba(229, 193, 126, 0.5);
    border-radius: 50%;
}

.mobile-header-right {
    display: none;
    align-items: center;
    gap: 15px;
}

.mobile-page-title {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: capitalize;
    transition: var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.menu-open .mobile-page-title {
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Menu ouvert */
.menu-open .mobile-menu-btn .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .mobile-menu-btn .bar:nth-child(2) { opacity: 0; }
.menu-open .mobile-menu-btn .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

nav {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links { display: flex; list-style: none; gap: 25px; flex-wrap: wrap; justify-content: center; }
.nav-links a {
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    opacity: 0.6;
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--gold); }
.nav-links a.active::after {
    content: ""; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px;
    background: var(--gold); box-shadow: 0 0 8px var(--gold);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 1px;
    opacity: 0.6;
    flex-shrink: 0;
}
.lang-switcher-links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.lang-switcher a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition-fast);
}
.lang-switcher a:hover, .lang-switcher a.active {
    color: var(--gold);
    opacity: 1;
}
.lang-switcher span {
    opacity: 0.3;
}

/* Contenu */
.container { max-width: 800px; margin: 0 auto; padding: 0 25px; position: relative; }
h1, h2 { 
    font-family: 'Great Vibes', cursive; 
    color: var(--gold); 
    font-weight: 400;
    text-wrap: balance;
}
h1 { font-size: clamp(3.5rem, 8vw, 6rem); text-shadow: 0 0 30px var(--gold-glow); margin-bottom: 1rem; position: relative; display: inline-block; }
h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1.5rem; text-align: center; }

main { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    padding: 160px 0 100px; 
    text-align: center; 
    min-height: 60vh; 
}

/* Ajustement spécifique pour les pages hors accueil */
main:not(:has(.home-page-content)) {
    padding-top: 140px;
}

.poetic-text { 
    font-size: 1.15rem; 
    max-width: 650px; 
    margin: 0 auto; 
    text-align: center;
    text-wrap: pretty;
}
.poetic-text p { margin-bottom: 1.5rem; }

/* Liens dans le contenu */
.poetic-text a, .modern-form a, .legal-page a {
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(229, 193, 126, 0.3);
    transition: var(--transition-fast);
}
.poetic-text a:hover, .modern-form a:hover, .legal-page a:hover {
    border-bottom-color: var(--gold);
    opacity: 0.8;
}

/* Formulaires */
.modern-form { background: rgba(255, 255, 255, 0.03); padding: 40px; border-radius: 25px; border: 1px solid rgba(229, 193, 126, 0.1); text-align: left; }
.form-group { margin-bottom: 25px; }
.form-group label { font-family: 'Playfair Display', serif; display: block; font-size: 0.85rem; color: var(--gold); margin-bottom: 8px; }
input, select, textarea {
    width: 100%; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 12px 18px; border-radius: var(--radius-soft); color: white; font-family: inherit; font-size: 1rem;
    transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

input.invalid, select.invalid, textarea.invalid {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.1) !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e5c17e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
    cursor: pointer;
    border: 1px solid rgba(229, 193, 126, 0.2);
}

select:hover {
    border-color: rgba(229, 193, 126, 0.5);
    background-color: rgba(255, 255, 255, 0.07);
}

select:focus {
    outline: none;
    border-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px var(--gold-glow);
}

select option {
    background-color: #011024;
    color: white;
}

input[type="radio"] {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

/* Radio Group (Deprecated but kept for safety or removed if sure) */
.radio-group {
    display: none;
}
/* Select styling already handled above */

/* Boutons */
.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn { 
    font-family: 'Playfair Display', serif; 
    background: var(--gold); 
    color: var(--bg-color); 
    border: none; 
    padding: 14px 30px;
    border-radius: var(--radius-soft);
    font-weight: 600; 
    cursor: pointer; 
    transition: var(--transition-fast); 
    text-decoration: none; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    white-space: nowrap;
    min-width: 200px; /* Taille identique pour tous les boutons */
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--gold-glow); }
.btn-outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn-outline:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }

/* Tickets */
.price-options { display: flex; gap: 10px; margin-top: 10px; }
.price-btn {
    flex: 1; padding: 18px; border: 1px solid rgba(229, 193, 126, 0.3); background: transparent; color: var(--text-color); border-radius: 12px; cursor: pointer; transition: var(--transition-fast); font-family: inherit; font-size: 1.1rem; font-weight: 500;
}
.price-btn.active { border-color: var(--gold); color: var(--gold); background: rgba(229, 193, 126, 0.1); }

.attendee-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 15px; margin-bottom: 15px; align-items: start; }
.attendee-field { display: flex; flex-direction: column; gap: 6px; }
.remove-attendee { background: none; border: none; color: #ff4d4d; cursor: pointer; font-size: 1.2rem; margin-top: 8px; }

.secure-badge {
    display: flex; align-items: center; gap: 10px; justify-content: center;
    margin-top: 25px; padding: 14px 20px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; line-height: 1.4;
}
.secure-badge-icon { font-size: 1.2rem; flex-shrink: 0; }
.secure-badge small { opacity: 0.5; display: block; margin-top: 2px; }

/* Occupancy Bar */
.occupancy-wrapper {
    margin-bottom: 50px;
    text-align: center;
}
.occupancy-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.occupancy-text span {
    color: var(--gold);
    font-weight: 600;
}
.occupancy-bar-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(229, 193, 126, 0.1);
}
.occupancy-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), #ffdfa0);
    box-shadow: 0 0 15px var(--gold-glow);
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.occupancy-subtext {
    font-size: 0.8rem;
    color: var(--gold);
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Paiement Express */
.express-payment { 
    display: flex; 
    justify-content: center;
    gap: 15px; 
    margin-bottom: 30px; 
    width: 100%;
}
.btn-express { 
    flex: 1;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 15px; 
    min-height: 55px;
    border-radius: var(--radius-soft); 
    background: white; 
    border: none; 
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-express img { 
    height: 26px; 
    width: auto;
    display: block;
}

/* Galerie */
.gallery-item { border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.5); max-width: 600px; margin: 0 auto; }
.gallery-item img { width: 100%; height: auto; display: block; transition: var(--transition-slow); }

/* Admin Dashboard */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(229, 193, 126, 0.1);
    text-align: center;
}
.stat-card h4 { font-size: 0.8rem; text-transform: uppercase; opacity: 0.6; margin-bottom: 10px; }
.stat-card p { font-size: 2rem; color: var(--gold); font-weight: 600; }

.admin-table-wrapper {
    background: transparent;
    border: none;
}

/* Admin Cards for Mobile & Desktop */
.admin-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.admin-ticket-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(229, 193, 126, 0.1);
    border-radius: 20px;
    padding: 25px;
    text-align: left;
    transition: var(--transition-fast);
}

.admin-ticket-card:hover {
    border-color: rgba(229, 193, 126, 0.3);
    background: rgba(255, 255, 255, 0.07);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.card-info-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.7;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.card-info-value {
    font-size: 1rem;
    font-weight: 500;
}

.card-actions {
    display: flex;
    gap: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

@media (min-width: 992px) {
    .admin-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer Redesign */
footer {
    padding: 60px 0 30px;
    background: #010a16; /* Fond solide pour bien séparer du contenu */
    border-top: 1px solid rgba(229, 193, 126, 0.1);
    margin-top: auto;
}

footer .container {
    max-width: 1000px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand img { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 15px; }
.footer-brand p { font-size: 0.85rem; opacity: 0.6; line-height: 1.6; max-width: 300px; text-align: left; }
.footer-links h4 { color: var(--gold); font-size: 0.8rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; text-align: left; }
.footer-links ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: var(--transition-fast); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-brand p, .footer-links h4, .footer-links ul { text-align: center; margin-left: auto; margin-right: auto; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* Footer Link Normalization */
.admin-access { 
    opacity: 0.6; 
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast); 
}
.admin-access:hover { opacity: 1; color: var(--gold); }

/* FAQ Design */
.faq-container {
    margin-top: 60px;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.faq-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 500;
}
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(229, 193, 126, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}
.faq-item:hover {
    border-color: rgba(229, 193, 126, 0.3);
    background: rgba(255, 255, 255, 0.05);
}
.faq-question {
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.faq-question::before {
    content: "•";
    font-size: 1.2rem;
    color: var(--gold);
    opacity: 0.7;
}
.faq-answer {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 1150px) {
    .nav-links { gap: 15px; }
}

@media (max-width: 768px) {
    main { padding-top: 140px; padding-bottom: 100px; min-height: auto; }
    main:not(:has(.home-page-content)) { padding-top: 120px; }
    
    header { padding: 12px 0; }
    
    .header-container {
        justify-content: flex-end;
        min-height: 45px;
    }
    
    .mobile-header-right { display: flex; }
    
    body.menu-open header {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-bottom-color: transparent;
    }
    
    /* Overlay de fond quand le menu est ouvert */
    body.menu-open::after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 999;
        animation: fadeInSimple 0.8s ease forwards;
    }
    
    .mobile-menu-btn { display: flex; }
    
    .logo-badge { 
        position: absolute;
        left: 20px;
        top: 5px;
        width: 85px; 
        height: 85px;
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6)) drop-shadow(0 0 15px var(--gold-glow));
        z-index: 1001;
    }

    .header-nav-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background: rgba(1, 16, 36, 0.4);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(229, 193, 126, 0.1);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 40px rgba(0,0,0,0.4);
    }

    .menu-open .header-nav-wrapper {
        transform: translateX(0);
    }

    /* Animation des liens en cascade */
    .menu-open .nav-links li {
        animation: fadeInDelicate 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
    }
    .menu-open .nav-links li:nth-child(1) { animation-delay: 0.2s; }
    .menu-open .nav-links li:nth-child(2) { animation-delay: 0.3s; }
    .menu-open .nav-links li:nth-child(3) { animation-delay: 0.4s; }
    .menu-open .nav-links li:nth-child(4) { animation-delay: 0.5s; }
    .menu-open .nav-links li:nth-child(5) { animation-delay: 0.6s; }
    
    .menu-open .lang-switcher {
        animation: fadeInSimple 1s ease 0.8s both;
    }

    .nav-links { 
        flex-direction: column;
        align-items: center;
        gap: 30px; 
    }
    
    .nav-links a { 
        font-size: 1.5rem; 
        opacity: 0.8;
    }

    .lang-switcher {
        position: static;
        transform: none;
        margin-top: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        font-size: 1rem;
        opacity: 1;
    }

    .audio-header-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .lampions-cluster { right: -30px; top: -40px; scale: 0.6; }
    h1 { margin-top: 20px; }
    .modern-form { padding: 25px; }
    .attendee-row { grid-template-columns: 1fr; }
    .express-payment { flex-direction: column; gap: 15px; }
    
    .btn-group {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 300px;
        margin: 40px auto 0;
    }
    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        min-width: auto;
    }
}

/* Animations */
.fade-in {
    animation: fadeInSimple 0.8s ease-out both;
}

.hero .container > * {
    animation: fadeInDelicate 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero h1 { animation-delay: 0.4s; }
.hero .poetic-text { animation-delay: 1.2s; }
.hero .btn-group { animation-delay: 2s; }

@keyframes fadeInSimple {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDelicate {
    from { 
        opacity: 0; 
        transform: translateY(10px);
        filter: blur(15px) brightness(1.5);
        letter-spacing: 2px;
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
        filter: blur(0) brightness(1);
        letter-spacing: normal;
    }
}

.attendee-row.fade-in {
    animation-duration: 0.5s;
}

/* Swup Transitions */
.swup-transition-fade {
    opacity: 1;
    transition: opacity 0.4s ease-in-out, filter 0.4s ease-in-out;
}

html.is-animating .swup-transition-fade {
    opacity: 0;
    filter: blur(10px);
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 16, 36, 0.2);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#swup {
    position: relative; /* Nécessaire pour le positionnement absolute du loader */
    min-height: 40vh;
}

#page-loader.active {
    opacity: 1;
    pointer-events: auto;
}

.loader-content {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-8vh); /* Remonte le loader pour qu'il soit plus haut que le centre parfait */
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(229, 193, 126, 0.1);
    border-top: 2px solid var(--gold);
    border-radius: 50%;
    animation: loader-spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.loader-lantern {
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 20px 5px var(--gold), 0 0 40px 10px var(--gold-glow);
    animation: loader-pulse 1.5s ease-in-out infinite;
}

@keyframes loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: loader-spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

.processing-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.processing-spinner .loader-spinner {
    width: 32px;
    height: 32px;
    color: var(--gold);
    border-width: 3px;
}

@keyframes loader-pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* Bouton Audio Header */
.audio-header-btn {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    padding: 8px;
    margin-left: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
    border-radius: 50%;
}

.audio-header-btn.visible {
    opacity: 0.8 !important;
    transform: scale(1);
    pointer-events: auto;
}

.audio-header-btn.emphasize {
    animation: audio-emphasis 2s ease-out forwards;
}

@keyframes audio-emphasis {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.5); text-shadow: 0 0 15px var(--gold); }
    100% { opacity: 0.8; transform: scale(1); }
}

.audio-header-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(229, 193, 126, 0.1);
}

.audio-header-btn .audio-icon-mute { display: none; }
.audio-header-btn.muted .audio-icon-play { display: none; }
.audio-header-btn.muted .audio-icon-mute { 
    display: inline-flex; 
    opacity: 0.7; 
    position: relative;
    font-size: 1.3rem; /* Taille augmentée pour la lisibilité */
}

.audio-header-btn.muted .audio-icon-mute s {
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.audio-header-btn.muted .audio-icon-mute s::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -4px;
    width: calc(100% + 8px);
    height: 2px; /* Trait un peu plus épais */
    background: var(--gold);
    transform: rotate(-45deg);
    box-shadow: 0 0 5px rgba(0,0,0,0.5); /* Ombre pour détacher le trait de la note */
}

.audio-header-btn.playing .audio-icon-play {
    animation: music-pulse 2s infinite ease-in-out;
}

@keyframes music-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

@media (max-width: 768px) {
    .audio-header-btn { 
        margin-left: 0;
        padding: 12px;
        font-size: 1.5rem;
    }
}


/* Validation Errors */
.error-validation {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 107, 107, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 107, 0.2);
    animation: validationFadeIn 0.3s ease;
}

.error-validation::before {
    content: '⚠';
    font-size: 1rem;
}

@keyframes validationFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}
.shake { animation: shake 0.4s ease-in-out; }

/* Confirm Modal */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999; animation: modalFadeIn 0.2s ease;
}
.modal-dialog {
    background: var(--bg-color); border: 1px solid var(--gold);
    border-radius: 20px; padding: 35px; max-width: 420px; width: 90%;
    text-align: center; animation: modalSlideIn 0.25s ease;
}
.modal-message { margin-bottom: 25px; font-size: 1.05rem; line-height: 1.5; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }
.modal-actions .btn { width: 100%; justify-content: center; }
.modal-actions .btn:last-child { margin-bottom: 0; }

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Payment recap card */
.payment-summary {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 25px;
    border: 1px solid rgba(229, 193, 126, 0.1);
    margin-bottom: 30px;
}
.summary-title {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
}
.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}
.summary-line:last-of-type {
    border-bottom: none;
}
.summary-label {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.summary-value {
    color: #f0f0f0;
    text-align: right;
    word-break: break-word;
}
.summary-attendee .summary-label {
    visibility: hidden;
    width: 0;
}
.summary-attendee .summary-value {
    font-size: 0.85rem;
    opacity: 0.8;
    padding-left: 10px;
}
.summary-total {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(229, 193, 126, 0.3);
}
.summary-total .summary-label,
.summary-total .summary-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
}

/* ==============================
   Admin Dashboard
   ============================== */
@keyframes toastIn { from { transform: translate(-50%, -20px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.admin-dashboard h2 { font-family: 'Playfair Display', serif; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 1.8rem; }
#admin-search:focus, #artist-search:focus { border-color: var(--gold) !important; box-shadow: 0 0 15px var(--gold-glow); }

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}

.admin-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.admin-version {
    font-size: 0.65rem;
    opacity: 0.3;
    font-family: 'Inter', sans-serif;
    margin-top: 2px;
    letter-spacing: 1px;
}

.admin-stats-mini {
    display: flex;
    gap: 20px;
}

.stat-item {
    text-align: right;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    opacity: 0.6;
    text-transform: uppercase;
}

.stat-value {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 600;
}

.admin-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.status-badge.status-refunded { background: rgba(255, 77, 77, 0.1); color: #ff4d4d; border: 1px solid rgba(255, 77, 77, 0.3); }

.tab-btn {
    background: none; border: none; color: rgba(255,255,255,0.5); font-family: 'Inter', sans-serif;
    font-size: 1rem; padding: 15px 0; cursor: pointer; position: relative; transition: var(--transition-fast);
}
.tab-btn.active { color: var(--gold); font-weight: 600; }
.tab-btn.active::after {
    content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--gold);
}

.broadcast-editors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;

.broadcast-subject-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.broadcast-editor-wrap {
    position: relative;
}

.broadcast-ai-overlay {
    position: absolute;
    inset: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    background: rgba(1, 26, 59, 0.88);
    color: #e5c17e;
    font-weight: 600;
    backdrop-filter: blur(3px);
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(229, 193, 126, 0.18);
}

@media (max-width: 900px) {
    .broadcast-subject-grid {
        grid-template-columns: 1fr;
    }
}
}

.broadcast-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
}

.tab-content { width: 100%; display: none; }
.tab-content.active { display: block; animation: fadeIn 0.4s ease; }

.admin-dashboard {
    padding-top: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.admin-container {
    width: 100%;
    max-width: 1100px !important;
    margin-top: 0;
}

.admin-dashboard .modern-form {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

@media (max-width: 768px) {
    .admin-dashboard {
        padding: 20px 0 !important;
    }

    .admin-container {
        padding: 0 20px !important;
    }

    .admin-dashboard .admin-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        padding-bottom: 20px !important;
        margin-bottom: 20px !important;
    }

    .admin-dashboard .admin-title-group {
        flex-direction: row !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    .admin-dashboard .admin-title-group h2 {
        font-size: 1.4rem !important;
        margin: 0 !important;
    }

    .admin-dashboard .admin-version {
        margin-top: 0 !important;
        opacity: 0.4 !important;
    }

    .admin-dashboard .admin-stats-mini {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 0 !important;
    }

    .admin-dashboard .stat-item {
        text-align: left !important;
        background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)) !important;
        padding: 12px 15px !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .admin-dashboard .stat-label {
        font-size: 0.6rem !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 2px !important;
        opacity: 0.5 !important;
    }

    .admin-dashboard .stat-value {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
    }

    .admin-dashboard .admin-tabs {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        border-bottom: none !important;
        margin: 25px 0 !important;
        padding: 0 !important;
    }

    .admin-dashboard .tab-btn {
        padding: 12px 10px !important;
        background: rgba(255,255,255,0.05) !important;
        border-radius: 10px !important;
        font-size: 0.8rem !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        color: rgba(255,255,255,0.6) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        margin: 0 !important;
        white-space: normal !important;
        height: 44px !important;
        line-height: 1.2 !important;
        transition: all 0.2s ease !important;
    }

    .admin-dashboard .modern-form {
        width: auto !important;
        margin: 0 20px !important;
        padding: 20px !important;
    }

    /* Le dernier bouton (Communication) prend toute la largeur s'il est seul sur sa ligne */
    .admin-dashboard .tab-btn:last-child:nth-child(odd) {
        grid-column: span 2 !important;
    }

    .admin-dashboard .tab-btn.active {
        background: rgba(229, 193, 126, 0.12) !important;
        border-color: var(--gold) !important;
        color: var(--gold) !important;
        font-weight: 600 !important;
    }

    .admin-dashboard .tab-btn.active::after {
        display: none !important;
    }

    /* Filtres de statut dans la partie Réservation */
    .admin-dashboard .status-filter-group {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        background: rgba(255,255,255,0.05) !important;
        padding: 8px !important;
        border-radius: 12px !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
    }

    .admin-dashboard .filter-btn {
        padding: 10px 5px !important;
        font-size: 0.75rem !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        border-radius: 8px !important;
        margin: 0 !important;
        background: rgba(255,255,255,0.05) !important;
        color: rgba(255,255,255,0.6) !important;
        border: 1px solid rgba(255,255,255,0.05) !important;
    }

    .admin-dashboard .filter-btn.active {
        background: rgba(229, 193, 126, 0.2) !important;
        border-color: var(--gold) !important;
        color: var(--gold) !important;
        font-weight: 600 !important;
    }

    /* Le bouton "Tous" prend toute la largeur */
    .admin-dashboard .filter-btn[data-status="all"] {
        grid-column: span 2 !important;
    }

    /* Grille des éditeurs de communication */
    .admin-dashboard .broadcast-editors-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .admin-dashboard .broadcast-toolbar {
        gap: 6px !important;
    }

    .admin-dashboard .broadcast-toolbar .btn {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
}

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

.status-filter-group {
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255,255,255,0.03);
    padding: 5px;
    border-radius: 12px;
    border: 1px solid rgba(229, 193, 126, 0.1);
}

.filter-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition-fast);
    font-family: 'Inter', sans-serif;
}
.filter-btn:hover { color: white; background: rgba(255,255,255,0.05); }
.filter-btn.active {
    background: var(--gold);
    color: var(--bg-color);
    font-weight: 600;
}

/* ==============================
   Error Page
   ============================== */
.error-page {
    padding: 40px 0 100px;
    text-align: center;
    margin-top: -60px;
}
.error-page h1 {
    margin-bottom: 30px;
}

/* ==============================
   Docs Preview
   ============================== */
.docs-preview .ticket {
    position: relative !important;
    height: auto !important;
    min-height: 500px;
    border: 2px dashed #e5c17e !important;
}
.docs-preview h3.preview-heading {
    text-align: center;
}

/* Broadcast Detail Modal Responsive */
.broadcast-detail-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.broadcast-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.broadcast-detail-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 20px;
}

.broadcast-detail-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (max-width: 900px) {
    .broadcast-detail-body {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
    
    .broadcast-detail-sidebar {
        order: 2;
    }
    
    .broadcast-detail-main {
        order: 1;
    }

    #broadcast-detail-modal .modal-header {
        padding: 15px 20px;
    }

    #broadcast-detail-modal h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .broadcast-detail-body {
        padding: 15px;
    }
    
    .broadcast-detail-card {
        padding: 15px;
    }
}

@media (max-width: 900px) {
    .broadcast-subject-grid {
        grid-template-columns: 1fr;
    }
}
