:root {
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --secondary: #EC4899;
    --accent: #F59E0B;
    --emerald: #10B981;
    --danger: #EF4444;
    --cyan: #06B6D4;
    --bg-dark: #0D0B14;
    --bg-card: #171324;
    --bg-card-hover: #211B34;
    --border-color: rgba(167, 139, 250, 0.22);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    --shadow-glow: 0 0 35px rgba(124, 58, 237, 0.35);
    --shadow-gold: 0 0 40px rgba(245, 158, 11, 0.45);
}

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

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 12% 15%, rgba(124, 58, 237, 0.22) 0%, transparent 40%),
        radial-gradient(circle at 88% 20%, rgba(236, 72, 153, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 50% 88%, rgba(245, 158, 11, 0.12) 0%, transparent 45%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Confetti Canvas */
#confetti-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Topbar */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 2rem;
    background: rgba(13, 11, 20, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand-wrap {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-badge {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.35rem;
    color: #fff;
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.brand-logo-img {
    height: 44px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.brand-titles h1 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    background: linear-gradient(90deg, #FFFFFF, #E2E8F0, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-titles p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Mode Switcher Tabs (Sorteo 1 Shopify vs Sorteo 2 Instagram) */
.draw-switcher {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.3rem;
    border-radius: 14px;
    gap: 0.35rem;
}

.draw-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1.15rem;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.22s ease;
}

.draw-tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.draw-tab-btn.active-shopify {
    background: linear-gradient(135deg, #059669, #10B981);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.draw-tab-btn.active-instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(236, 72, 153, 0.4);
}

.tab-pill-count {
    background: rgba(0, 0, 0, 0.35);
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-icon-top {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-icon-top:hover {
    background: rgba(124, 58, 237, 0.22);
    border-color: var(--primary-light);
}

.btn-icon-top.active-mode {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--accent);
    color: #FDE68A;
}

/* Main Container */
.main-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem 2rem 3.5rem;
    display: grid;
    grid-template-columns: 1fr 410px;
    gap: 1.6rem;
    align-items: start;
}

body.presentation-mode .main-container {
    grid-template-columns: 1fr;
    max-width: 1120px;
}

body.presentation-mode .side-manager-column {
    display: none;
}

@media (max-width: 1100px) {
    .main-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    .topbar {
        padding: 0.85rem 1rem;
    }
}

/* Stage Card (Left / Center Column) */
.stage-card {
    background: linear-gradient(180deg, rgba(23, 19, 36, 0.92), rgba(15, 12, 25, 0.96));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.stage-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.4rem;
    flex-wrap: wrap;
}

.draw-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.55rem;
}

.badge-shopify {
    background: rgba(16, 185, 129, 0.16);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-instagram {
    background: rgba(236, 72, 153, 0.16);
    color: #F472B6;
    border: 1px solid rgba(236, 72, 153, 0.38);
}

.stage-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.3rem;
}

.stage-subtitle {
    color: var(--text-muted);
    font-size: 0.96rem;
}

.prize-banner {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(236, 72, 153, 0.12));
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 16px;
    padding: 0.75rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.prize-icon {
    font-size: 1.65rem;
}

.prize-info small {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #FCD34D;
    font-weight: 700;
}

.prize-info strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: #FFFBEB;
}

/* Info Pills for Active Rules (e.g. Sep-Oct or 2 Instagram Posts + 3 Tasks) */
.rules-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    align-items: center;
}

.rule-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    padding: 0.32rem 0.75rem;
    border-radius: 8px;
    background: rgba(124, 58, 237, 0.16);
    border: 1px solid rgba(167, 139, 250, 0.25);
    color: #E2E8F0;
    font-weight: 600;
}

.rule-chip.chip-link {
    text-decoration: none;
    background: rgba(236, 72, 153, 0.16);
    border-color: rgba(236, 72, 153, 0.38);
    color: #FBCFE8;
    transition: all 0.2s;
}

.rule-chip.chip-link:hover {
    background: rgba(236, 72, 153, 0.3);
    transform: translateY(-1px);
}

/* Tómbola / Slot Machine Display */
.tombola-arena {
    position: relative;
    background: radial-gradient(circle at center, #231B38 0%, #100C1C 100%);
    border: 2px solid rgba(167, 139, 250, 0.35);
    border-radius: 22px;
    padding: 2.2rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.75), 0 12px 35px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.tombola-lights {
    position: absolute;
    inset: 8px;
    border-radius: 16px;
    border: 2px dashed rgba(245, 158, 11, 0.25);
    pointer-events: none;
}

.tombola-arena.spinning .tombola-lights {
    border-color: rgba(245, 158, 11, 0.75);
    animation: pulseBorder 0.5s infinite alternate;
}

@keyframes pulseBorder {
    from { opacity: 0.4; box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); }
    to { opacity: 1; box-shadow: 0 0 30px rgba(236, 72, 153, 0.6); }
}

.throw-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.07);
    color: #CBD5E1;
    margin-bottom: 1rem;
}

.throw-status-pill.status-water {
    background: rgba(6, 182, 212, 0.2);
    color: #67E8F9;
    border: 1px solid rgba(6, 182, 212, 0.45);
}

.throw-status-pill.status-winner {
    background: rgba(245, 158, 11, 0.22);
    color: #FDE68A;
    border: 1px solid rgba(245, 158, 11, 0.55);
}

.slot-window {
    background: rgba(9, 7, 15, 0.9);
    border: 2px solid rgba(167, 139, 250, 0.4);
    border-radius: 18px;
    padding: 1.8rem 1.2rem;
    min-height: 155px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 760px;
    margin: 0 auto 1.4rem;
    position: relative;
    box-shadow: inset 0 6px 24px rgba(0, 0, 0, 0.85);
}

.slot-main-name {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.6vw, 2.75rem);
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 18px rgba(124, 58, 237, 0.65);
    word-break: break-word;
    transition: transform 0.1s ease;
}

