.admin-body { background: #111827; }
.admin-login { max-width: 360px; margin: 4rem auto; padding: 2rem; background: #1f2937; border-radius: 8px; }
.admin-header { background: #1f2937; border-bottom: 1px solid #374151; padding: 0.75rem 0; margin-bottom: 1.5rem; }
.admin-header .container { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.admin-nav a { color: #9ca3af; font-size: 0.85rem; }
.admin-main { padding-bottom: 3rem; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.admin-card { background: #1f2937; padding: 1rem; border-radius: 8px; }
.admin-box { background: #1f2937; padding: 1rem; border-radius: 8px; margin: 1rem 0; }
.admin-box.unread { border-left: 3px solid #F7931A; }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.admin-table th, .admin-table td { text-align: left; padding: 0.5rem; border-bottom: 1px solid #374151; }
.admin-form { background: #1f2937; padding: 1.25rem; border-radius: 8px; margin-bottom: 1.5rem; }
.text-live { color: #f87171; font-weight: 700; }
.text-offline { color: #9ca3af; }
.text-warmup { color: #fbbf24; font-weight: 700; }

.upload-progress-bar { height: 10px; background: #374151; border-radius: 5px; overflow: hidden; margin: 1rem 0 0.5rem; }
.upload-progress-bar div { height: 100%; width: 0%; background: #F7931A; transition: width 0.2s ease; }
#vodUploadProgress { background: #1f2937; padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.5rem; }
.alert.error { background: rgba(239,68,68,0.15); color: #fca5a5; padding: 0.75rem 1rem; border-radius: 6px; }
#vodUploadProgress.transcode-active .upload-progress-bar div { transition: width 0.4s ease; }
#vodUploadProgress.transcode-active .upload-progress-bar div[style*="width: 0%"],
#vodUploadProgress.transcode-active .upload-progress-bar div:not([style*="width"]) {
  animation: transcode-pulse 1.5s ease-in-out infinite;
}
@keyframes transcode-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
