* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Theme Variables */
:root {
    /* Dark Theme (Default) */
    --bg-color: #0a1929;
    --text-color: #e3f2fd;
    --header-gradient: linear-gradient(90deg, #1565c0, #0d47a1);
    --panel-bg: rgba(21, 101, 192, 0.1);
    --panel-border: rgba(255, 255, 255, 0.1);
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-border: rgba(255, 255, 255, 0.05);
    --control-bg: rgba(0, 0, 0, 0.5);
    --dropdown-bg: #0f2942;
    --dropdown-text: #ffffff;
    --btn-primary: #1565c0;
    --btn-hover: #0d47a1;
    --video-bg: #000;
    --running-text-bg: linear-gradient(90deg, #0d47a1, transparent, #0d47a1);
    --input-bg: rgba(255, 255, 255, 0.1);
    --input-border: rgba(255, 255, 255, 0.2);
    --tab-active: #1565c0;
    --tab-inactive: rgba(255, 255, 255, 0.1);
}

/* Premium Light Theme */
[data-theme="light"] {
    --bg-color: #f8faff;
    --text-color: #0a1929;
    --header-gradient: linear-gradient(90deg, #2196f3, #2979ff);
    --panel-bg: rgba(33, 150, 243, 0.05);
    --panel-border: rgba(33, 150, 243, 0.1);
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(33, 150, 243, 0.15);
    --control-bg: rgba(233, 236, 239, 0.9);
    --dropdown-bg: #ffffff;
    --dropdown-text: #0a1929;
    --btn-primary: #2979ff;
    --btn-hover: #1976d2;
    --video-bg: #f5f5f5;
    --running-text-bg: linear-gradient(90deg, #2979ff, transparent, #2979ff);
    --input-bg: rgba(255, 255, 255, 0.9);
    --input-border: rgba(33, 150, 243, 0.2);
    --tab-active: #2979ff;
    --tab-inactive: rgba(33, 150, 243, 0.1);
}

body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

video#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.2;
    transition: opacity 0.3s ease;
}

[data-theme="light"] video#bg-video {
    opacity: 0.15;
}

.container {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    grid-template-rows: auto 1fr;
    gap: 20px;
    padding: 20px;
}

/* Header Styling */
.header {
    grid-column: 1 / span 2;
    background: var(--header-gradient);
    border-radius: 15px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

[data-theme="light"] .header {
    box-shadow: 0 10px 30px rgba(41, 121, 255, 0.2);
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 0;
}

.header-content {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    color: #ffffff;
}

.clock {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #e3f2fd;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 1;
}

.logo {
    height: 50px;
    object-fit: contain;
}

.logosdm {
    height: 55px;
    object-fit: contain;
}

/* Theme Toggle Styling */
.theme-toggle {
    display: flex;
    align-items: center;
}

.theme-switch {
    height: 0;
    width: 0;
    visibility: hidden;
}

.theme-slider {
    cursor: pointer;
    width: 60px;
    height: 30px;
    background: #1e3a5f;
    display: block;
    border-radius: 15px;
    position: relative;
    transition: 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.theme-slider:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.theme-switch:checked + .theme-slider {
    background: #bbdefb;
}

.theme-switch:checked + .theme-slider:after {
    left: calc(100% - 2px);
    transform: translateX(-100%);
}

.sun-icon, .moon-icon {
    position: absolute;
    top: 5px;
    font-size: 14px;
}

.sun-icon {
    right: 8px;
}

.moon-icon {
    left: 8px;
}

/* Left Section */
.left-section {
    display: grid;
    grid-template-rows: 2fr 1fr;
    gap: 20px;
}

.meeting-rooms {
    background: var(--panel-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr 1fr;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--panel-border);
    position: relative;
}

[data-theme="light"] .meeting-rooms {
    box-shadow: 0 10px 25px rgba(41, 121, 255, 0.1);
}

.meeting-rooms-title {
    grid-column: 1 / span 2;
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .meeting-rooms-title {
    text-shadow: 0 1px 2px rgba(41, 121, 255, 0.2);
}

.room-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

[data-theme="light"] .room-card {
    box-shadow: 0 8px 20px rgba(41, 121, 255, 0.08);
}

.room-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .room-card:hover {
    box-shadow: 0 12px 30px rgba(41, 121, 255, 0.15);
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 10px;
}

.room-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.room-status {
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.status-available {
    background: rgba(46, 204, 113, 0.3);
    color: #2ecc71;
}

.status-occupied {
    background: rgba(241, 196, 15, 0.3);
    color: #f1c40f;
}

[data-theme="light"] .status-available {
    background: rgba(46, 204, 113, 0.15);
    color: #27ae60;
}

[data-theme="light"] .status-occupied {
    background: rgba(241, 196, 15, 0.15);
    color: #f39c12;
}

.room-content {
    flex: 1;
    overflow-y: auto;
    font-size: 14px;
    color: var(--text-color);
}

/* Ubah layout pada room-event */
.room-event {
    display: flex;
    flex-direction: column; /* Ubah dari row ke column */
    gap: 10px;
}

.room-event div:first-child {
    font-size: 24px;
    font-weight: 600;
}

.room-event div:last-child {
    background: rgba(255,255,255,0.1);
    padding: 8px 12px;
    border-radius: 8px;
    align-self: flex-start;
    font-weight: 600;
}

.no-agenda-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Static Calendar instead of animation */
.calendar-static {
    width: 60px;
    height: 70px;
    position: relative;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    border-top: 12px solid #3498db;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.calendar-static::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 10px;
    width: 6px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    box-shadow: 34px 0 0 rgba(255, 255, 255, 0.4);
}

.calendar-static::after {
    content: "✓";
    position: absolute;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
}

[data-theme="light"] .calendar-static {
    background: rgba(33, 150, 243, 0.1);
    border-top: 12px solid #2979ff;
}

[data-theme="light"] .calendar-static::before {
    background: rgba(33, 150, 243, 0.4);
    box-shadow: 34px 0 0 rgba(33, 150, 243, 0.4);
}

[data-theme="light"] .calendar-static::after {
    color: rgba(33, 150, 243, 0.6);
}

.no-agenda-text {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.7;
    text-align: center;
}

/* Agenda Section */
.agenda-section {
    background: var(--panel-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--panel-border);
    overflow: hidden;
}

[data-theme="light"] .agenda-section {
    box-shadow: 0 10px 25px rgba(41, 121, 255, 0.1);
}

.agenda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--panel-border);
    padding-bottom: 10px;
}

.agenda-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

[data-theme="light"] .agenda-title {
    color: #0a1929;
}

.agenda-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.agenda-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 140px;
    display: flex;
    flex-direction: column;
}

[data-theme="light"] .agenda-card {
    box-shadow: 0 8px 20px rgba(41, 121, 255, 0.08);
}

.agenda-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .agenda-card:hover {
    box-shadow: 0 12px 30px rgba(41, 121, 255, 0.15);
}

.agenda-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--panel-border);
    color: var(--text-color);
}

.agenda-card p {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--text-color);
    flex-grow: 1;
}

