/* ============================================
   MLP TCG Class — Kayou-style Light Theme v4
   ============================================ */

:root {
    /* Primary Colors — inspired by Kayou */
    --yellow: #FFDE33;
    --yellow-dark: #F5C518;
    --yellow-light: #FFF9DB;
    
    --pink: #FF4D8D;
    --pink-hover: #E63C7A;
    --pink-light: #FFE4EE;
    
    --purple: #B18CFE;
    --purple-light: #EEE6FF;
    
    /* Neutrals */
    --bg: #F5F6FA;
    --white: #FFFFFF;
    --border: #E5E7EB;
    --text: #1F2937;
    --text-muted: #6B7280;
    --text-dim: #9CA3AF;
    --text-faint: #D1D5DB;
    
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: url('../images/background.webp');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat; /* Cegah gambar berulang saat zoom out */
    background-size: cover;       /* Paksa gambar selalu menutupi seluruh viewport */    
    color: var(--text);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* ─── Background (subtle pattern optional) ─── */
.bg-overlay {
    display: none; /* No dark overlay, clean look */
}

/* ═══════════════════════════════════════════
   HOMEPAGE — Event List (Kayou Style)
   ═══════════════════════════════════════════ */

/* Container padding */
.container {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 16px 100px;
    min-height: 100vh;
    background: var(--white);
}


/* ═══ Back Button dengan Text Wrap ═══ */
.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    min-height: 40px;
    max-width: 140px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.72em;
    font-weight: 600;
    line-height: 1.25;
    transition: all 0.2s;
    text-align: left;
    flex-shrink: 0;
}

.nav-back:hover {
    background: var(--yellow-light);
    border-color: var(--yellow);
    color: var(--text);
}

.nav-back i {
    font-size: 1.1em;
    flex-shrink: 0;
}

.nav-back-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: normal;
    line-height: 1.2;
}

.nav-back-placeholder {
    width: 40px;
    height: 40px;
}

/* ═══ Top-nav grid — kolom pertama auto tapi max 140px ═══ */


/* Mobile — text lebih kecil biar muat */
@media (max-width: 480px) {
    .nav-back {
        max-width: 110px;
        padding: 6px 10px;
        font-size: 0.68em;
        gap: 6px;
    }
    
    .nav-back i {
        font-size: 1em;
    }
    
  
}

/* Extra small — text lebih dipendekkan lagi */
@media (max-width: 360px) {
    .nav-back {
        max-width: 90px;
        font-size: 0.65em;
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.nav-brand img {
    max-height: 44px;
    max-width: 200px;
    object-fit: contain;
}

.nav-brand-text {
    font-size: 1.05em;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
    text-align: center;
}

.nav-title {
    flex: 1;
    font-size: 1.05em;
    font-weight: 700;
    color: var(--text);
}

/* ─── Header (Home) ─── */
.header {
    text-align: left;
    padding: 20px 4px 24px;
}

.header h1 {
    font-size: 1.5em;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.header p {
    color: var(--text-muted);
    font-size: 0.9em;
}

/* ═══════════════════════════════════════════
   FILTER TABS (Rapi & Modern)
   ═══════════════════════════════════════════ */

.filter-tabs {
    display: flex;
    gap: 4px;
    background: #F3F4F6;
    border: none;
    border-radius: 30px;
    padding: 4px;
    margin: 12px 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar { 
    display: none; 
}

.filter-tab {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.86em;
    font-weight: 600;
    color: #6B7280;
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    position: relative;
}

.filter-tab:hover:not(.active) {
    color: var(--text);
    background: rgba(0,0,0,0.03);
}

.filter-tab.active {
    background: var(--white);
    color: var(--purple);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ─── Section Title ─── */
.section-title {
    font-size: 0.85em;
    font-weight: 700;
    color: #6B7280;
    margin: 4px 0 12px;
    padding: 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 8px;
}


/* ═══════════════════════════════════════════
   EVENT CARD LIST
   ═══════════════════════════════════════════ */

.event-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-card {
    display: flex;
    gap: 14px;
    background: var(--white);
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 14px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-color: var(--yellow);
    transform: translateY(-1px);
}

.event-logo {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: 800;
    font-size: 1.3em;
    color: var(--text);
    letter-spacing: 1px;
    flex-shrink: 0;
}

.event-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.event-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.event-title {
    font-size: 0.98em;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.event-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78em;
    color: var(--text-muted);
    line-height: 1.4;
}

.event-meta-row i {
    color: #9CA3AF;
    width: 12px;
    text-align: center;
    font-size: 0.85em;
    flex-shrink: 0;
}

.event-meta-row span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.event-fee {
    font-weight: 600;
    color: var(--success);
}

.event-fee.paid {
    color: var(--pink);
}

.event-tags-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #F3F4F6;
}

.event-type-list {
    font-size: 0.72em;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    line-height: 1.4;
}

.event-status-open {
    font-size: 0.72em;
    font-weight: 700;
    color: var(--pink);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════ */

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 12px;
    color: #D1D5DB;
    display: block;
}

.empty-state p {
    font-size: 0.9em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.no-more {
    text-align: center;
    padding: 24px 20px 8px;
    color: #D1D5DB;
    font-size: 0.78em;
}


/* ─── Register Page — Sections ─── */
.section {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.section-icon {
    width: 32px;
    height: 32px;
    background: var(--yellow-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-dark);
    font-size: 0.9em;
}

.section-header h2 {
    flex: 1;
    font-size: 1em;
    font-weight: 700;
    color: var(--text);
}

/* ─── Form Fields ─── */
.field {
    margin-bottom: 14px;
}

.field:last-child { margin-bottom: 0; }

.field label {
    display: block;
    font-size: 0.72em;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.req {
    color: var(--danger);
    font-weight: 700;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.7em;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}

.field input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px var(--pink-light);
}

.field input::placeholder {
    color: var(--text-dim);
}

.field-err {
    color: var(--danger);
    font-size: 0.78em;
    margin-top: 4px;
    display: none;
    font-weight: 500;
}

.field-err.show { display: block; }

/* ─── Event Info Card ─── */
.event-info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
}

.event-info-top {
    display: flex;
    gap: 14px;
    padding: 5px;
    background: linear-gradient(135deg, var(--yellow-light), #FFF);
    border-bottom: 1px solid var(--border);
}

.event-info-logo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: 800;
    color: var(--text);
}

.event-info-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.event-info-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.event-info-title h1 {
    font-size: 1.15em;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin-bottom: 4px;
}

.event-info-title .subtitle {
    font-size: 0.8em;
    color: var(--text-muted);
}

.event-info-details {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85em;
    line-height: 1.5;
}

.detail-item i {
    color: var(--text-muted);
    width: 16px;
    min-width: 16px;
    text-align: center;
    font-size: 0.9em;
    margin-top: 3px;
}

.detail-label {
    color: var(--text-muted);
    min-width: 100px;
    width: 100px;
    flex-shrink: 0;
    font-size: 0.92em;
}

.detail-value {
    flex: 1;
    color: var(--text);
    font-weight: 500;
    word-break: break-word;
}


.detail-value.strong {
    font-weight: 700;
}

.detail-value.fee-free { color: var(--success); font-weight: 700; }
.detail-value.fee-paid { color: var(--pink); font-weight: 700; }

/* Event type badges (di detail card) */
.type-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72em;
    font-weight: 600;
    background: var(--yellow-light);
    color: var(--yellow-dark);
    border: 1px solid var(--yellow);
}

.type-badge.dynamic {
    background: transparent;
    border-width: 1.5px;
}

/* Area chips */
.area-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.area-chip {
    padding: 3px 10px;
    background: var(--purple-light);
    color: var(--purple);
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: 600;
}

/* ─── Session List ─── */
.area-group {
    margin-bottom: 16px;
}

.area-group:last-child {
    margin-bottom: 0;
}

.area-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78em;
    font-weight: 700;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-left: 2px;
}

.area-heading::before {
    content: '';
    width: 3px;
    height: 14px;
    background: var(--purple);
    border-radius: 2px;
}

.session-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ses-item {
    position: relative;
}

.ses-item input[type="radio"] {
    display: none;
}

.ses-label {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    align-items: flex-start;
}

.ses-label:hover {
    border-color: var(--pink);
    background: #FFFCFD;
}

.ses-item input:checked + .ses-label {
    border-color: var(--pink);
    background: var(--pink-light);
    box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.1);
}

.ses-radio {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    position: relative;
    margin-top: 2px;
    transition: all 0.2s;
}

.ses-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--white);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s;
}

