/* ============================================================
   Emerson & Oliver — Open Mic Night
   Art Deco Theme (Dark & Gold)
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --bg-primary: #0d0d0d;
    --bg-surface: #1a1a2e;
    --bg-card: #16213e;
    --bg-card-hover: #1c2a4a;
    --accent-gold: #d4af37;
    --accent-gold-light: #f0d060;
    --accent-gold-dim: #a08520;
    --text-primary: #f5f0e8;
    --text-muted: #8a8578;
    --status-on-stage: #2d6a4f;
    --status-next: #d4af37;
    --status-done: #4a4a4a;
    --status-danger: #c1292e;
    --confirm-green: #2d6a4f;
    --update-red: #c1292e;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.15);
    --transition: 0.3s ease;
}

/* --- Hide reCAPTCHA v3 badge (text attribution in footer per Google TOS) --- */
.grecaptcha-badge {
    visibility: hidden !important;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle background grain */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

main {
    flex: 1;
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-sm {
    max-width: 640px;
}

.container-md {
    max-width: 800px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

a:hover {
    color: var(--accent-gold-light);
}

/* --- Art Deco Decorative Elements --- */
.deco-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.deco-divider::before,
.deco-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.deco-divider::before {
    background: linear-gradient(90deg, transparent, var(--accent-gold));
}

.deco-divider::after {
    background: linear-gradient(90deg, var(--accent-gold), transparent);
}

.deco-divider-center {
    justify-content: center;
}

.deco-divider-center::before {
    background: linear-gradient(90deg, transparent, var(--accent-gold));
}

.deco-divider-center::after {
    background: linear-gradient(90deg, var(--accent-gold), transparent);
}

.deco-diamond {
    width: 10px;
    height: 10px;
    background: var(--accent-gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.deco-border {
    border: 1px solid var(--accent-gold-dim);
    padding: 2rem;
    position: relative;
}

.deco-border::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid var(--accent-gold-dim);
    pointer-events: none;
    opacity: 0.4;
}

/* Geometric corner decorations */
.deco-corners {
    position: relative;
}

.deco-corners::before,
.deco-corners::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent-gold);
    border-style: solid;
}

.deco-corners::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

.deco-corners::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}

/* --- Header --- */
.site-header {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--accent-gold-dim);
    background: var(--bg-surface);
    position: relative;
    z-index: 100;
}

.site-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 0.15rem;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

/* --- Footer --- */
.site-footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

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

.btn-primary:hover {
    background: var(--accent-gold-light);
    color: var(--bg-primary);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold-light);
}

.btn-danger {
    background: var(--status-danger);
    color: var(--text-primary);
}

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

.btn-success {
    background: var(--confirm-green);
    color: var(--text-primary);
}

.btn-success:hover {
    background: #358c63;
}

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

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Cards --- */
.card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all var(--transition);
}

.card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-gold);
}

.card-clickable {
    cursor: pointer;
}

.card-clickable:hover {
    background: var(--bg-card-hover);
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23d4af37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-error {
    color: var(--status-danger);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.form-help {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* --- Status Badges --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.badge-open {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold-dim);
}

.badge-taken {
    background: rgba(74, 74, 74, 0.3);
    color: var(--text-muted);
}

.badge-on-stage {
    background: var(--status-on-stage);
    color: #fff;
    animation: pulse-glow 2s ease-in-out infinite;
}

.badge-next {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold-light);
    border: 1px solid var(--accent-gold);
}

.badge-done {
    background: rgba(74, 74, 74, 0.3);
    color: var(--text-muted);
}

.badge-no-show {
    background: rgba(193, 41, 46, 0.2);
    color: var(--status-danger);
}

.badge-cancelled {
    background: rgba(193, 41, 46, 0.15);
    color: #e07070;
}

.badge-ran-out-of-time {
    background: rgba(255, 152, 0, 0.15);
    color: #ffb74d;
}

.badge-host-added {
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold-dim);
    font-size: 0.65rem;
}

.badge-confirmed {
    background: var(--confirm-green);
    color: #fff;
}

.badge-needs-update {
    background: var(--update-red);
    color: #fff;
}

.badge-comm {
    background: rgba(100, 149, 237, 0.15);
    color: #6495ed;
    font-size: 0.65rem;
}

.badge-special {
    background: rgba(160, 100, 220, 0.2);
    color: #c084fc;
    font-size: 0.7rem;
}

/* --- Slot Cards (Signup Page) --- */
.slot-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.slot-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    transition: all var(--transition);
}

.slot-card-open {
    cursor: pointer;
    border-color: rgba(212, 175, 55, 0.3);
}

