/* ===== Voces PTM Theme (global) ===== */
:root{
  --brand1:#FF7A00; /* naranja */
  --brand2:#FF2D20; /* rojo */
  --brand3:#FFC14A; /* dorado */
  --ink:#0B0E13;    /* fondo profundo */
  --panel:#151823;  /* paneles */
}

/* Fondo y tipografía */
html,body{
  min-height:100%;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol', sans-serif;
}
body{
  color:#e5e7eb;
  background: radial-gradient(1200px 600px at 20% -10%, #141820 0%, #0D1117 40%, #0A0D12 100%);
}

/* Header */
.header,
.header-fixed{
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  color:#fff;
  box-shadow: 0 5px 30px rgba(0,0,0,.45);
  border-bottom:1px solid rgba(255,255,255,.05);
}

/* Tarjetas / Paneles */
.card,
.panel-card,
.form-card{
  background: rgba(21,24,35,.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.form-card{ border-radius:20px; }

/* Inputs / Selects / Textareas */
input[type="text"],
input[type="url"],
input[type="password"],
input[type="color"],
select, textarea{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:#fff; border-radius:10px; padding:10px 12px; outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color: var(--brand1);
  box-shadow: 0 0 0 2px rgba(255,45,32,.35);
}

/* Botones */
button, a.btn, .btn-grad{
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  color:#fff !important;
  border:none; border-radius:10px; font-weight:700;
  transition: .15s ease; cursor:pointer;
}
button:hover, a.btn:hover, .btn-grad:hover{ opacity:.95; transform: translateY(-1px); }

/* Toast y utilidades */
.toast{
  position:fixed; bottom:20px; right:20px; z-index:60;
  display:none; align-items:center; gap:10px;
  padding:12px 16px; border-radius:12px;
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  color:#fff; box-shadow:0 10px 30px rgba(0,0,0,.45);
}
.copy-btn{
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  color:#fff; border:none; border-radius:8px; padding:8px 12px; font-weight:700;
}

/* Logo preview */
.logo-preview{
  width:72px; height:72px; border-radius:12px; object-fit:cover;
  background:#111; border:1px solid rgba(255,255,255,.12);
}

/* Botón SALIR (grande, FAB e icono desktop) */
.hit-44{ min-width:44px; min-height:44px; }
.logout-btn, .logout-fab, .logout-icon-btn{
  background: linear-gradient(90deg, var(--brand2), var(--brand1)) !important;
  color:#fff !important; font-weight:800;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.logout-btn{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.75rem 1rem; border-radius:9999px; line-height:1;
}
.logout-fab{
  position:fixed; right:16px; bottom:16px; z-index:9999;
  border-radius:9999px; padding:.9rem 1rem;
}
@media (min-width:768px){ .logout-fab{ display:none; } }
.logout-icon-desktop{ position:fixed; top:14px; right:16px; z-index:1000; display:none; }
.logout-icon-btn{
  width:44px; height:44px; border-radius:9999px;
  display:inline-flex; align-items:center; justify-content:center;
}
@media (min-width:1024px){ .logout-icon-desktop{ display:block; } }

/* Badges EN VIVO (si los usas en el player) */
.badge-live{ background:#fff; color:#111; border-radius:8px; padding:2px 8px; font-weight:800; }
.badge-live .dot{
  width:10px; height:10px; border-radius:50%; background:var(--brand2);
  box-shadow:0 0 8px rgba(255,45,32,.7); animation:blink 1.2s infinite steps(2, jump-none);
}
@keyframes blink{ 50%{ opacity:.25; } }

/* Spinners y anims comunes (para logout/delete) */
.spinner{
  border:4px solid rgba(255,255,255,0.12);
  border-top-color: var(--brand1);
  border-radius:50%;
  width:40px; height:40px; margin:20px auto;
  animation: spin 1s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }
@keyframes fadeIn{ from{ opacity:0; transform:translateY(10px);} to{opacity:1; transform:none;} }

/* Links secundarios */
a:hover{ color: var(--brand3); }