.ses-item input:checked + .ses-label .ses-radio {
    border-color: var(--pink);
    background: var(--pink);
}

.ses-item input:checked + .ses-label .ses-radio::after {
    transform: translate(-50%, -50%) scale(1);
}

.ses-detail {
    flex: 1;
    min-width: 0;
}

.ses-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.ses-name {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text);
}

.ses-time {
    font-size: 1.25em;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}

.ses-slot-row {
    font-size: 0.78em;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.slot-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.92em;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: all 0.3s;
}

.slot-badge.ok {
    background: #DCFCE7;
    color: #166534;
    border: 1px solid #86EFAC;
}

.slot-badge.low {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FCD34D;
}

.slot-badge.full {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.slot-badge.updating {
    animation: pulseSlot 0.6s ease;
}

@keyframes pulseSlot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.ses-date-row {
    font-size: 0.75em;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ses-date-row i {
    font-size: 0.85em;
}

/* Onsite / Disabled Session */
.ses-item.onsite-only .ses-label {
    background: #FAFAFA;
    cursor: not-allowed;
    border-style: dashed;
}

.ses-item.onsite-only .ses-label:hover {
    border-color: var(--border);
    background: #FAFAFA;
}

.onsite-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--purple);
    color: var(--white);
    border-radius: 4px;
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-left: 6px;
}

.ses-item.disabled .ses-label {
    opacity: 0.5;
    cursor: not-allowed;
}

.ses-item.disabled .ses-label:hover {
    border-color: var(--border);
    background: var(--white);
}

/* ─── Submit Button ─── */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--pink);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1em;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    box-shadow: 0 4px 14px rgba(255, 77, 141, 0.3);
}

.btn-submit:hover:not(:disabled) {
    background: var(--pink-hover);
    box-shadow: 0 6px 20px rgba(255, 77, 141, 0.4);
    transform: translateY(-1px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--text-dim);
    box-shadow: none;
}

.btn-submit.outline {
    background: var(--white);
    color: var(--text);
    border: 1.5px solid var(--border);
    box-shadow: none;
    margin-top: 12px;
}

.btn-submit.outline:hover:not(:disabled) {
    background: var(--yellow-light);
    border-color: var(--yellow);
    color: var(--text);
    box-shadow: none;
    transform: none;
}

/* ─── Success Card ─── */
.check-wrap {
    text-align: center;
    padding: 8px 0;
}

.check-icon {
    width: 64px;
    height: 64px;
    background: var(--success);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
    margin-bottom: 12px;
    animation: pop 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

@keyframes pop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.check-wrap h2 {
    font-size: 1.2em;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
}

.check-wrap p {
    color: var(--text-muted);
    font-size: 0.88em;
}

.summary {
    margin: 16px 0;
    background: var(--bg);
    border-radius: 10px;
    overflow: hidden;
}

.sum-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 0.85em;
    border-bottom: 1px solid var(--border);
}

.sum-row:last-child { border-bottom: none; }
.sum-row span { color: var(--text-muted); }
.sum-row strong { text-align: right; max-width: 60%; word-break: break-word; color: var(--text); }

/* QR Code */
.qr-display {
    text-align: center;
    margin: 16px 0;
    padding: 20px;
    background: var(--white);
    border: 2px dashed var(--pink);
    border-radius: 14px;
}

.qr-label {
    font-size: 0.72em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pink);
    margin-bottom: 12px;
}

.qr-image {
    display: inline-block;
    padding: 8px;
    background: var(--white);
    border-radius: 8px;
}

.qr-code-text {
    margin-top: 10px;
    font-size: 0.9em;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 2px;
    font-family: monospace;
}

.qr-note {
    margin-top: 6px;
    font-size: 0.75em;
    color: var(--text-muted);
}

/* Notice */
.notice {
    background: var(--yellow-light);
    border: 1.5px solid var(--yellow);
    border-radius: 10px;
    padding: 14px 16px;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #92400E;
    font-size: 0.88em;
    font-weight: 700;
}

.notice p {
    font-size: 0.82em;
    color: #78350F;
    line-height: 1.6;
}