.slot-card-open:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

.slot-card-taken {
    opacity: 0.5;
}

.slot-card-active {
    border-color: var(--accent-gold);
    background: var(--bg-card-hover);
}

.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slot-time {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.slot-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    display: none;
    animation: slideDown 0.3s ease;
}

.slot-form.active {
    display: block;
}

/* --- Lineup Cards (Host/Live) --- */
.lineup {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.lineup-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: 1rem 1.25rem;
    transition: all 0.4s ease;
    position: relative;
}

.lineup-card-on-stage {
    border-color: var(--status-on-stage);
    background: rgba(45, 106, 79, 0.1);
    box-shadow: 0 0 25px rgba(45, 106, 79, 0.2);
}

.lineup-card-next {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}

.lineup-card-done {
    opacity: 0.45;
}

.lineup-card-encore {
    opacity: 0.7;
    cursor: pointer;
    border-color: var(--accent-gold-dim);
    border-style: dashed;
}

/* --- Waitlist Cards --- */
.lineup-card-waitlist {
    border: 1px dashed var(--accent-gold-dim);
    opacity: 0.7;
    background: rgba(212, 175, 55, 0.03);
}

.lineup-card-waitlist:hover {
    opacity: 0.85;
    border-color: var(--accent-gold);
}

.waitlist-section {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.waitlist-section h4 {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.badge-waitlist {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold-dim);
}

.waitlist-info {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.waitlist-info h3 {
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.waitlist-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- Add-To Toggle (Lineup / Wait List) --- */
.add-to-toggle {
    display: flex;
    gap: 0.75rem;
}

.add-to-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.9rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all var(--transition);
}

.add-to-option:hover {
    border-color: var(--accent-gold-dim);
    color: var(--text-primary);
    background: rgba(212, 175, 55, 0.05);
}

.add-to-option.active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.12);
}

.add-to-icon {
    font-size: 1.4rem;
    line-height: 1;
}

/* --- Set Progress Bar --- */
.set-progress {
    position: relative;
    height: 22px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    margin-top: 0.6rem;
    overflow: hidden;
}

.set-progress-bar {
    height: 100%;
    border-radius: 4px;
    background: var(--status-on-stage);
    transition: width 1s linear;
    min-width: 0;
}

.set-progress-bar.set-progress-warn {
    background: var(--accent-gold-dim);
}

.set-progress-bar.set-progress-danger {
    background: var(--status-danger);
}

.set-progress-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.03em;
    pointer-events: none;
}

.lineup-card-no-show {
    opacity: 0.7;
    border-color: var(--status-danger);
    background: rgba(193, 41, 46, 0.08);
    border-left: 4px solid var(--status-danger);
}

.lineup-card-cancelled {
    opacity: 0.5;
    border-color: rgba(193, 41, 46, 0.3);
    background: rgba(193, 41, 46, 0.04);
    border-left: 4px solid rgba(193, 41, 46, 0.4);
}

.lineup-card-ran-out-of-time {
    opacity: 0.6;
    border-color: rgba(255, 152, 0, 0.3);
    background: rgba(255, 152, 0, 0.04);
    border-left: 4px solid rgba(255, 152, 0, 0.5);
}

.lineup-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.lineup-card .card-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
}

.lineup-card .card-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.lineup-card .card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

.lineup-card .card-details {
    display: none;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.lineup-card .card-details.expanded {
    display: block;
    animation: slideDown 0.3s ease;
}

.lineup-card .card-details.expanded.no-animate {
    animation: none;
}

.lineup-card .card-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.lineup-card .card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

/* --- Slot rows (host drag-to-slot) --- */
.slot-row {
    position: relative;
}

.slot-row.drag-over > .lineup-card,
.slot-row.drag-over > .slot-placeholder {
    border-color: var(--accent-gold-light);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.slot-placeholder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    border: 1px dashed rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    min-height: 52px;
    transition: all 0.3s ease;
}

.slot-placeholder.slot-extended {
    border-color: rgba(212, 175, 55, 0.12);
    opacity: 0.7;
}

.slot-placeholder-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 700;
}

.badge-open {
    background: rgba(158, 158, 158, 0.15);
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* Drag and drop */
.lineup-card.dragging {
    opacity: 0.4;
    transform: scale(0.98);
}

.lineup-card.drag-over {
    border-color: var(--accent-gold-light);
    background: rgba(212, 175, 55, 0.08);
}

/* --- Live Page Spotlight --- */
.spotlight {
    text-align: center;
    padding: 3rem 1.5rem;
    position: relative;
}

.spotlight-act {
    animation: fadeInUp 0.6s ease;
}

.spotlight .act-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.spotlight .act-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.spotlight .spotlight-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    background: var(--status-on-stage);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Spotlight glow effect */
.spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Admin Dashboard Grid --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.dashboard-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    cursor: pointer;
    transition: all var(--transition);
}