.slot-sub-detail {
    margin-top: 0.45rem;
    font-size: 1rem;
    color: var(--primary-light);
    font-weight: 600;
}

.slot-extra-badge {
    margin-top: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.28rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    background: rgba(16, 185, 129, 0.15);
    color: #6EE7B7;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

/* Wheel Canvas Alternative */
.wheel-wrapper {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto 1.4rem;
    position: relative;
}

.wheel-wrapper.active {
    display: flex;
}

.wheel-pointer {
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 28px solid var(--accent);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
    margin-bottom: -10px;
    z-index: 5;
}

#wheel-canvas {
    max-width: 360px;
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 5px solid rgba(245, 158, 11, 0.65);
    box-shadow: 0 0 35px rgba(124, 58, 237, 0.45);
}

/* Spin Controls Bar */
.spin-controls-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-spin-mega {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    padding: 1rem 2.6rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(236, 72, 153, 0.45);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-spin-mega:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 34px rgba(236, 72, 153, 0.65);
}

.btn-spin-mega:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.spin-quick-settings {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.5rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    font-size: 0.82rem;
}

.spin-quick-settings label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    font-weight: 600;
}

.spin-quick-settings select,
.spin-quick-settings input[type="number"] {
    background: #120E1E;
    color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 7px;
    padding: 0.28rem 0.5rem;
    font-weight: 700;
}

/* Live Verification & Winner Panel (Appears when someone is picked) */
.verification-panel {
    display: none;
    background: linear-gradient(145deg, rgba(30, 24, 48, 0.96), rgba(19, 15, 32, 0.98));
    border: 2px solid var(--accent);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-gold);
    animation: slideUpFade 0.32s ease;
}

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

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

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

.verif-candidate-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #FDE68A;
}