/* ─── Modal ─── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    background: var(--white);
    border-radius: 16px;
    padding: 28px 24px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    animation: modalPop 0.3s ease;
    box-shadow: var(--shadow-lg);
}

@keyframes modalPop {
    0% { opacity: 0; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

.modal-icon {
    font-size: 44px;
    color: var(--danger);
    margin-bottom: 12px;
}

.modal-box h3 {
    font-size: 1.1em;
    color: var(--text);
    margin-bottom: 6px;
    font-weight: 800;
}

.modal-box p {
    color: var(--text-muted);
    font-size: 0.88em;
    line-height: 1.5;
}

/* ─── Loading & Spinner ─── */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.85em;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid var(--border);
    border-top-color: var(--pink);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.spinner-s {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Toast ─── */
.toast {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.88em;
    font-weight: 600;
    z-index: 99999;
    animation: toastIn 0.3s ease;
    max-width: 90vw;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.toast.error {
    background: var(--danger);
    color: var(--white);
}

.toast.success {
    background: var(--success);
    color: var(--white);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
    text-align: center;
    padding: 24px 0 12px;
    color: #D1D5DB;
    font-size: 0.72em;
}


/* ─── Gallery ─── */
.gallery-section {
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* ═══════════════════════════════════════════
   LIGHTBOX (dengan Next/Prev Navigation)
   ═══════════════════════════════════════════ */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 60px 20px 80px;
    animation: fadeIn 0.2s ease;
}

.lightbox.show {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    cursor: zoom-out;
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.15s ease;
    user-select: none;
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: rgba(239, 68, 68, 0.8);
    transform: scale(1.1);
}

/* Nav Buttons (Prev/Next) */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Counter */
.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    z-index: 10;
    backdrop-filter: blur(10px);
}

/* Hint */
.lightbox-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    font-size: 0.72em;
    z-index: 10;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.lightbox-hint .mobile-only {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile */
@media (max-width: 768px) {
    .lightbox {
        padding: 50px 10px 70px;
    }
    
    .lightbox img {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        top: 12px;
        right: 12px;
        font-size: 18px;
    }
    
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-counter {
        font-size: 0.78em;
        padding: 6px 12px;
        top: 12px;
    }
    
    .lightbox-hint {
        font-size: 0.68em;
        gap: 10px;
        padding: 6px 12px;
        bottom: 12px;
    }
    
    .lightbox-hint .mobile-only {
        display: inline;
    }
    
    /* Hide keyboard hint di mobile */
    .lightbox-hint span:nth-child(1),
    .lightbox-hint span:nth-child(2) {
        display: none;
    }
}

/* ─── Utility ─── */
.hidden { display: none !important; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 480px) {
    .container { 
        padding: 0 12px 80px; 
    }
    .top-nav {
        padding: 12px 4px;
        min-height: 64px;
    }
    .nav-brand img {
        max-height: 40px;
        max-width: 160px;
    }
    .nav-brand-text {
        font-size: 0.95em;
    }
    .filter-tab {
        padding: 7px 14px;
        font-size: 0.82em;
    }
    .home-desc {
        font-size: 0.8em;
        padding: 4px 12px 12px;
    }
    .section-title {
        font-size: 0.78em;
    }
    .event-card {
        padding: 12px;
        gap: 12px;
    }
    .event-logo {
        width: 88px;
        height: 88px;
        min-width: 88px;
        font-size: 1.1em;
    }
    .event-title {
        font-size: 0.92em;
    }
    .event-meta-row {
        font-size: 0.75em;
    }
    .event-type-list {
        font-size: 0.68em;
    }
    .event-status-open {
        font-size: 0.5em;
    }
    .sold-out-banner,
    .live-badge {
        top: 8px;
        right: 8px;
        padding: 3px 8px;
        font-size: 0.6em;
    }
}

/* ─── Expired Session ─── */
.ses-item.expired .ses-label {
    background: #F3F4F6;
    cursor: not-allowed;
    opacity: 0.7;
    border-style: solid;
    border-color: #E5E7EB;
}

.ses-item.expired .ses-label:hover {
    border-color: #E5E7EB;
    background: #F3F4F6;
    box-shadow: none;
}

.ses-item.expired .ses-name {
    color: #6B7280;
    text-decoration: line-through;
    text-decoration-color: #9CA3AF;
}

.ses-item.expired .ses-time,
.ses-item.expired .ses-date-row {
    color: #9CA3AF;
}

.expired-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #6B7280;
    color: white;
    border-radius: 4px;
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-left: 6px;
}

/* ─── Date Divider (Session Grouping) ─── */
.date-group {
    margin-bottom: 24px;
}

.date-group:last-child {
    margin-bottom: 0;
}

.date-divider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--yellow-light), #FFF9F0);
    border-radius: 10px;
    margin-bottom: 12px;
    border-left: 4px solid var(--pink);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.date-divider-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.date-day-name {
    font-size: 0.72em;
    font-weight: 700;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.date-full {
    font-size: 1em;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.2px;
}

.date-divider-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-info {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75em;
    font-weight: 600;
    color: var(--text-muted);
    padding: 3px 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
}

.date-info i {
    font-size: 0.85em;
    color: var(--pink);
}

/* ─── Area heading dalam date group ─── */
.date-group .area-heading {
    margin-top: 12px;
    margin-bottom: 6px;
    padding-left: 12px;
    font-size: 0.75em;
    font-weight: 700;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.date-group .area-heading::before {
    content: '';
    width: 3px;
    height: 12px;
    background: var(--purple);
    border-radius: 2px;
    margin-right: 6px;
    margin-left: -12px;
}

/* Session item — area tag */
.ses-area-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72em;
    color: var(--purple);
    font-weight: 600;
    margin-bottom: 4px;
}

.ses-area-tag i { font-size: 0.85em; }

/* Bottom row (slot badge / onsite info) */
.ses-bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 4px;
}

/* Hilangkan old ses-slot-row & ses-date-row styling karena sudah di-restructure */
.ses-slot-row,
.ses-date-row { display: none; }

/* Mobile */
@media (max-width: 480px) {
    .date-divider {
        padding: 10px 12px;
    }
    .date-full {
        font-size: 0.92em;
    }
    .date-divider-right {
        gap: 6px;
    }
    .date-info {
        font-size: 0.7em;
        padding: 2px 6px;
    }
}


/* ═══════════════════════════════════════════
   SHARED HEADER (Konsisten di semua halaman)
   ═══════════════════════════════════════════ */

/* Update top-nav grid — kolom pertama jadi auto */
/* ═══ Top Nav — Logo Center Absolut ═══ */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 8px;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 130px;
    border-bottom: 1px solid #F3F4F6;
    margin-bottom: 4px;
    gap: 12px;
}

/* Back button di kiri */
.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    min-height: 52px;
    max-width: 165px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1.3;
    transition: all 0.2s;
    text-align: left;
    flex-shrink: 0;
    z-index: 2;
}

.nav-back:hover {
    background: var(--yellow-light);
    border-color: var(--yellow);
    color: var(--text);
}

.nav-back i {
    font-size: 1em;
    flex-shrink: 0;
}

.nav-back-text {
    line-height: 1.3;
    word-break: normal;
}

.nav-back-placeholder {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

/* Logo di TENGAH ABSOLUT — tidak terganggu oleh back button */
.nav-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none; /* biar tidak ganggu back button */
}

.nav-brand img {
    max-height: 100px;
    max-width: 200px;
    object-fit: contain;
    pointer-events: auto;
}

.nav-brand-text {
    font-size: 1.15em;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.3px;
    text-align: center;
    pointer-events: auto;
}

/* Mobile */
@media (max-width: 480px) {
    .nav-back {
        max-width: 135px;
        padding: 8px 10px;
        font-size: 0.7em;
        min-height: 48px;
    }
    
    .top-nav {
        padding: 10px 6px;
        min-height: 68px;
        gap: 8px;
    }
    
    .nav-brand img {
        max-height: 48px;
        max-width: 160px;
    }
}

.nav-back-placeholder {
    width: 40px;
    height: 40px;
}




/* ═══════════════════════════════════════════
   FILTER TABS
   ═══════════════════════════════════════════ */

.filter-tabs {
    display: flex;
    gap: 4px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 30px;
    padding: 4px;
    margin: 4px 0 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar { 
    display: none; 
}

.filter-tab {
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.65em;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.filter-tab:hover:not(.active) {
    background: rgba(0,0,0,0.03);
    color: var(--text);
}

.filter-tab.active {
    background: var(--purple);
    color: var(--white);
}

/* Live indicator dot */
.live-dot {
    width: 8px;
    height: 8px;
    background: #EF4444;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
    display: inline-block;
    flex-shrink: 0;
}

.filter-tab.active .live-dot {
    background: #EF4444;
}

@keyframes livePulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1; 
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.7; 
    }
}

/* Tab count badge */
.tab-count {
    background: rgba(0,0,0,0.08);
    color: var(--text-muted);
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.72em;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.filter-tab.active .tab-count {
    background: rgba(124, 58, 237, 0.15);
    color: var(--purple);
}

/* Home Description */
.home-desc {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85em;
    padding: 4px 20px 12px;
    line-height: 1.5;
}

/* Hide old headers */
.header,
.top-nav-home,
.home-logo,
.home-title-text {
    display: none !important;
}

/* Nav title text (kalau tidak pakai logo) */
.nav-title {
    text-align: center;
    font-size: 1.05em;
    font-weight: 700;
    color: var(--text);
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    max-height: 60px;
    max-width: 220px;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 480px) {
    .top-nav {
        padding: 10px 4px;
        min-height: 64px;
    }
    .nav-brand img {
        max-height: 70px;
        max-width: 180px;
    }
    .nav-brand-text {
        font-size: 1em;
    }
    .filter-tab {
        padding: 7px 6px;
        font-size: 0.52em;
    }
    .home-desc {
        font-size: 0.6em;
    }
}


/* Live Event */
.event-card.live-event {
    border-color: #FCA5A5;
    background: linear-gradient(135deg, #FFFFFF, #FEF2F2);
    position: relative;
}

.event-card.live-event:hover {
    border-color: #EF4444;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
}

.live-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #EF4444;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.2em;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    z-index: 5;
    text-transform: uppercase;
}

.live-badge .live-dot {
    background: white;
    width: 6px;
    height: 6px;
}


/* ─── Area Heading Sub (di dalam date group) ─── */
.area-heading-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    margin: 12px 0 6px;
    background: rgba(124, 58, 237, 0.06);
    border-left: 3px solid var(--purple);
    border-radius: 6px;
    font-size: 0.78em;
    font-weight: 700;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.area-heading-sub i {
    font-size: 0.85em;
    color: var(--purple);
}

.area-heading-sub:first-child {
    margin-top: 0;
}

/* Hilangkan area heading lama */
.area-heading { display: none; }
.ses-area-tag { display: none !important; }

/* ─── Card Option (Bawa sendiri / Disediakan) ─── */
.card-option-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.card-opt {
    position: relative;
    cursor: pointer;
}

.card-opt input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.card-opt-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s;
}