.dashboard-card:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.dashboard-card .card-date {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.dashboard-card .card-stats {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Admin Slot Grid --- */
.admin-slot-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-slot {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: 1rem;
    transition: all var(--transition);
}

.admin-slot-confirmed {
    border-left: 4px solid var(--confirm-green);
}

.admin-slot-needs-update {
    border-left: 4px solid var(--update-red);
}

/* --- Admin Quick Links --- */
.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.quick-link:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* --- Tables --- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.data-table th {
    text-align: left;
    padding: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-gold);
    border-bottom: 1px solid var(--accent-gold-dim);
}

.data-table td {
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tr:hover td {
    background: rgba(212, 175, 55, 0.03);
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-surface);
    border: 1px solid var(--accent-gold-dim);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform var(--transition);
    margin: auto;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal h3 {
    margin-bottom: 1rem;
}

.modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

/* --- Alerts / Messages --- */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(45, 106, 79, 0.15);
    border: 1px solid var(--confirm-green);
    color: #7dd3a8;
}

.alert-error {
    background: rgba(193, 41, 46, 0.15);
    border: 1px solid var(--status-danger);
    color: #f09090;
}

.alert-info {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold-dim);
    color: var(--accent-gold-light);
}

/* --- Simulation Banner --- */
.sim-banner {
    background: repeating-linear-gradient(
        45deg,
        var(--status-danger),
        var(--status-danger) 10px,
        #a01a1e 10px,
        #a01a1e 20px
    );
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 200;
}

/* --- Clock Display --- */
.live-clock {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    text-align: center;
}

/* --- Search Bar --- */
.search-bar {
    position: relative;
    margin-bottom: 1rem;
}

.search-bar .form-input {
    padding-left: 2.5rem;
}

.search-bar::before {
    content: '\1F50D';
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.5;
}

/* --- Date Display --- */
.event-date-display {
    text-align: center;
    padding: 1.5rem 0;
}

.event-date-display h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--accent-gold);
}

.event-date-display .date-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* --- Summary Bar --- */
.summary-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.summary-stat {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.summary-stat .stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.summary-stat .stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* --- Checkbox --- */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--accent-gold);
    width: 18px;
    height: 18px;
}

/* --- QR Code Display --- */
.qr-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    max-width: 250px;
    border: 2px solid var(--accent-gold-dim);
    border-radius: var(--radius);
    background: #fff;
    padding: 0.5rem;
}

.qr-item h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* --- Simulation Controls --- */
.sim-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--accent-gold-dim);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.sim-controls label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Loading Spinner --- */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-gold-dim);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* --- Empty State --- */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-state h3 {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* --- Animations --- */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(45, 106, 79, 0.3); }
    50% { box-shadow: 0 0 20px rgba(45, 106, 79, 0.6); }
}

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

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

/* --- Section spacing --- */
.section {
    padding: 2rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* --- Nav for admin --- */
.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    margin-bottom: 1.5rem;
}