.agenda-card .date-time {
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 5px;
    border-top: 1px solid var(--panel-border);
    color: var(--text-color);
    opacity: 0.8;
}

/* Right Section */
.right-section {
    display: grid;
    grid-template-rows: 2.2fr 0.8fr;
    gap: 20px;
}

.video-section {
    background: var(--panel-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--panel-border);
    display: flex;
    flex-direction: column;
}

[data-theme="light"] .video-section {
    box-shadow: 0 10px 25px rgba(41, 121, 255, 0.1);
}

.video-container {
    flex: 1;
    position: relative;
    background-color: var(--video-bg);
    overflow: hidden;
}

.video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--video-bg);
}

#youtube-player {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.video-controls {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--control-bg);
    transition: opacity 0.3s ease;
}

.source-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.source-tab {
    padding: 8px 15px;
    border-radius: 8px;
    background: var(--tab-inactive);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    flex: 1;
}

.source-tab.active {
    background: var(--tab-active);
    color: white;
}

.video-section:hover .video-controls.hidden {
    opacity: 1;
    pointer-events: auto;
}

.video-controls.hidden {
    opacity: 0;
    pointer-events: none;
}

.control-group {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

.file-upload-btn {
    background: var(--btn-primary);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.file-upload-btn:hover {
    background: var(--btn-hover);
}

.playlist-container, .url-container {
    flex-grow: 1;
    position: relative;
}

.video-playlist, .tv-channel-selector {
    padding: 8px 10px;
    border-radius: 5px;
    background: var(--dropdown-bg);
    border: 1px solid var(--panel-border);
    color: var(--dropdown-text);
    font-size: 14px;
    width: 100%;
    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='%23607D8B' 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 10px center;
    background-size: 16px;
}

.youtube-url-input {
    padding: 8px 10px;
    border-radius: 5px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--text-color);
    font-size: 14px;
    width: 100%;
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 25px;
    background: rgba(21, 101, 192, 0.8);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    z-index: 10;
    transition: all 0.3s ease;
}

[data-theme="light"] .play-button {
    background: rgba(41, 121, 255, 0.8);
}

.play-button:hover {
    background: rgba(21, 101, 192, 1);
}

[data-theme="light"] .play-button:hover {
    background: rgba(41, 121, 255, 1);
}

.slideshow-section {
    background: var(--panel-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--panel-border);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    padding: 15px;
}

[data-theme="light"] .slideshow-section {
    box-shadow: 0 10px 25px rgba(41, 121, 255, 0.1);
}

.slideshow-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .slideshow-card {
    box-shadow: 0 8px 15px rgba(41, 121, 255, 0.08);
}

.slideshow-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.slideshow-card:hover img {
    transform: scale(1.05);
}

.caption-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

[data-theme="light"] .caption-container {
    background: rgba(0, 0, 0, 0.6);
}

.caption-text {
    color: white;
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.fade-in {
    opacity: 1;
}

.running-text {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    padding: 8px 0;
    background: var(--running-text-bg);
    overflow: hidden;
    height: 30px;
}

.running-text-container {
    display: inline-flex;
    white-space: nowrap;
    animation: marquee 50s linear infinite;
    color: #e3f2fd;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

[data-theme="light"] .running-text-container {
    color: #ffffff;
}

/* Room specific styles with theme support */
.muchtar-aziz {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
}

.soetomo {
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.1));
}

.msp-tampubolon {
    background: linear-gradient(145deg, rgba(33, 150, 243, 0.1), rgba(13, 71, 161, 0.1));
}

.samsul-bahri {
    background: linear-gradient(145deg, rgba(233, 30, 99, 0.1), rgba(173, 20, 87, 0.1));
}

[data-theme="light"] .muchtar-aziz {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.2);
}