.card-opt:hover .card-opt-content {
    border-color: var(--pink);
    background: #FFFCFD;
}

.card-opt input:checked ~ .card-opt-content {
    border-color: var(--pink);
    background: var(--pink-light);
    box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.1);
}

.card-opt-icon {
    width: 40px;
    height: 40px;
    background: var(--yellow-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow-dark);
    font-size: 1.1em;
    transition: all 0.2s;
}

.card-opt input:checked ~ .card-opt-content .card-opt-icon {
    background: var(--pink);
    color: var(--white);
}

.card-opt-title {
    font-size: 0.9em;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.card-opt-desc {
    font-size: 0.72em;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Mobile */
@media (max-width: 480px) {
    .card-option-group {
        grid-template-columns: 1fr;
    }
    .card-opt-content {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 12px;
    }
    .card-opt-detail {
        flex: 1;
    }
}

/* ═══════════════════════════════════════════
   EVENT CARD STATES (Sold Out, Live, etc.)
   ═══════════════════════════════════════════ */

/* Sold Out */
.event-card.sold-out {
    position: relative;
    background: linear-gradient(135deg, #FFFFFF, #FEF2F2);
    border-color: #FCA5A5;
    opacity: 0.85;
}

.event-card.sold-out:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    border-color: #F87171;
}

.event-card.sold-out::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        135deg,
        transparent 0px,
        transparent 12px,
        rgba(239, 68, 68, 0.03) 12px,
        rgba(239, 68, 68, 0.03) 24px
    );
    pointer-events: none;
    border-radius: 14px;
}

.sold-out-banner {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65em;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4);
    z-index: 5;
    text-transform: uppercase;
}

.sold-out-banner i {
    font-size: 0.85em;
}

.event-card.sold-out .event-logo {
    filter: grayscale(0.5);
}

.event-card.sold-out .event-title {
    color: var(--text-muted);
}



/* Responsive */
@media (max-width: 480px) {
    .sold-out-banner {
        top: 8px;
        right: 8px;
        padding: 4px 10px;
        font-size: 0.65em;
    }
    
    .event-card.sold-out .event-body::before {
        font-size: 1.8em;
        right: 10px;
    }
}


/* ─── Full Message Section ─── */
.full-message {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #FEF2F2, #FFF);
    border-color: #FCA5A5;
}

.full-icon {
    width: 72px;
    height: 72px;
    background: #FEE2E2;
    color: #EF4444;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 16px;
    animation: shake 0.6s ease;
}

.full-message h2 {
    font-size: 1.3em;
    color: var(--text);
    margin-bottom: 8px;
}

.full-message p {
    font-size: 0.95em;
    color: var(--text-muted);
    line-height: 1.6;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* ═══════════════════════════════════════════
   FORM DISABLED STATE (Quota Habis, In Progress, dll)
   ═══════════════════════════════════════════ */

.section.form-disabled {
    opacity: 0.75;
    position: relative;
    background: repeating-linear-gradient(
        135deg,
        var(--white) 0px,
        var(--white) 20px,
        #F9FAFB 20px,
        #F9FAFB 40px
    );
}

.section.form-disabled input,
.section.form-disabled label {
    cursor: not-allowed !important;
}

.section.form-disabled input:disabled {
    background: #F3F4F6;
    color: #9CA3AF;
    border-color: #E5E7EB;
}

.section.form-disabled input[type="radio"] {
    opacity: 0.5;
}

.section.form-disabled .card-opt-content {
    background: #F9FAFB;
    border-color: #E5E7EB;
    cursor: not-allowed;
    opacity: 0.7;
}

.section.form-disabled .card-opt-content:hover {
    border-color: #E5E7EB;
    background: #F9FAFB;
    box-shadow: none;
}

.section.form-disabled .card-opt-icon {
    background: #E5E7EB;
    color: #9CA3AF;
}

.section.form-disabled .ses-label {
    cursor: not-allowed;
    opacity: 0.6;
    background: #F9FAFB;
}

.section.form-disabled .ses-label:hover {
    border-color: var(--border);
    background: #F9FAFB;
    box-shadow: none;
}

.disabled-badge {
    background: #FEE2E2;
    color: #EF4444;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   STATUS BANNER (Quota Habis / In Progress / dll)
   ═══════════════════════════════════════════ */

.status-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: white;
    border: 2px solid;
    border-radius: 14px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    animation: bannerSlide 0.4s ease;
}

@keyframes bannerSlide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.banner-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.banner-content {
    flex: 1;
    min-width: 0;
}

.banner-title {
    font-size: 1.05em;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}

.banner-text {
    font-size: 0.88em;
    color: var(--text-muted);
    line-height: 1.5;
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 600;
    transition: opacity 0.2s;
}

.banner-btn:hover {
    opacity: 0.9;
}

/* Live indicator dalam banner */
.status-banner .banner-icon .fa-circle {
    animation: livePulse 1.5s ease-in-out infinite;
}

/* Mobile */
@media (max-width: 480px) {
    .status-banner {
        padding: 14px 16px;
        gap: 10px;
    }
    .banner-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 18px;
    }
    .banner-title { font-size: 0.95em; }
    .banner-text { font-size: 0.82em; }
}

.field-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.field-toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    transition: all 0.2s;
}

.field-toggle-item:hover {
    background: rgba(124,58,237,0.05);
    border-color: rgba(124,58,237,0.2);
}

.field-toggle-info {
    flex: 1;
    min-width: 0;
}

.field-toggle-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95em;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.field-toggle-desc {
    font-size: 0.82em;
    color: #94a3b8;
    padding-left: 26px;
}

.field-status-select {
    min-width: 180px;
}

.status-dropdown {
    padding: 8px 12px;
    font-size: 0.88em;
    font-weight: 600;
    cursor: pointer;
}

.info-box {
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 0.85em;
    color: #93c5fd;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.7;
}

.info-box i {
    color: #60a5fa;
    margin-top: 2px;
    font-size: 1.1em;
}

@media (max-width: 600px) {
    .field-toggle-item {
        flex-direction: column;
        align-items: stretch;
    }
    .field-status-select {
        min-width: 100%;
    }
}

/* Optional field tag */
.optional-tag {
    color: var(--text-dim);
    font-size: 0.78em;
    font-weight: 500;
    font-style: italic;
    margin-left: 4px;
}

/* Field hint */
.field-hint {
    display: block;
    font-size: 0.75em;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
}

/* ═══════════════════════════════════════════
   FORM ERROR STATES
   ═══════════════════════════════════════════ */

/* Field wrapper dengan error */
.field.has-error input[type="text"],
.field.has-error input[type="tel"],
.field.has-error input[type="email"] {
    border-color: #EF4444;
    background: #FEF2F2;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field.has-error input:focus {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.field.has-error label {
    color: #EF4444;
}

/* Card option group error */
.card-option-group.has-error {
    padding: 12px;
    border: 2px dashed #EF4444;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.03);
}

.card-option-group.has-error .card-opt-content {
    border-color: #FCA5A5;
}

/* Session list error */
.session-areas.has-error,
.session-list.has-error {
    padding: 12px;
    border: 2px dashed #EF4444;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.03);
    margin: 0;
}

