/* ==========================================================================
   SEMAR SRIWEDARI - DARK EMERALD GLASS & ROYAL GOLD THEME (HIGH CONTRAST)
   ========================================================================== */

:root {
    --bg-obsidian: #0D1311;
    --glass-emerald: rgba(16, 44, 36, 0.75);
    --glass-border: rgba(212, 175, 55, 0.35);
    --gold-primary: #D4AF37;
    --gold-light: #F3E5AB;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F3E5AB 100%);
    --gold-glow: rgba(212, 175, 55, 0.4);
    
    --seat-available: #10B981;
    --seat-booked: #EF4444;
    --seat-selected: #F59E0B;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-obsidian);
    color: #FFFFFF !important; /* Paksa warna teks default menjadi Putih Murni */
    font-family: var(--font-sans);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(16, 44, 36, 0.6) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 40%);
    background-attachment: fixed;
}

/* Typography Overrides */
.font-playfair {
    font-family: var(--font-serif);
}

.text-gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gold-light {
    color: var(--gold-light) !important;
}

/* Navbar & Running Text */
.navbar-semar {
    background: rgba(13, 19, 17, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.batik-border-gold {
    height: 4px;
    background: linear-gradient(90deg, #0D1311 0%, #D4AF37 50%, #0D1311 100%);
}

.running-text-container {
    overflow: hidden;
    white-space: nowrap;
}

.running-text-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    color: var(--gold-light) !important;
    font-weight: 600;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Dark Emerald Glass Cards */
.card-glass {
    background: var(--glass-emerald);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.card-glass .card-header {
    background: rgba(8, 14, 12, 0.85) !important;
    border-bottom: 1px solid var(--glass-border) !important;
    font-family: var(--font-serif);
    color: var(--gold-light) !important; /* Paksa Warna Header Emas Terang */
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.8px;
}

/* Sisi Kiri: Art Gallery Poster Display */
.poster-art-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 0 25px var(--gold-glow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-art-wrapper:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.6);
}

.btn-zoom-poster {
    background: rgba(13, 19, 17, 0.9);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light) !important;
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-zoom-poster:hover {
    background: var(--gold-gradient);
    color: #0D1311 !important;
}

/* Sisi Kanan: Denah Kursi Glass Grid */
.panggung-stage-banner {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.3) 0%, rgba(16, 44, 36, 0.9) 100%);
    border: 1px solid var(--gold-primary);
    border-radius: 12px 12px 40px 40px;
    color: var(--gold-light) !important; /* Teks Panggung Emas Terang */
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: 3px;
    padding: 10px;
    margin-bottom: 24px;
    text-shadow: 0 0 10px var(--gold-glow);
}

.sriwedari-seat-container {
    background: rgba(5, 10, 8, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 22px 24px;
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
    color: #FFFFFF !important;
}

/* Mengubah Pesan Muted / Petunjuk Denah Agar Sangat Jelas */
.sriwedari-seat-container .text-muted,
.sriwedari-seat-container span {
    color: #CBD5E1 !important; /* Abu-abu Terang Sangat Kontras */
    font-size: 0.95rem;
}

.seat-row-sriwedari {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 7px;
}

/* Kotak Kursi */
.seat-box {
    width: 42px;
    height: 42px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.seat-box.seat-available {
    background: rgba(16, 185, 129, 0.25);
    border: 1.5px solid var(--seat-available);
    color: #A7F3D0 !important;
}
.seat-box.seat-available:hover {
    transform: scale(1.12);
    box-shadow: 0 0 14px var(--seat-available);
    background: var(--seat-available);
    color: #0D1311 !important;
}

.seat-box.seat-booked {
    background: rgba(239, 68, 68, 0.25);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #FCA5A5 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.seat-box.seat-selected {
    background: var(--seat-selected);
    border: 1.5px solid #FBBF24;
    color: #0D1311 !important;
    font-weight: 800;
    transform: scale(1.12);
    box-shadow: 0 0 18px var(--seat-selected);
}

.row-label-center {
    width: 48px;
    text-align: center;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--gold-light) !important;
    font-size: 1.3rem;
}

/* Legenda LED Indicators */
.led-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}
.led-available { background: var(--seat-available); box-shadow: 0 0 8px var(--seat-available); }
.led-booked { background: var(--seat-booked); box-shadow: 0 0 6px var(--seat-booked); }
.led-selected { background: var(--seat-selected); box-shadow: 0 0 8px var(--seat-selected); }

/* Legenda Teks Terang */
.card-body span, 
.card-body .d-flex span {
    color: #F8FAFC !important;
    font-weight: 600;
}

/* Dark Glass Form Controls */
.form-dark-glass label {
    color: var(--gold-light) !important; /* Label Form Emas Terang */
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    margin-bottom: 6px !important;
}

.form-dark-glass .form-control,
.form-dark-glass .form-select {
    background: rgba(5, 10, 8, 0.85) !important;
    border: 1px solid var(--glass-border) !important;
    color: #FFFFFF !important; /* Teks Input Putih Terang */
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

/* Placeholder Warna Abu-Abu Terang (Bukan Hitam/Gelap) */
.form-dark-glass .form-control::placeholder {
    color: #94A3B8 !important;
    opacity: 1;
}

.form-dark-glass .form-control:focus,
.form-dark-glass .form-select:focus {
    border-color: var(--gold-primary) !important;
    box-shadow: 0 0 12px var(--gold-glow) !important;
}

/* Small Text & Summary Labels */
small.text-muted,
.text-muted {
    color: #CBD5E1 !important; /* Memaksa Teks 'Total Pembayaran:' Menjadi Terang */
    font-size: 0.9rem;
    font-weight: 600;
}

/* Buttons */
.btn-gold-gradient {
    background: var(--gold-gradient);
    color: #0D1311 !important;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-gold-gradient:hover {
    background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 100%);
    box-shadow: 0 6px 22px rgba(212, 175, 55, 0.6);
    color: #0D1311 !important;
}

.btn-gold-outline {
    border: 1px solid var(--gold-primary);
    color: var(--gold-light) !important;
    background: transparent;
    transition: all 0.25s ease;
}

.btn-gold-outline:hover {
    background: var(--gold-gradient);
    color: #0D1311 !important;
}

.footer-semar {
    background: rgba(5, 10, 8, 0.95);
    border-top: 1px solid var(--glass-border);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .sriwedari-seat-container {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        padding: 12px 6px !important;
        -webkit-overflow-scrolling: touch;
    }

    .seat-row-sriwedari {
        justify-content: flex-start !important;
        width: max-content;
        margin: 0 auto 4px auto;
        gap: 4px;
    }

    .seat-box {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.68rem !important;
    }

    .row-label-center {
        width: 32px !important;
        font-size: 1rem !important;
    }
}

/* ==========================================================================
   STYLE KHUSUS HALAMAN LOGIN PETUGAS / ADMIN
   ========================================================================== */

.login-body {
    background-color: var(--bg-obsidian);
    background-image: 
        radial-gradient(circle at 50% 30%, rgba(16, 44, 36, 0.75) 0%, transparent 60%),
        radial-gradient(circle at 50% 80%, rgba(212, 175, 55, 0.12) 0%, transparent 50%);
    background-attachment: fixed;
}

.login-card {
    max-width: 440px;
    width: 100%;
    border: 1px solid var(--glass-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.logo-circle {
    width: 75px;
    height: 75px;
    background: rgba(8, 14, 12, 0.8);
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--gold-glow);
}

.input-icon-glass {
    background: rgba(8, 14, 12, 0.9) !important;
    border: 1px solid var(--glass-border) !important;
    border-right: none !important;
    color: var(--gold-light) !important;
}

.form-dark-glass .input-group .form-control {
    border-left: none !important;
}

.btn-outline-gold-glass {
    background: rgba(8, 14, 12, 0.9);
    border: 1px solid var(--glass-border);
    border-left: none;
    color: var(--gold-light);
    transition: all 0.25s ease;
}

.btn-outline-gold-glass:hover {
    color: #FFFFFF;
    background: rgba(16, 44, 36, 0.8);
}

.hover-gold:hover {
    color: var(--gold-primary) !important;
    text-shadow: 0 0 8px var(--gold-glow);
}

/* ==========================================================================
   STYLE KHUSUS LAYOUT ADMIN DASHBOARD (EMERALD GOLD GLASS)
   ========================================================================== */

.admin-body {
    background-color: var(--bg-obsidian);
    color: #FFFFFF !important;
}

/* Sidebar Styling */
.admin-sidebar {
    width: 260px;
    background: rgba(8, 14, 12, 0.95);
    border-right: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}

.logo-circle-sm {
    width: 40px;
    height: 40px;
    background: rgba(16, 44, 36, 0.8);
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px var(--gold-glow);
}

.nav-item-admin {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.25s ease;
}

.nav-item-admin:hover,
.nav-item-admin.active {
    background: var(--gold-gradient);
    color: #0D1311 !important;
    font-weight: 700;
    box-shadow: 0 4px 15px var(--gold-glow);
}

/* Topbar Styling */
.admin-topbar {
    background: rgba(8, 14, 12, 0.85);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}

.search-box-admin {
    background: rgba(16, 44, 36, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2px 8px;
}

.user-avatar-circle {
    width: 38px;
    height: 38px;
    background: rgba(16, 44, 36, 0.9);
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-icon-bg {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Responsivitas Layar HP */
@media (max-width: 991px) {
    .admin-sidebar {
        display: none !important;
    }
}

/* Menimpa background putih bawaan Bootstrap pada tabel admin */
.table-dark {
    --bs-table-bg: transparent !important;
    --bs-table-accent-bg: transparent !important;
    --bs-table-hover-bg: rgba(212, 175, 55, 0.1) !important;
    color: #FFFFFF !important;
}

.table-dark td, .table-dark th {
    background-color: transparent !important;
}

/* ==========================================================================
   STYLE UNTUK ICON DATE & TIME PICKER AGAR TERANG & EMAS
   ========================================================================== */

/* Mengubah warna icon kalender (Date Picker) dan jam (Time Picker) di browser Chrome, Edge, Safari */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(82%) sepia(50%) saturate(1000%) hue-rotate(355deg) brightness(105%) contrast(102%) !important;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.2s ease;
}

/* Efek hover pada icon picker */
input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    transform: scale(1.15);
}