@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;900&display=swap');

/* Color & Aesthetic Tokens */
:root {
    --primary-red: #c0392b;
    --primary-red-gradient: linear-gradient(135deg, #d32f2f, #b71c1c);
    --secondary-blue: #2980b9;
    --secondary-blue-gradient: linear-gradient(135deg, #1f4068, #162447);
    --dark-bg: #1a1a2e;
    --light-bg: #f4f6f9;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --border-color: #dcdde1;
    
    /* Category Colors */
    --color-hop: #e74c3c;
    --color-ld: #2ecc71;
    --color-kt: #3498db;
    --color-tcd: #f1c40f;
}

/* Reset and Globals */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.6;
}

#viewerScreen {
    max-width: 1600px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.pg-hdr {
    background: var(--primary-red-gradient);
    color: #ffffff;
}

.hdr-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hdr-seal {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hdr-seal svg {
    width: 68px;
    height: 68px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.hdr-titles {
    flex: 1;
    margin-left: 1.5rem;
}

.titles-h1 {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
    font-size: 1.65rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.titles-sub {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    opacity: 0.9;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

/* Header Weather Widget */
.hdr-wth {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hdr-wth:hover {
    background: rgba(255, 255, 255, 0.22);
}

.wth-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.wth-num {
    font-size: 1.25rem;
    font-weight: 800;
}

.wth-sub {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding-left: 0.75rem;
    font-size: 0.8rem;
}

.wth-sub-lbl {
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.wth-sub-dat {
    display: flex;
    gap: 0.6rem;
    opacity: 0.85;
}

.wth-sd-i {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* Icons styling mapped from Bootstrap custom font */
.w-ico::before { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.ico-cloud-sun::before { content: "\f6c4"; color: #f1c40f; }
.ico-rain::before { content: "\f73d"; color: #74b9ff; }
.ico-rain-heavy::before { content: "\f740"; color: #0984e3; }
.ico-cloud-sun-rain::before { content: "\f743"; }
.ico-cloud::before { content: "\f0c2"; color: #dfe6e9; }
.ico-sun::before { content: "\f185"; color: #f1c40f; }
.ico-rain-light::before { content: "\f73c"; }
.ico-rain-sun::before { content: "\f743"; color: #f1c40f; }

.w-ico-sub::before { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.ico-sub-drop::before { content: "\f043"; color: #74b9ff; }
.ico-sub-wind::before { content: "\f72e"; color: #a4b0be; }
.ico-sub-therm::before { content: "\f2c9"; color: #ff7675; }

/* Weekly Weather Strip */
.hdr-wth-week {
    background: var(--secondary-blue-gradient);
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    padding: 0.4rem 1rem;
    gap: 0.4rem;
}

.wth-wk-i {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.35rem;
    text-align: center;
    font-size: 0.7rem;
    transition: all 0.2s ease;
}

.wth-wk-i:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.w-wk-lbl {
    font-weight: 700;
    font-size: 0.65rem;
    opacity: 0.85;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

.w-wk-chieu {
    background: rgba(0, 0, 0, 0.15);
}

.w-wk-mid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin: 0.1rem 0;
}

.w-wk-temp {
    font-weight: 800;
}

.w-wk-rain {
    font-size: 0.6rem;
    opacity: 0.7;
}

/* Control Bar / Toolbar */
.ctrl-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cb-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.cb-left:hover {
    border-color: var(--primary-red);
    background-color: #fff5f5;
}

.cb-ico::before { font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f073"; color: var(--primary-red); }
.cb-lbl {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.cb-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cb-btn {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.cb-btn:hover {
    border-color: var(--secondary-blue);
    color: var(--secondary-blue);
    background-color: #f7fbfe;
}

.cb-btn-now {
    background: var(--primary-red-gradient);
    color: #ffffff;
    border: none;
}

.cb-btn-now:hover {
    filter: brightness(1.15);
    color: #ffffff;
}

.cb-btn-live {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border: none;
}

.cb-btn-live:hover {
    filter: brightness(1.15);
    color: #ffffff;
}

.cb-ico-btn::before { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.ico-key::before { content: "\f084"; }
.ico-list::before { content: "\f03a"; }
.ico-search::before { content: "\f002"; }
.ico-qr::before { content: "\f029"; }
.ico-print::before { content: "\f02f"; }
.ico-live::before { content: "\f26c"; }

.cb-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

/* Schedule Table Container */
.tbl-frame {
    padding: 1.5rem 2rem;
    flex: 1;
}

.main-tbl {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}

.main-tbl th {
    background: var(--secondary-blue-gradient);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 1rem 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.main-tbl th:last-child {
    border-right: none;
}

.main-tbl td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    vertical-align: middle;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.main-tbl td:last-child {
    border-right: none;
}

.main-tbl tbody tr:hover td {
    background-color: #f8fafc;
}

/* Spanning Cells Colors & Styles */
.cell-day-col {
    background: #fdfefe !important;
    text-align: center;
    font-weight: 800;
}

.day-name {
    color: var(--primary-red);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.day-num {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0.15rem 0;
}

.day-mon {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cell-session-col {
    text-align: center;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.sess-morning {
    color: #d35400;
    background-color: #fff9f2 !important;
}

.sess-afternoon {
    color: #2980b9;
    background-color: #f2f8fc !important;
}

/* Inner cell styles */
.evt-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.evt-time {
    font-weight: 700;
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
}

.evt-time i::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 400;
    content: "\f017";
}

.evt-text {
    font-weight: 500;
    line-height: 1.5;
}

/* Attachment button */
.btn-pdf-attach {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fdf2f2;
    border: 1px solid #fde2e2;
    color: #ef4444;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
    margin-top: 0.25rem;
    transition: all 0.2s ease;
}

.btn-pdf-attach:hover {
    background: #fde2e2;
    transform: scale(1.02);
}

.btn-pdf-attach i::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f1c1";
}

/* Category badging system */
.pill-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.badge-hop { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.badge-ld { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.badge-kt { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.badge-tcd { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }

.pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
}

/* Actions editing tools */
.action-box {
    display: flex;
    gap: 0.4rem;
    opacity: 0.15;
    transition: all 0.3s ease;
}

.main-tbl tr:hover .action-box {
    opacity: 1;
}

.act-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    color: #ffffff;
    transition: all 0.2s ease;
}

.act-btn-edit { background: #3b82f6; }
.act-btn-edit:hover { background: #1d4ed8; }
.act-btn-edit i::before { font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f304"; }

.act-btn-del { background: #ef4444; }
.act-btn-del:hover { background: #b91c1c; }
.act-btn-del i::before { font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f2ed"; }

/* Footer segment layout */
.pg-ft {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ft-note {
    font-style: italic;
    max-width: 500px;
    line-height: 1.5;
}

.ft-legend {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.leg-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--text-main);
}

.leg-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-hop { background: #ef4444; }
.dot-ld { background: #22c55e; }
.dot-kt { background: #3b82f6; }
.dot-tcd { background: #eab308; }

.leg-key::before { font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f084"; color: var(--secondary-blue); margin-right: 0.2rem; }
.leg-phone { font-weight: 700; color: var(--text-main); }

/* Floating Administrator trigger */
.btn-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-red-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(192, 57, 43, 0.4);
    cursor: pointer;
    border: none;
    z-index: 99;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-floating:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 8px 30px rgba(192, 57, 43, 0.6);
}

/* Slide-out Admin Drawer Panel */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background: #ffffff;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-overlay.active .drawer-content {
    right: 0;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.drawer-title {
    font-weight: 800;
    color: var(--text-main);
    font-size: 1.2rem;
    text-transform: uppercase;
}

.drawer-close {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.drawer-close:hover {
    color: var(--primary-red);
}

/* Administrative Form Styles */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.form-group input,
.form-group select {
    padding: 0.6rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.15);
}

.form-submit-btn {
    background: var(--primary-red-gradient);
    color: #ffffff;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.form-submit-btn:hover {
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.3);
    filter: brightness(1.1);
}

/* Modals Overlay Base */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Highly Polished Week Selection Modal */
.week-modal {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 480px;
    overflow: hidden;
    transform: scale(0.92);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.modal-overlay.active .week-modal {
    transform: scale(1);
}

.wm-hdr {
    background: var(--primary-red-gradient);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wm-hdr-title {
    font-weight: 800;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.wm-hdr-ico::before { font-family: "Font Awesome 6 Free"; font-weight: 900; content: "\f073"; }

.wm-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.wm-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.wm-list {
    max-height: 420px;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Modal Week Row layout */
.wm-item {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 0.8rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wm-item:hover {
    background-color: #f1f5f9;
    border-color: var(--secondary-blue);
    transform: translateY(-1px);
}

.wm-item-active {
    background: #fff5f5 !important;
    border: 2px solid var(--primary-red) !important;
}

.wm-item-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.wm-item-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wm-item-ico::before { font-family: "Font Awesome 6 Free"; font-weight: 900; }
.ico-pushpin::before { content: "\f08d"; color: var(--primary-red); }
.ico-calendar-row::before { content: "\f073"; color: var(--secondary-blue); }

.wm-item-lbl {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--text-main);
}

.wm-item-range {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.wm-item-badge {
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--primary-red-gradient);
    color: #ffffff;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
}

.wm-item-empty {
    background: #f1f5f9;
    color: var(--text-muted);
}

.wm-ft {
    border-top: 1px solid var(--border-color);
    padding: 1rem;
    display: flex;
    justify-content: flex-end;
}

.wm-btn-close {
    background: #e2e8f0;
    color: var(--text-main);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wm-btn-close:hover {
    background: #cbd5e1;
}

/* Modals for Search and QR codes mapping */
.modal-card {
    background: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 550px;
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-header {
    background: var(--secondary-blue-gradient);
    color: #ffffff;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-weight: 800;
    font-size: 1.1rem;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.modal-body {
    padding: 1.5rem;
}

/* Projection lobby Kiosk Mode */
.kiosk-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.kiosk-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.kiosk-header {
    background: rgba(0,0,0,0.4);
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.kiosk-title {
    font-size: 2rem;
    font-weight: 900;
    text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.kiosk-clock {
    font-size: 1.8rem;
    font-weight: 700;
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.kiosk-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.kiosk-slide {
    width: 100%;
    max-width: 1300px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.kiosk-day-label {
    font-size: 2.2rem;
    font-weight: 900;
    color: #f43f5e;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(244, 63, 94, 0.3);
    padding-bottom: 0.5rem;
}

.kiosk-events-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.kiosk-event-card {
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1.5rem;
}

.kiosk-event-time {
    font-size: 1.6rem;
    font-weight: 800;
    color: #38bdf8;
}

.kiosk-event-detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kiosk-event-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
}

.kiosk-event-metadata {
    font-size: 1.05rem;
    opacity: 0.8;
    display: flex;
    gap: 2rem;
    margin-top: 0.25rem;
}

.btn-kiosk-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-kiosk-close:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.08);
}

/* Printing optimization */
@media print {
    .hdr-main,
    .hdr-wth-week,
    .ctrl-bar,
    .btn-floating,
    .action-box,
    .btn-pdf-attach,
    .pg-ft {
        display: none !important;
    }
    
    body, #viewerScreen {
        background: #ffffff;
        color: #000000;
        box-shadow: none;
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }
    
    .tbl-frame {
        padding: 0;
    }
    
    .main-tbl {
        border: 2px solid #000000;
        border-radius: 0;
        box-shadow: none;
    }
    
    .main-tbl th {
        background: #f1f5f9 !important;
        color: #000000 !important;
        border-bottom: 2px solid #000000;
        border-right: 1px solid #000000;
    }
    
    .main-tbl td {
        background: #ffffff !important;
        color: #000000 !important;
        border-bottom: 1px solid #000000;
        border-right: 1px solid #000000;
    }
}

/* Running Marquee and Mobile Nav Bar Styles */
@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.vs-footer-mob {
    overflow: hidden;
    white-space: nowrap;
    background: var(--primary-red-gradient);
    color: #ffffff;
    padding: 0.6rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.vs-footer-mob-track {
    display: inline-flex;
    align-items: center;
    animation: marquee 25s linear infinite;
}

.vs-credit-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vs-credit-pipe {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
}

.vs-credit-dot {
    margin: 0 1.5rem;
    color: #f1c40f;
}

.mob-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    z-index: 999;
}

.mn-btn {
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.mn-btn i {
    font-size: 1.1rem;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.mn-btn:hover, .mn-btn.active {
    color: var(--primary-red);
}

.mn-btn:hover i, .mn-btn.active i {
    color: var(--primary-red);
}

.mn-btn-today {
    color: var(--primary-red);
}

.mn-btn-today i {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    .mob-nav-bar {
        display: flex;
    }
    .vs-footer-mob {
        display: block;
        margin-bottom: 50px;
    }
    #viewerScreen {
        padding-bottom: 55px;
    }
    .btn-floating {
        bottom: 5.5rem;
    }
}