/* Error message style */
.field-err {
    color: #EF4444;
    font-size: 0.8em;
    margin-top: 6px;
    display: none;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 4px;
}

.field-err.show {
    display: flex;
    animation: errorSlide 0.3s ease;
}

.field-err::before {
    content: '⚠';
    font-size: 1.1em;
}

@keyframes errorSlide {
    from { 
        opacity: 0; 
        transform: translateY(-4px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Shake animation untuk highlight */
.shake-error {
    animation: shakeError 0.5s ease;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-8px); }
    30% { transform: translateX(8px); }
    45% { transform: translateX(-6px); }
    60% { transform: translateX(6px); }
    75% { transform: translateX(-3px); }
    90% { transform: translateX(3px); }
}

/* Pulsing glow untuk field yang di-scroll */
.field.has-error input,
.card-option-group.has-error,
.session-areas.has-error,
.session-list.has-error {
    animation: errorPulse 1.5s ease-in-out infinite;
}

@keyframes errorPulse {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.05);
    }
}

/* Hilangkan pulse saat focus atau user mulai edit */
.field.has-error input:focus,
.card-option-group.has-error:hover,
.session-list.has-error:hover {
    animation: none;
}

/* ═══════════════════════════════════════════
   SUCCESS PAGE
   ═══════════════════════════════════════════ */

.check-wrap {
    text-align: center;
    padding: 8px 0 16px;
}

.check-icon {
    width: 72px;
    height: 72px;
    background: var(--success);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
    margin-bottom: 14px;
    animation: pop 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

@keyframes pop {
    0% { transform: scale(0); }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.check-wrap h2 {
    font-size: 1.3em;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

.check-wrap p {
    color: var(--text-muted);
    font-size: 0.88em;
    padding: 0 20px;
}

/* Summary Table */
.summary {
    margin: 16px 0;
    background: #F9FAFB;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.sum-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 16px;
    font-size: 0.88em;
    border-bottom: 1px solid #F3F4F6;
    gap: 12px;
}

.sum-row:last-child { border-bottom: none; }

.sum-row span:first-child { 
    color: var(--text-muted);
    flex-shrink: 0;
}

.sum-row strong {
    text-align: right;
    color: var(--text);
    word-break: break-word;
}

/* QR Code Display */
.qr-display {
    text-align: center;
    margin: 20px 0;
    padding: 24px 20px;
    background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
    border: 2px dashed var(--pink);
    border-radius: 16px;
}

.qr-label {
    font-size: 0.72em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pink);
    margin-bottom: 14px;
}

.qr-image {
    display: inline-block;
    padding: 12px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.qr-image img,
.qr-image canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.qr-code-text {
    margin-top: 14px;
    font-size: 1.1em;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
}

.qr-note {
    margin-top: 8px;
    font-size: 0.78em;
    color: var(--text-muted);
    font-style: italic;
}

/* Notice */
.notice {
    background: #FEF3C7;
    border: 1.5px solid #FCD34D;
    border-left: 4px solid #F59E0B;
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 16px;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #92400E;
    font-size: 0.85em;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.notice p {
    font-size: 0.85em;
    color: #78350F;
    line-height: 1.6;
    margin: 0;
}

.notice ul li {
    margin-bottom: 4px;
}

.notice ul li:last-child {
    margin-bottom: 0;
}

/* Print styles */
@media print {
    body { background: white !important; }
    .container { 
        max-width: 100% !important; 
        padding: 20px !important;
    }
    .top-nav, .footer { display: none !important; }
    .btn-submit { display: none !important; }
    .section { 
        border: 1px solid #ccc !important; 
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    .qr-display { break-inside: avoid; }
}

/* Banner Info (bukan error, cuma pemberitahuan) */
.status-banner.banner-info {
    border-style: solid;
}

.status-banner.banner-info .banner-icon .fa-circle {
    animation: livePulse 1.5s ease-in-out infinite;
}

/* ─── Event Type List (dengan icon per type) ─── */
.event-type-list {
    font-size: 0.72em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
    line-height: 1.4;
}

.event-type-list .type-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.event-type-list .type-item i {
    font-size: 0.95em;
    flex-shrink: 0;
}

.event-type-list .type-sep {
    color: #D1D5DB;
    margin: 0 2px;
    font-weight: 700;
}

/* ═══════════════════════════════════════════
   CUSTOM FIELDS
   ═══════════════════════════════════════════ */

/* Textarea */
.field textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.92em;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
    resize: vertical;
    min-height: 80px;
}

.field textarea:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px var(--pink-light);
}

/* Select */
.field select {
    width: 100%;
    padding: 12px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.92em;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' 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 14px center;
    background-size: 16px;
    padding-right: 40px;
}

.field select:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px var(--pink-light);
}

/* Number field */
.field input[type="number"] {
    width: 100%;
    padding: 12px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.92em;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}

.field input[type="number"]:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px var(--pink-light);
}

/* ═══ Radio Group — Layout Kompak (Flex Wrap) ═══ */
.cf-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cf-radio-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 0 1 auto;
    min-height: 38px;
}

.cf-radio-item:hover {
    border-color: var(--pink);
    background: #FFFCFD;
}

.cf-radio-item input[type="radio"] {
    display: none;
}



.cf-radio-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s;
}

.cf-radio-item input:checked + .cf-radio-dot {
    border-color: var(--pink);
    background: var(--pink);
}

.cf-radio-item input:checked + .cf-radio-dot::after {
    background: #FFFFFF;
    transform: translate(-50%, -50%) scale(1);
}

/* Hover effect di dot */
.cf-radio-item:hover .cf-radio-dot {
    border-color: var(--pink);
}


.cf-radio-item input:checked ~ .cf-radio-label {
    color: var(--pink);
    font-weight: 700;
}

.cf-radio-item:has(input:checked) {
    border-color: var(--pink);
    background: var(--pink-light);
}

.cf-radio-label {
    font-size: 0.88em;
    color: var(--text);
    transition: all 0.2s;
    white-space: nowrap;
}

/* ═══ Checkbox Group — juga jadi kompak ═══ */
.cf-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cf-checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 0 1 auto;
    min-height: 38px;
}

.cf-checkbox-item:hover {
    border-color: var(--pink);
    background: #FFFCFD;
}

.cf-checkbox-item input[type="checkbox"] {
    display: none;
}

.cf-checkbox-box {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 5px;
    border: 2px solid var(--border);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.65em;
    transition: all 0.2s;
}

.cf-checkbox-box i {
    opacity: 0;
    transition: opacity 0.2s;
}

.cf-checkbox-item input:checked + .cf-checkbox-box {
    border-color: var(--pink);
    background: var(--pink);
}

.cf-checkbox-item input:checked + .cf-checkbox-box i {
    opacity: 1;
}

.cf-checkbox-item input:checked ~ .cf-checkbox-label {
    color: var(--pink);
    font-weight: 700;
}

.cf-checkbox-item:has(input:checked) {
    border-color: var(--pink);
    background: var(--pink-light);
}

.cf-checkbox-label {
    font-size: 0.88em;
    color: var(--text);
    transition: all 0.2s;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 480px) {
    .cf-radio-item,
    .cf-checkbox-item {
        padding: 8px 12px;
    }
    .cf-radio-label,
    .cf-checkbox-label {
        font-size: 0.82em;
    }
}

/* Checkbox Group */
.cf-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cf-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.cf-checkbox-item:hover {
    border-color: var(--pink);
    background: #FFFCFD;
}

.cf-checkbox-item input[type="checkbox"] {
    display: none;
}

.cf-checkbox-box {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 6px;
    border: 2px solid var(--border);
    background: var(--white);
    position: relative;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.7em;
}

