/* Painel Streaming PWA — estilos do painel administrativo */
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: #0f172a; color: #e2e8f0; }
a { color: #38bdf8; }
.container { max-width: 960px; margin: 0 auto; padding: 24px 16px 64px; }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; background: #1e293b; border-bottom: 1px solid #334155; flex-wrap: wrap; }
.topbar strong { color: #fff; font-size: 18px; }
.muted { color: #94a3b8; }
.small { font-size: 13px; }
h1 { font-size: 24px; margin: 8px 0 16px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 9px 16px; border-radius: 8px; border: 1px solid #475569; background: #1e293b; color: #e2e8f0; text-decoration: none; cursor: pointer; font-size: 14px; }
.btn.primary { background: #e11d48; border-color: #e11d48; color: #fff; }
.btn.small { padding: 6px 10px; font-size: 13px; }
.btn.danger { background: #7f1d1d; border-color: #991b1b; color: #fecaca; }
.btn:hover { filter: brightness(1.15); }
.alert { padding: 10px 14px; border-radius: 8px; }
.alert.ok { background: #14532d; color: #bbf7d0; }
.alert.error { background: #7f1d1d; color: #fecaca; }
.table { width: 100%; border-collapse: collapse; background: #1e293b; border-radius: 10px; overflow: hidden; }
.table th, .table td { padding: 12px; text-align: left; border-bottom: 1px solid #334155; vertical-align: top; }
.table th { color: #94a3b8; font-size: 13px; text-transform: uppercase; }
.table td a { word-break: break-all; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.inline { display: inline; }
.empty { background: #1e293b; padding: 24px; border-radius: 10px; }
.auth-box { max-width: 420px; margin: 60px auto; padding: 28px; background: #1e293b; border-radius: 12px; }
.auth-box h1 { margin-top: 0; }
label { display: block; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
label small { display: block; font-weight: 400; color: #94a3b8; margin-top: 4px; }
input[type="text"], input[type="url"], input[type="email"], input[type="password"], textarea, select { width: 100%; padding: 10px 12px; margin-top: 6px; border: 1px solid #475569; border-radius: 8px; background: #0f172a; color: #e2e8f0; font-size: 15px; }
input[type="color"] { width: 100%; height: 44px; padding: 4px; margin-top: 6px; border: 1px solid #475569; border-radius: 8px; background: #0f172a; cursor: pointer; }
input[type="file"] { margin-top: 6px; }
input[type="checkbox"] { width: auto; margin-right: 8px; }
.check { display: flex; align-items: center; }
textarea { resize: vertical; }
fieldset { border: 1px solid #334155; border-radius: 10px; padding: 18px; margin: 0 0 20px; }
legend { padding: 0 8px; font-weight: 700; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .grid3 { grid-template-columns: 1fr; } .table { font-size: 14px; } }