[data-theme="light"] .soetomo {
    background: linear-gradient(145deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.1));
    border: 1px solid rgba(76, 175, 80, 0.2);
}

[data-theme="light"] .msp-tampubolon {
    background: linear-gradient(145deg, rgba(33, 150, 243, 0.1), rgba(13, 71, 161, 0.1));
    border: 1px solid rgba(33, 150, 243, 0.2);
}

[data-theme="light"] .samsul-bahri {
    background: linear-gradient(145deg, rgba(233, 30, 99, 0.1), rgba(173, 20, 87, 0.1));
    border: 1px solid rgba(233, 30, 99, 0.2);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: var(--panel-bg);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(41, 121, 255, 0.3);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: rgba(41, 121, 255, 0.5);
}

/* Controls display */
#file-controls, #youtube-controls, #tv-controls {
    width: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* -- [KODE LAMA DARI FILE SEBELUMNYA ADA DI SINI] -- */

/* Tambahan CSS untuk Overlay, Progress Bar, dan Dialog */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

.loading-overlay.hidden {
    display: none;
}

.loading-box {
    background: #1e3a5f; /* Menggunakan warna dari dark theme */
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    width: 90%;
    max-width: 500px;
}

#download-progress {
    width: 100%;
    max-width: 400px;
    height: 25px;
    margin-top: 20px;
    border-radius: 5px;
}

/* Styling progress bar untuk cross-browser */
progress[value] {
  -webkit-appearance: none;
   appearance: none;
}
progress[value]::-webkit-progress-bar {
  background-color: #333;
  border-radius: 5px;
}
progress[value]::-webkit-progress-value {
  background-color: #1565c0; /* Warna primer dari tema Anda */
  border-radius: 5px;
  transition: width 0.2s ease;
}

#progress-text {
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: 500;
}

/* [BARU] Tombol Opsi Update */
.update-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.update-btn {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transition: all 0.2s ease;
}

.update-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.update-btn.primary {
    background-color: var(--btn-primary);
    border-color: var(--btn-primary);
    color: white;
}

.update-btn.primary:hover {
    background-color: var(--btn-hover);
    border-color: var(--btn-hover);
}

.update-btn.secondary {
    width: calc(100% - 20px);
    margin-top: 15px;
    background-color: #4f5b69;
    border-color: #4f5b69;
    color: white;
}

.update-btn.secondary:hover {
    background-color: #3e4854;
    border-color: #3e4854;
}

/* [BARU] Styling untuk Halaman Kunci Keamanan */
#security-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#security-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.login-container {
    background: var(--panel-bg);
    padding: 40px 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid var(--panel-border);
    max-width: 400px;
    width: 90%;
}

.login-logo {
    height: 60px;
    margin-bottom: 20px;
}

.login-container h1 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
}

.login-container p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 25px;
}

#password-input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid var(--input-border);
    background-color: var(--input-bg);
    color: var(--text-color);
    text-align: center;
    margin-bottom: 20px;
}

#login-button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background-color: var(--btn-primary);
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#login-button:hover {
    background-color: var(--btn-hover);
}

#login-error {
    color: #f44336;
    margin-top: 15px;
    height: 20px;
    font-weight: 500;
}

/* Animasi untuk error */
.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

/* [BARU] Styling untuk Opsi Update Individual */
.update-section {
    margin-bottom: 15px;
    text-align: left;
}

.update-section h4 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
}

#video-update-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    max-height: 150px; /* Batasi tinggi jika daftar sangat panjang */
    overflow-y: auto;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}

.video-choice {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.video-choice input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.video-choice label {
    font-size: 0.95em;
    cursor: pointer;
}

.update-divider {
    border: none;
    height: 1px;
    background-color: var(--panel-border);
    margin: 20px 0;
}