.cf-checkbox-box i {
    opacity: 0;
    transition: opacity 0.2s;
}

.cf-checkbox-item input:checked + .cf-checkbox-box {
    border-color: var(--pink);
    background: var(--pink);
}

.cf-checkbox-item input:checked + .cf-checkbox-box i {
    opacity: 1;
}

.cf-checkbox-item input:checked ~ .cf-checkbox-label {
    color: var(--pink);
    font-weight: 600;
}

.cf-checkbox-item:has(input:checked) {
    border-color: var(--pink);
    background: var(--pink-light);
}

.cf-checkbox-label {
    font-size: 0.9em;
    color: var(--text);
    transition: all 0.2s;
}

/* Disabled state */
.section.form-disabled .cf-radio-item,
.section.form-disabled .cf-checkbox-item {
    opacity: 0.6;
    cursor: not-allowed;
}

.section.form-disabled .cf-radio-item:hover,
.section.form-disabled .cf-checkbox-item:hover {
    border-color: var(--border);
    background: var(--white);
}

.section.form-disabled textarea,
.section.form-disabled select {
    background: #F3F4F6;
    color: #9CA3AF;
    cursor: not-allowed;
}

/* Error state */
.field.has-error .cf-radio-group,
.field.has-error .cf-checkbox-group {
    padding: 8px;
    border: 2px dashed #EF4444;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.03);
}

.field.has-error textarea,
.field.has-error select {
    border-color: #EF4444;
    background: #FEF2F2;
}

/* ─── Session Status Tags ─── */

/* Sesi sedang berlangsung */
.ses-item.ongoing .ses-label {
    background: #FEF2F2;
    cursor: not-allowed;
    border-color: #FCA5A5;
    border-style: solid;
}

.ses-item.ongoing .ses-label:hover {
    border-color: #FCA5A5;
    background: #FEF2F2;
    box-shadow: none;
}

.ses-item.ongoing .ses-name {
    color: var(--text-muted);
}

.ongoing-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #EF4444;
    color: white;
    border-radius: 4px;
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-left: 6px;
    animation: livePulse 1.5s ease-in-out infinite;
}

/* Sesi mau mulai (< 1 jam) */
/* ═══ Sesi Baru Mulai (Closing Soon) — MASIH BISA DIPILIH ═══ */
.ses-item.closing-soon .ses-label {
    background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
    border-color: #F59E0B;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ses-item.closing-soon .ses-label:hover {
    background: linear-gradient(135deg, #FDE68A 0%, #FEF3C7 100%);
    border-color: #F59E0B;
}

/* Pulse animation urgency */
.ses-item.closing-soon .ses-label::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
    animation: closingSoonPulse 1.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes closingSoonPulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.ses-item.closing-soon input:checked + .ses-label {
    background: var(--pink-light);
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.15);
}

.ses-item.closing-soon .ses-name {
    color: #78350F;
}

.closing-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #F59E0B;
    color: white;
    border-radius: 4px;
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-left: 6px;
    animation: pulseTag 1s ease-in-out infinite;
}

/* Text info untuk closing soon */
.ses-closing-text {
    color: #92400E;
    font-weight: 600;
    font-size: 0.75em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.5;
}

.ses-closing-text strong {
    color: #78350F;
    font-weight: 700;
}

.ses-closing-text i {
    animation: shakeHourglass 2s ease-in-out infinite;
}

.ses-item.closing-soon .ses-label:hover {
    border-color: #FCD34D;
    background: #FFFBEB;
    box-shadow: none;
}

.ses-item.closing-soon .ses-name {
    color: #92400E;
}

.closing-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #F59E0B;
    color: white;
    border-radius: 4px;
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-left: 6px;
}

/* ═══ ACCORDION ═══ */
.accordion-item {
    margin-bottom: 12px;
}

.accordion-header {
    width: 100%;
    text-align: left;
    cursor: pointer;
    border: none;
    font-family: inherit;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--yellow-light), #FFF9F0);
    border-radius: 10px;
    border-left: 4px solid var(--pink);
    transition: all 0.2s;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #FFF5DA, #FFEFC7);
}

.accordion-icon {
    color: var(--pink);
    font-size: 0.85em;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.accordion-item.expanded .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-top: 0;
}

.accordion-item.expanded .accordion-content {
    max-height: 3000px; /* cukup besar untuk konten */
    transition: max-height 0.5s ease-in;
    padding-top: 12px;
}

/* Accordion header (as button) reset */
.accordion-header {
    -webkit-tap-highlight-color: transparent;
}

.accordion-header:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--pink-light);
}

/* ═══ ACCORDION ═══ */
.accordion-item {
    margin-bottom: 12px;
}

.accordion-header {
    width: 100%;
    text-align: left;
    cursor: pointer;
    border: none;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--yellow-light), #FFF9F0);
    border-radius: 10px;
    border-left: 4px solid var(--pink);
    transition: all 0.2s;
    color: inherit;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #FFF5DA, #FFEFC7);
}

.accordion-icon {
    color: var(--pink);
    font-size: 0.85em;
    transition: transform 0.3s ease;
    margin-left: 4px;
}

.accordion-item.expanded .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-top: 0;
}

.accordion-item.expanded .accordion-content {
    max-height: 3000px;
    transition: max-height 0.5s ease-in;
    padding-top: 12px;
}

.accordion-header:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--pink-light);
}

/* ═══ Back Button — Text Wrap 2 Lines ═══ */
.nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    min-height: 52px;
    max-width: 165px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1.3;
    transition: all 0.2s;
    text-align: left;
    flex-shrink: 0;
}

.nav-back:hover {
    background: var(--yellow-light);
    border-color: var(--yellow);
    color: var(--text);
}

.nav-back i {
    font-size: 1em;
    flex-shrink: 0;
}

.nav-back-text {
    line-height: 1.3;
    /* Hilangkan line-clamp - biarkan wrap naturally */
    word-break: normal;
    overflow-wrap: break-word;
}

.nav-back-placeholder {
    width: 40px;
    height: 40px;
}



/* Mobile */
@media (max-width: 480px) {
    .nav-back {
        max-width: 135px;
        padding: 8px 10px;
        font-size: 0.7em;
        min-height: 48px;
    }
    
    .nav-back i {
        font-size: 0.95em;
    }
    
    .top-nav {
        padding: 10px 6px;
        gap: 8px;
        min-height: 68px;
    }
}

/* ═══ MULTI PARTICIPANT ═══ */
.participants-wrapper {
    background: #FAFAFA;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px;
}

.participant-row {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.2s;
    animation: slideIn 0.3s ease;
}

.participant-row:hover {
    border-color: var(--pink);
}

.participant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.participant-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: var(--pink-light);
    color: var(--pink);
    border-radius: 12px;
    font-size: 0.52em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-remove-participant {
    width: 24px;
    height: 24px;
    padding: 0;
    background: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    transition: all 0.2s;
}

.btn-remove-participant:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.1);
}

.participant-input {
    width: 100%;
    padding: 10px 12px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.92em;
    font-family: inherit;
    outline: none;
    transition: all 0.2s;
}

.participant-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px var(--pink-light);
}

.participant-input.error {
    border-color: var(--danger);
    background: #FEF2F2;
}

.participant-err {
    color: var(--danger);
    font-size: 0.78em;
    margin-top: 4px;
    display: none;
}

.participant-err.show {
    display: block;
}