.admin-nav a {
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

.nav-badge-unread {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 4px;
    border-radius: 9px;
    background: #f44336;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

/* Inbound message row highlight */
.msg-row-unread td {
    background: rgba(244, 67, 54, 0.06);
}

.dir-badge {
    display: inline-block;
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}
.dir-in { background: rgba(244, 67, 54, 0.15); color: #f44336; }
.dir-out { background: rgba(158, 158, 158, 0.15); color: #9e9e9e; }

/* --- Host header bar --- */
.host-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--accent-gold-dim);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* --- No-show section --- */
.no-show-section {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(193, 41, 46, 0.3);
}

.no-show-section h4 {
    color: var(--status-danger);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.no-show-icon {
    display: inline-block;
    margin-right: 0.35rem;
    font-size: 0.9em;
}

/* --- Wrap Banner --- */
.wrap-banner {
    margin: 2rem 0;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, #1a1a2e 100%);
    border: 2px solid var(--accent-gold);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-gold);
}

.wrap-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.wrap-banner h2 {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 2rem;
    margin: 0;
}

.wrap-banner p {
    width: 100%;
    color: var(--text-primary);
    margin: 0.5rem 0 0;
    font-size: 1rem;
}

.wrap-star {
    color: var(--accent-gold);
    font-size: 1.5rem;
}

/* --- Reports --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
}

.metric-card .metric-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.metric-card .metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--accent-gold); }
.text-danger { color: var(--status-danger); }
.text-success { color: var(--confirm-green); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* --- Signup Callout (header) --- */
.page-signup .logo-tagline {
    margin-bottom: 0.6rem;
    letter-spacing: 0.35em;
}

.signup-callout {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--accent-gold-dim);
    margin: 0;
    padding: 0;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* --- Signup Tabs & Rules --- */
.signup-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.signup-tab {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.25rem;
    cursor: pointer;
    transition: all var(--transition);
}

.signup-tab:hover {
    color: var(--accent-gold-light);
}

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

.signup-panel {
    display: none;
}

.signup-panel.active {
    display: block;
}

.rules-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
}

.rules-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.rules-list {
    list-style: none;
    counter-reset: rules;
    padding: 0;
    margin: 0;
}

.rules-list li {
    counter-increment: rules;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.rules-list li::before {
    content: counter(rules) ".";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 700;
}

.rules-list li:last-child {
    margin-bottom: 0;
}

.rules-acknowledge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.rules-acknowledge input[type="checkbox"] {
    accent-color: var(--accent-gold);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* --- Responsive --- */
@media (min-width: 640px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }

    .container {
        padding: 0 1.5rem;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-links {
        grid-template-columns: repeat(4, 1fr);
    }

    .qr-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .logo-name {
        font-size: 2.25rem;
    }
}

/* --- Print QR --- */
@media print {
    .site-header, .site-footer, .btn, .admin-nav {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .qr-item img {
        border-color: #000;
    }
}

/* ============================================================
   Additional Styles for Host/Admin/Live/Manage Pages
   ============================================================ */

/* --- Login Page --- */
.login-container {
    max-width: 400px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    text-align: center;
}

.login-container h2 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.error-message {
    color: var(--status-danger);
    background: rgba(193, 41, 46, 0.1);
    border: 1px solid rgba(193, 41, 46, 0.3);
    border-radius: var(--radius);
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* --- Manage Page --- */
.manage-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.registration-details {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.detail-row {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row strong {
    color: var(--accent-gold);
}

.manage-actions {
    margin-top: 2rem;
}

.manage-actions h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cancel-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(193, 41, 46, 0.2);
}

.cancel-section h3 {
    color: var(--status-danger);
    margin-bottom: 0.5rem;
}

.cancel-section p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* --- Host Dashboard --- */
.host-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.host-header {
    text-align: center;
    margin-bottom: 1rem;
}

.host-header h2 { color: var(--accent-gold); }
.host-stats { color: var(--text-muted); font-size: 0.9rem; }

.host-actions-bar {
    display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
    padding: 0.75rem; background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.inline-form {
    display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
    padding: 0.75rem; background: var(--bg-card); border-radius: var(--radius);
    margin-bottom: 1rem; border: 1px solid rgba(212, 175, 55, 0.15);
}
.inline-form input {
    padding: 0.4rem 0.75rem; background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3); border-radius: var(--radius);
    color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem;
}
.inline-form input:focus { outline: none; border-color: var(--accent-gold); }

.host-lineup { display: flex; flex-direction: column; gap: 0.5rem; }
.host-act {
    background: var(--bg-card); border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius); padding: 0.75rem 1rem;
    display: flex; justify-content: space-between; align-items: center;
    gap: 0.75rem; flex-wrap: wrap; transition: all var(--transition);
}
.host-act.on-stage { border-color: var(--status-on-stage); background: rgba(45, 106, 79, 0.1); box-shadow: 0 0 15px rgba(45, 106, 79, 0.15); }
.host-act.done { opacity: 0.45; }
.host-act.no-show { opacity: 0.6; border-color: var(--status-danger); background: rgba(193, 41, 46, 0.06); }
.host-act.waitlist { border-style: dashed; opacity: 0.7; }
.act-info { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; flex: 1; min-width: 0; }
.act-position { font-weight: 700; color: var(--accent-gold); font-size: 0.9rem; min-width: 2rem; }
.act-time { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.act-name { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; }
.act-desc { font-size: 0.85rem; color: var(--text-muted); font-style: italic; }
.act-status { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }
.act-controls { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.btn-stage { background: var(--status-on-stage); color: #fff; }
.btn-stage:hover { background: #358c63; }
.btn-done { background: var(--status-done); color: #fff; }
.btn-done:hover { background: #5a5a5a; }
.btn-noshow { background: rgba(193, 41, 46, 0.2); color: var(--status-danger); }
.btn-noshow:hover { background: rgba(193, 41, 46, 0.35); }
.btn-cancel { background: transparent; color: var(--status-danger); border: 1px solid rgba(193, 41, 46, 0.3); }
.btn-cancel:hover { background: rgba(193, 41, 46, 0.1); }
.btn-bump { background: rgba(212, 175, 55, 0.15); color: var(--accent-gold); }
.btn-bump:hover { background: rgba(212, 175, 55, 0.25); }

/* --- Admin Layout --- */
.admin-body { display: block; }
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 220px; background: var(--bg-surface);
    border-right: 1px solid rgba(212, 175, 55, 0.15);
    padding: 1.5rem 0; flex-shrink: 0;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-brand { padding: 0 1.25rem 1rem; border-bottom: 1px solid rgba(212, 175, 55, 0.15); margin-bottom: 1rem; }
.admin-brand h2 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--accent-gold); }
.admin-version { font-size: 0.7rem; color: var(--text-muted); }
.admin-sidebar .admin-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; border-bottom: none; margin-bottom: 0; }
.admin-sidebar .admin-nav li { margin: 0; }
.admin-sidebar .admin-nav a { display: block; padding: 0.6rem 1.25rem; font-size: 0.9rem; color: var(--text-muted); border-radius: 0; transition: all var(--transition); }
.admin-sidebar .admin-nav a:hover, .admin-sidebar .admin-nav a.active { color: var(--accent-gold); background: rgba(212, 175, 55, 0.08); }
.admin-main { flex: 1; min-width: 0; }
.admin-header { padding: 1.25rem 2rem; border-bottom: 1px solid rgba(212, 175, 55, 0.15); background: var(--bg-surface); }
.admin-header h1 { font-size: 1.5rem; color: var(--accent-gold); }
.admin-content { padding: 1.5rem 2rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th { text-align: left; padding: 0.6rem 0.75rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent-gold); border-bottom: 1px solid var(--accent-gold-dim); }
.admin-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.admin-table tr:hover td { background: rgba(212, 175, 55, 0.03); }

/* Admin Page Components */
.event-card { background: var(--bg-card); border: 1px solid rgba(212, 175, 55, 0.15); border-radius: var(--radius-lg); margin-bottom: 1rem; transition: all var(--transition); cursor: pointer; }
.event-card:hover { border-color: var(--accent-gold); box-shadow: var(--shadow-gold); }
.event-card-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.event-card-body { padding: 0.75rem 1.25rem; font-size: 0.9rem; color: var(--text-muted); }
.event-detail { max-width: 900px; }
.event-header { margin-bottom: 1.5rem; }
.event-stats { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0; }
.event-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.stat-card { background: var(--bg-card); border: 1px solid rgba(212, 175, 55, 0.15); border-radius: var(--radius); padding: 1rem; text-align: center; min-width: 100px; flex: 1; }
.stat-value { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--accent-gold); }
.stat-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-top: 0.25rem; }
.status-badge { display: inline-flex; align-items: center; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.status-badge.upcoming { background: rgba(212, 175, 55, 0.15); color: var(--accent-gold); }
.status-badge.cancelled { background: rgba(193, 41, 46, 0.15); color: #e07070; }
.status-badge.completed { background: rgba(74, 74, 74, 0.3); color: var(--text-muted); }
.simulate-container { max-width: 900px; }
.directory { max-width: 900px; }
.reports { max-width: 900px; }
.report-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.messages { max-width: 900px; }
.message-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.message-stats { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 0.85rem; color: var(--text-muted); }
.email-test { max-width: 640px; }
.qr-codes { max-width: 800px; }
.qr-card { background: var(--bg-card); border: 1px solid rgba(212, 175, 55, 0.15); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; margin-bottom: 1.5rem; }
.qr-code { background: #fff; display: inline-block; padding: 0.75rem; border-radius: var(--radius); border: 2px solid var(--accent-gold-dim); }
.qr-url { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; word-break: break-all; }
.links { max-width: 640px; }
.settings { max-width: 640px; }

@media (max-width: 640px) {
    .page-signup .signup-panel .card,
    .page-signup .rules-card {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
}

@media (max-width: 768px) {
    .admin-wrapper { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; position: static; border-right: none; border-bottom: 1px solid rgba(212, 175, 55, 0.15); }
    .admin-sidebar .admin-nav { flex-direction: row; flex-wrap: wrap; padding: 0 0.75rem; }
    .admin-content { padding: 1rem; }
    .host-act { flex-direction: column; align-items: flex-start; }
    .act-controls { width: 100%; }
}