.verif-candidate-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.1rem;
    background: rgba(0, 0, 0, 0.32);
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-item small {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.meta-item strong, .meta-item a {
    font-size: 0.95rem;
    color: #fff;
    word-break: break-word;
}

.meta-item a {
    color: #F472B6;
    text-decoration: underline;
}

/* Instagram 3-Tasks Live Checklist */
.ig-checklist-box {
    background: rgba(236, 72, 153, 0.08);
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: 1.2rem;
}

.ig-checklist-box h4 {
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
    color: #FBCFE8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

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

.check-task-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    background: rgba(13, 11, 20, 0.75);
    border: 1px solid var(--border-color);
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
}

.check-task-card input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--emerald);
    cursor: pointer;
}

.check-task-card.checked {
    border-color: var(--emerald);
    background: rgba(16, 185, 129, 0.14);
}

.evidence-upload-row {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.evidence-preview-thumb {
    max-height: 64px;
    border-radius: 8px;
    border: 1px solid var(--emerald);
    display: none;
}

.verif-actions {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.btn-confirm-winner {
    flex: 1;
    min-width: 220px;
    padding: 0.9rem 1.4rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #059669, #10B981);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    transition: all 0.2s;
}

.btn-confirm-winner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.55);
}

.btn-throw-water {
    padding: 0.9rem 1.3rem;
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.5);
    background: rgba(6, 182, 212, 0.15);
    color: #67E8F9;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-throw-water:hover {
    background: rgba(6, 182, 212, 0.28);
}

/* Winners & Water History Grid */
.history-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

@media (max-width: 768px) {
    .history-columns {
        grid-template-columns: 1fr;
    }
}

.history-box {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.1rem;
}

.history-box h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 290px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: rgba(13, 11, 20, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}

.history-item.winner-card {
    border-left: 4px solid var(--accent);
    background: rgba(245, 158, 11, 0.08);
}

.history-item.water-card {
    border-left: 4px solid var(--cyan);
}

/* Right Column: Data Manager & Importers */
.side-manager-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.manager-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.35rem;
}

.manager-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.manager-card p.helper-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 0.85rem;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #CBD5E1;
    margin-bottom: 0.3rem;
}

.form-control {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: #0E0B16;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.86rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.file-drop-zone {
    border: 2px dashed rgba(167, 139, 250, 0.4);
    border-radius: 14px;
    padding: 1.1rem;
    text-align: center;
    background: rgba(124, 58, 237, 0.06);
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.85rem;
}

.file-drop-zone:hover {
    border-color: var(--secondary);
    background: rgba(236, 72, 153, 0.1);
}

.file-drop-zone input[type="file"] {
    display: none;
}

.btn-primary-sm, .btn-secondary-sm, .btn-danger-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.58rem 0.95rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.18s;
}

.btn-primary-sm {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.btn-secondary-sm {
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-danger-sm {
    background: rgba(239, 68, 68, 0.15);
    color: #FCA5A5;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Participants Table List in Side Panel */
.participants-scroll {
    max-height: 310px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    background: #0B0912;
}

.participant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
    gap: 0.5rem;
}

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

.participant-row .p-info strong {
    display: block;
    color: #F1F5F9;
}

.participant-row .p-info small {
    color: var(--text-muted);
    font-size: 0.73rem;
}

.p-badges {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-mini {
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
}

.badge-post1 { background: rgba(124, 58, 237, 0.25); color: #C4B5FD; }
.badge-post2 { background: rgba(236, 72, 153, 0.25); color: #F9A8D4; }
.badge-tickets { background: rgba(245, 158, 11, 0.22); color: #FDE68A; }

/* Sub-tabs inside Instagram Importer (Post 1 vs Post 2) */
.sub-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.sub-tab {
    flex: 1;
    padding: 0.5rem;
    border-radius: 9px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

.sub-tab.active {
    background: rgba(236, 72, 153, 0.2);
    border-color: var(--secondary);
    color: #fff;
}

/* Toast notification */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.toast-msg {
    background: #1E1830;
    border-left: 4px solid var(--primary);
    color: #fff;
    padding: 0.85rem 1.2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    font-size: 0.86rem;
    font-weight: 600;
}