.btn-add-participant {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px dashed var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-participant:hover:not(:disabled) {
    border-color: var(--pink);
    color: var(--pink);
    background: var(--pink-light);
}

.btn-add-participant:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.participant-count {
    text-align: right;
    font-size: 0.78em;
    color: var(--text-muted);
    margin-top: 6px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ═══ MULTI PARTICIPANT — Success Page ═══ */
.participants-qr-section {
    margin: 20px 0;
    padding: 20px;
    background: #FEF7F2;
    border: 2px dashed var(--pink);
    border-radius: 14px;
}

.qr-section-title {
    text-align: center;
    color: var(--pink);
    font-size: 1em;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.participant-count-badge {
    background: var(--pink);
    color: white;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 700;
}

.participant-qr-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.participant-qr-card:last-child {
    margin-bottom: 0;
}

.participant-title {
    font-size: 0.9em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.participant-title .participant-num {
    display: inline-block;
    padding: 3px 10px;
    background: var(--pink-light);
    color: var(--pink);
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 700;
    margin-right: 6px;
}

.participant-title strong {
    color: var(--text);
    font-size: 1.05em;
    display: block;
    margin-top: 4px;
}

.qr-image-wrap {
    display: inline-block;
    padding: 12px;
    background: white;
    border-radius: 10px;
}

/* ═══ Participant Row (Enhanced) ═══ */
.participant-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.participant-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.participant-sublabel {
    font-size: 0.75em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 2px;
}

/* ═══ Age Chip Group ═══ */
.age-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.age-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 0 1 auto;
    font-size: 0.8em;
    font-weight: 600;
    color: var(--text-muted);
}

.age-chip:hover {
    border-color: var(--pink);
    background: #FFFCFD;
    color: var(--text);
}

.age-chip input[type="radio"] {
    display: none;
}

.age-chip:has(input:checked) {
    border-color: var(--pink);
    background: var(--pink);
    color: white;
}

.age-chip span {
    white-space: nowrap;
    line-height: 1;
}

/* ═══ WA Owner Chip Group ═══ */
.wa-owner-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wa-owner-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 0 1 auto;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--text);
    gap: 6px;
}

.wa-owner-chip:hover {
    border-color: var(--pink);
    background: #FFFCFD;
}

.wa-owner-chip input[type="radio"] {
    display: none;
}

.wa-owner-chip:has(input:checked) {
    border-color: var(--pink);
    background: var(--pink-light);
    color: var(--pink);
}

.wa-owner-chip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    line-height: 1;
}

.wa-owner-chip i {
    font-size: 0.9em;
}

/* ═══ CANCELLED EVENT ═══ */
.event-card.cancelled-event {
    background: linear-gradient(135deg, #FFFFFF, #FEF2F2);
    border-color: #FCA5A5;
    opacity: 0.75;
    position: relative;
}

.event-card.cancelled-event .event-logo {
    filter: grayscale(1);
}

.event-card.cancelled-event .event-title {
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.4);
}

.cancelled-banner {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #EF4444;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.68em;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4);
    z-index: 5;
    text-transform: uppercase;
}

/* Diagonal strike-through overlay */
.event-card.cancelled-event::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        135deg,
        transparent 0px,
        transparent 20px,
        rgba(239, 68, 68, 0.05) 20px,
        rgba(239, 68, 68, 0.05) 30px
    );
    pointer-events: none;
    border-radius: var(--radius);
}

/* ═══ POSTPONED EVENT ═══ */
.event-card.postponed-event {
    background: linear-gradient(135deg, #FFFFFF, #FFFBEB);
    border-color: #FCD34D;
    opacity: 0.85;
}

.postponed-banner {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #F59E0B;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.68em;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
    z-index: 5;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE OVERRIDES
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        max-width: 100%;
        padding: 0 10px 60px;
    }
    
    /* Header lebih compact */
    .top-nav {
        padding: 10px 6px;
        min-height: 60px;
        gap: 8px;
    }
    
    .nav-back {
        max-width: 120px;
        padding: 6px 10px;
        min-height: 44px;
        font-size: 0.68em;
    }
    
    .nav-brand img {
        max-height: 40px;
        max-width: 140px;
    }
    
    .nav-brand-text {
        font-size: 0.8em;
    }
    
    /* Filter tabs */
    .filter-tabs {
        padding: 3px;
        margin: 8px 0 16px;
    }
    
    .filter-tab {
        padding: 6px 12px;
        font-size: 0.78em;
    }
    
    /* Section title */
    .section-title {
        font-size: 0.85em;
        margin: 12px 0 10px;
    }
    
    /* Section card */
    .section {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 12px;
    }
    
    .section-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    .section-header h2 {
        font-size: 1em;
    }
    
    .section-icon {
        width: 28px;
        height: 28px;
        font-size: 0.85em;
    }
    
    /* Event card */
    .event-card {
        padding: 12px;
        gap: 12px;
        border-radius: 12px;
    }
    
    .event-logo {
        width: 80px;
        height: 80px;
        min-width: 80px;
        font-size: 1em;
    }
    
    .event-title {
        font-size: 0.92em;
        line-height: 1.3;
    }
    
    .event-meta-row {
        font-size: 0.75em;
        gap: 5px;
    }
    
    .event-meta-row i {
        font-size: 0.8em;
    }
    
    .event-type-list {
        font-size: 0.68em;
    }
    
    .event-status-open {
        font-size: 0.68em;
    }
    
    /* Event info card */
    .event-info-card {
        margin-bottom: 12px;
    }
    
    .event-info-top {
        padding: 14px;
        gap: 12px;
    }
    
    .event-info-logo {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }
    
    .event-info-title h1 {
        font-size: 1em;
        line-height: 1.3;
    }
    
    .event-info-title .subtitle {
        font-size: 0.75em;
    }
    
    .event-info-details {
        padding: 12px 14px;
        gap: 8px;
    }
    
    .detail-item {
        font-size: 0.82em;
        gap: 8px;
    }
    
    .detail-label {
        min-width: 70px;
        font-size: 0.9em;
    }
    
    .detail-value {
        font-size: 0.95em;
    }
    
    /* Form fields */
    .field {
        margin-bottom: 12px;
    }
    
    .field label {
        font-size: 0.8em;
    }
    
    .field input[type="text"],
    .field input[type="tel"],
    .field input[type="email"],
    .field input[type="number"],
    .field textarea,
    .field select {
        padding: 10px 12px;
        font-size: 0.88em;
    }
    
    /* Participants */
    .participants-wrapper {
        padding: 12px;
    }
    
    .participant-row {
        padding: 10px 12px;
        margin-bottom: 8px;
    }
    
    .participant-badge {
        font-size: 0.7em;
        padding: 2px 8px;
    }
    
    /* Card options */
    .card-option-group {
        gap: 8px;
    }
    
    .card-opt-content {
        padding: 12px 8px;
    }
    
    .card-opt-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9em;
    }
    
    .card-opt-title {
        font-size: 0.82em;
    }
    
    .card-opt-desc {
        font-size: 0.68em;
    }
    
    /* Session list */
    .date-divider {
        padding: 10px 12px;
    }
    
    .date-day-name {
        font-size: 0.65em;
    }
    
    .date-full {
        font-size: 0.88em;
    }
    
    .date-info {
        font-size: 0.68em;
        padding: 2px 6px;
    }
    
    .ses-label {
        padding: 12px 14px;
    }
    
    .ses-name {
        font-size: 0.9em;
    }
    
    .ses-time {
        font-size: 0.8em;
    }
    
    .slot-badge {
        font-size: 0.68em;
        padding: 3px 10px;
    }
    
    .area-heading-sub {
        padding: 6px 10px;
        font-size: 0.72em;
    }
    
    /* Submit button */
    .btn-submit {
        padding: 12px;
        font-size: 0.9em;
    }
    
    /* Banner status */
    .status-banner {
        padding: 14px 16px;
        gap: 10px;
    }
    
    .banner-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .banner-title {
        font-size: 0.95em;
    }
    
    .banner-text {
        font-size: 0.8em;
    }
    
    /* Age & WA chips */
    .age-chip,
    .wa-owner-chip {
        padding: 6px 12px;
        font-size: 0.78em;
    }
    
    /* Badges */
    .sold-out-banner,
    .cancelled-banner,
    .postponed-banner,
    .live-badge {
        top: 8px;
        right: 8px;
        padding: 3px 8px;
        font-size: 0.6em;
    }
    
    /* Footer */
    .footer {
        font-size: 0.7em;
        padding: 16px 0 8px;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .container {
        padding: 0 8px 60px;
    }
    
    .nav-back {
        max-width: 100px;
        font-size: 0.65em;
    }
    
    .event-logo {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }
    
    .event-title {
        font-size: 0.88em;
    }
    
    .section {
        padding: 14px;
    }
    
    .filter-tab {
        padding: 5px 10px;
        font-size: 0.72em;
    }
}

/* ═══ Sesi Full Info — Layout Rapi ═══ */
.ses-full-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.ses-warning-text {
    color: #F59E0B;
    font-weight: 600;
    font-size: 0.78em;
    line-height: 1.5;
    display: block;
}

.ses-warning-text i {
    margin-right: 4px;
}

/* Slot badge full — bikin inline-block agar tidak stretch */
.ses-full-info .slot-badge.full {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    white-space: nowrap;
}

/* Fix EXIF rotation di preview image */
.pv-item img,
.preview-item img,
.gallery-item img {
    image-orientation: from-image;
}


/* ═══ Filter Tabs — Scroll Indicator ═══ */
.filter-tabs-wrapper {
    position: relative;
}

.filter-tabs-wrapper::before,
.filter-tabs-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.2s;
}

.filter-tabs-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #F3F4F6, transparent);
    opacity: 0;
}

.filter-tabs-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #F3F4F6, transparent);
    opacity: 0;
}

.filter-tabs-wrapper.scroll-start::before {
    opacity: 1;
}

.filter-tabs-wrapper.scroll-end::after {
    opacity: 1;
}

/* Scroll hint icon */
.filter-tabs-wrapper.has-scroll::after {
    content: '›';
    right: 2px;
    color: var(--text-muted);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: linear-gradient(to left, #F3F4F6, #F3F4F6 20%, transparent);
    opacity: 1;
    animation: slideHint 1.5s ease-in-out infinite;
}

@keyframes slideHint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

.filter-tabs-wrapper.scroll-end::after {
    animation: none;
    content: '';
}

/* ═══ Gender Chip Group ═══ */
.gender-chip-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gender-chip {
    flex: 1;
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.88em;
    font-weight: 600;
    color: var(--text-muted);
}

.gender-chip:hover {
    border-color: var(--pink);
    background: #FFFCFD;
}

.gender-chip input[type="radio"] {
    display: none !important;
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gender-chip:has(input:checked) {
    color: white;
}

.gender-chip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    line-height: 1;
}

.gender-chip i {
    font-size: 0.9em;
}

/* Warna beda per gender */
.gender-chip:has(input[value="pria"]:checked) {
    background: #3B82F6;
    border-color: #3B82F6;
    color: white;
}

.gender-chip:has(input[value="wanita"]:checked) {
    background: #EC4899;
    border-color: #EC4899;
    color: white;
}

/* ═══ Sesi Segera Dimulai (Starting Soon) — MASIH BISA DIPILIH ═══ */
.ses-item.starting-soon .ses-label {
    background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
    border-color: #F59E0B;
    position: relative;
    overflow: hidden;
}

.ses-item.starting-soon .ses-label:hover {
    background: linear-gradient(135deg, #FDE68A 0%, #FEF3C7 100%);
    border-color: #F59E0B;
}

/* Pulse animation di border */
.ses-item.starting-soon .ses-label::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    animation: startingSoonPulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes startingSoonPulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.ses-item.starting-soon input:checked + .ses-label {
    background: var(--pink-light);
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.15);
}

.ses-item.starting-soon .ses-name {
    color: #78350F;
}

.starting-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #F59E0B;
    color: white;
    border-radius: 4px;
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-left: 6px;
    animation: pulseTag 1.5s ease-in-out infinite;
}

@keyframes pulseTag {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Info text di bawah slot badge */
.ses-starting-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ses-starting-text {
    color: #92400E;
    font-weight: 600;
    font-size: 0.75em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ses-starting-text i {
    animation: shakeHourglass 2s ease-in-out infinite;
}

@keyframes shakeHourglass {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/* ═══ CLOSING SOON — Force Clickable ═══ */
.ses-item.closing-soon {
    pointer-events: auto !important;
}

.ses-item.closing-soon .ses-label {
    background: linear-gradient(135deg, #FEF3C7 0%, #FFFBEB 100%);
    border-color: #F59E0B;
    cursor: pointer !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    position: relative;
    overflow: hidden;
}

.ses-item.closing-soon input[type="radio"] {
    pointer-events: auto !important;
}

.ses-item.closing-soon .ses-label:hover {
    background: linear-gradient(135deg, #FDE68A 0%, #FEF3C7 100%);
    border-color: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* Selected state */
.ses-item.closing-soon input:checked + .ses-label {
    background: var(--pink-light) !important;
    border-color: var(--pink) !important;
    box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.2);
}

.ses-item.closing-soon input:checked + .ses-label .ses-radio {
    border-color: var(--pink);
    background: var(--pink);
}

/* Pulse effect */
.ses-item.closing-soon .ses-label::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5);
    animation: closingSoonPulse 1.5s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Pastikan content di atas overlay */
.ses-item.closing-soon .ses-label > * {
    position: relative;
    z-index: 1;
}

@keyframes closingSoonPulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.ses-item.closing-soon .ses-name {
    color: #78350F;
}

.closing-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #F59E0B;
    color: white;
    border-radius: 4px;
    font-size: 0.68em;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-left: 6px;
    animation: pulseTag 1s ease-in-out infinite;
}

@keyframes pulseTag {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Text info */
.ses-closing-text {
    color: #92400E;
    font-weight: 600;
    font-size: 0.75em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.5;
}

.ses-closing-text strong {
    color: #78350F;
    font-weight: 700;
}

.ses-closing-text i {
    animation: shakeHourglass 2s ease-in-out infinite;
}

@keyframes shakeHourglass {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}


/* ═══ SHARE SECTION ═══ */
.share-section {
    text-align: center;
    padding: 20px 16px;
}

.share-label {
    color: var(--text-muted);
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn:active {
    transform: translateY(0);
}

.share-wa { background: #25D366; }
.share-wa:hover { background: #1EBE57; }

.share-twitter { background: #1DA1F2; }
.share-twitter:hover { background: #0D95E8; }

.share-fb { background: #1877F2; }
.share-fb:hover { background: #0D6CE8; }

.share-copy { background: #6B7280; }
.share-copy:hover { background: #4B5563; }
.share-copy.copied { background: #10B981; }

@media (max-width: 480px) {
    .share-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1em;
    }
}
.share-telegram { background: #0088CC; }
.share-telegram:hover { background: #006DAA; }

/* ═══ Activity + Share Row (Sejajar) ═══ */
.activity-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.activity-share-row .type-badges {
    flex: 1;
    min-width: 0;
}

.mini-share {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    margin-left: -4px;
}

.mini-share-btn {
    width: 15px;
    height: 15px;
    display: inline-flex;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    cursor: pointer;
    font-size: 0.92em;
    transition: all 0.2s;
    text-decoration: none;
    padding: 0;
    line-height: 1;
    color: inherit;
}

.mini-share-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: scale(1.15);
}

.mini-share-btn.copied {
    color: #10B981 !important;
    background: rgba(16, 185, 129, 0.1);
}


