@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  background: #0a1428;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.landing {
  min-height: 100vh;
}

.header {
  background: #0a1550;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .container img {
  width: 15%;
}
.header .container nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.header .container nav a {
  color: #ffffff;
  text-decoration: none;
}
.header .container nav .btn-login {
  background-color: #2A7CEB;
  padding: 5px 15px;
  border-radius: 10px;
}

.logo {
  font-size: 24px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
}

.hero {
  text-align: center;
  padding: 120px 0 80px 0;
  background: #0a1550;
}
.hero h1 {
  font-size: 48px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
  line-height: 1.2;
}
.hero p {
  font-size: 18px;
  color: #94a3b8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features {
  padding: 80px 0;
  background: #0a1428;
}
.features h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
}
.feature-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(42, 176, 232, 0.3);
}

.btn-primary, .btn-primary-large {
  display: inline-block;
  background: #2AB0E8;
  color: white;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: opacity 0.2s;
}
.btn-primary:hover, .btn-primary-large:hover {
  opacity: 0.85;
}

.btn-primary-large {
  padding: 18px 48px;
  font-size: 18px;
}

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.badge-free {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(42, 176, 232, 0.15);
  color: #2AB0E8;
  border: 1px solid rgba(42, 176, 232, 0.3);
}

.cta {
  padding: 80px 0;
  background: #0a1550;
  text-align: center;
}
.cta h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}
.cta p {
  color: #94a3b8;
  font-size: 18px;
  margin-bottom: 40px;
}

.footer {
  background: rgb(8.3, 17.43, 66.4);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer p {
  color: #94a3b8;
  font-size: 14px;
}
.footer .footer-links {
  display: flex;
  gap: 24px;
}
.footer .footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
}
.footer .footer-links a:hover {
  color: #ffffff;
}

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .dashboard-content {
    margin-left: 0;
    padding: 20px;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .url-container {
    flex-direction: column;
  }
  .color-input-group {
    flex-direction: column;
    align-items: stretch;
  }
}
.dashboard {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: #0f1c35;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
}
.sidebar .logo {
  font-size: 20px;
  font-weight: 600;
  padding: 32px 24px 24px;
  color: white;
}

.user-info {
  text-align: center;
  padding: 0 24px 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.user-info h3 {
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 16px;
  color: white;
}

.avatar {
  overflow: hidden;
  width: 64px;
  height: 64px;
  background: rgba(42, 176, 232, 0.2);
  border: 2px solid #2AB0E8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
}

.plan-badge {
  display: inline-block;
  background: rgba(42, 176, 232, 0.2);
  color: #2AB0E8;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.sidebar-nav {
  padding: 0 16px;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 4px;
  border-radius: 6px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.nav-item:hover {
  background: rgba(42, 176, 232, 0.1);
  color: white;
}
.nav-item.active {
  background: rgba(42, 176, 232, 0.2);
  color: #2AB0E8;
}

.nav-icon {
  font-size: 18px;
}

.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-logout {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background: transparent;
  color: #94a3b8;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
}
.btn-logout:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.dashboard-content {
  flex: 1;
  margin-left: 280px;
  padding: 32px;
  overflow-y: auto;
  max-width: 1000px;
}

.config-section {
  display: none;
}
.config-section.active {
  display: block;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.section-header h1 {
  font-size: 32px;
  font-weight: 600;
  color: white;
  margin: 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4b5563;
  transition: 0.3s;
  border-radius: 26px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2AB0E8;
}
input:checked + .slider:before {
  transform: translateX(24px);
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-weight: 500;
  font-size: 14px;
}
.form-group input[type=text],
.form-group input[type=number],
.form-group input[type=search],
.form-group input[type=password],
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}
.form-group input[type=text]:focus,
.form-group input[type=number]:focus,
.form-group input[type=search]:focus,
.form-group input[type=password]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2AB0E8;
}
.form-group textarea {
  resize: vertical;
}

.color-input-group {
  display: flex;
  gap: 12px;
  align-items: center;
}
.color-input-group input[type=color] {
  width: 60px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
}
.color-input-group input[type=text] {
  flex: 1;
  font-family: "Courier New", monospace;
}

.switch-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}
.switch-group label {
  margin-bottom: 0;
}

.btn-save {
  background: #2AB0E8;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-save:hover {
  background: rgb(21.7330508475, 148.3516949153, 201.2669491525);
  transform: translateY(-1px);
}

.preview-container {
  background: rgba(0, 0, 0, 0.8);
  padding: 32px;
  border-radius: 8px;
  min-height: 400px;
}

.preview-overlay {
  max-width: 700px;
  margin: 0 auto;
}

.preview-opcion {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
}

.preview-letra {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.preview-barra-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-barra-container {
  position: relative;
  width: 100%;
  height: 40px;
  background: rgba(16, 1, 38, 0.8);
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.preview-barra {
  height: 100%;
  transition: width 0.5s ease;
  box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.2);
}

.preview-porcentaje {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.preview-votos {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.info-box {
  background: rgba(42, 176, 232, 0.05);
  padding: 16px;
  border-radius: 6px;
  border-left: 3px solid #2AB0E8;
  margin-top: 16px;
}
.info-box strong {
  color: #2AB0E8;
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
}
.info-box ul {
  list-style: none;
  padding: 0;
}
.info-box ul li {
  color: #94a3b8;
  font-size: 14px;
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}
.info-box ul li::before {
  content: "•";
  color: #2AB0E8;
  position: absolute;
  left: 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}
.info-list li {
  color: #94a3b8;
  font-size: 14px;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}
.info-list li::before {
  content: "✓";
  color: #2AB0E8;
  position: absolute;
  left: 0;
  font-weight: bold;
}

code {
  background: rgba(42, 176, 232, 0.1);
  color: #2AB0E8;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 13px;
}

.bot-status {
  background: rgba(42, 176, 232, 0.05);
  padding: 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}
.status-indicator span {
  font-weight: 600;
  color: white;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.status-dot.active {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
  animation: pulse 2s infinite;
}
.status-dot.inactive {
  background: #6b7280;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.btn-toggle {
  width: 100%;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  margin-top: 16px;
}
.btn-toggle.btn-danger {
  background: transparent;
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.5);
}
.btn-toggle.btn-danger:hover {
  background: rgba(239, 68, 68, 0.1);
}
.btn-toggle.btn-success {
  background: #22c55e;
  color: white;
}
.btn-toggle.btn-success:hover {
  background: #16a34a;
}
.btn-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pack-icon {
  display: flex;
  gap: 15px;
  align-items: center;
}
.pack-icon .icon-function-primary {
  width: 40px;
  height: 40px;
}
.pack-icon .icon-function-secondary {
  width: 20px;
  height: 20px;
}

.card {
  background: #0f1c35;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.card h2 {
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}
.card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.text-muted {
  color: #94a3b8;
  font-size: 13px;
  margin-top: 6px;
}

.url-container {
  display: flex;
  gap: 8px;
}
.url-container input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-family: "Courier New", monospace;
}

.btn-copy {
  background: rgba(42, 176, 232, 0.15);
  color: #2AB0E8;
  border: 1px solid rgba(42, 176, 232, 0.3);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.btn-copy:hover {
  background: rgba(42, 176, 232, 0.25);
}

.help-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}
.help-box strong {
  color: white;
  font-size: 13px;
  display: block;
  margin-bottom: 8px;
}
.help-box ul {
  list-style: none;
  padding: 0;
}
.help-box ul li {
  color: #94a3b8;
  font-size: 13px;
  padding: 3px 0 3px 16px;
  position: relative;
}
.help-box ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #2AB0E8;
}

.sr-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.sr-stats-header h2 {
  margin-bottom: 0;
}
.sr-stats-header select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}
.sr-stats-header select:focus {
  outline: none;
  border-color: #2AB0E8;
}

.sr-stats-totales {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.stat-total-card {
  flex: 1;
  background: rgba(42, 176, 232, 0.07);
  border: 1px solid rgba(42, 176, 232, 0.2);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-total-numero {
  font-size: 36px;
  font-weight: 700;
  color: #2AB0E8;
}

.stat-total-label {
  font-size: 13px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sr-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sr-stats-col h3 {
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.stats-lista {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s;
}
.stat-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.stat-posicion {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(42, 176, 232, 0.15);
  color: #2AB0E8;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.stat-info {
  flex: 1;
  min-width: 0;
}
.stat-info .stat-nombre {
  font-size: 13px;
  font-weight: 500;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stat-info .stat-detalle {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.stat-veces {
  font-size: 12px;
  font-weight: 600;
  color: #2AB0E8;
  white-space: nowrap;
  flex-shrink: 0;
}

.test-shoutout-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.test-shoutout-form .form-group {
  max-width: 320px;
}

.btn-test {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 193, 7, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(255, 193, 7, 0.3);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 4px;
}
.btn-test:hover {
  background: rgba(255, 193, 7, 0.2);
}
.btn-test:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

select {
  background-color: #1a1a2e;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
}
select option {
  background-color: #1a1a2e;
  color: #ffffff;
}

.nav-group-title {
  margin: 20px 16px 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.nav-lock {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.6;
}

.section-desc {
  margin-top: 8px;
  max-width: 620px;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.5;
}

.section-header {
  align-items: flex-start;
  gap: 24px;
}
.section-header .switch {
  flex-shrink: 0;
  margin-top: 8px;
}

.card-intro {
  margin: -12px 0 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.form-group-top {
  margin-top: 20px;
}

.card h3 {
  margin-top: 8px;
}

.botones-fila {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.estado-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.estado-card .status-indicator span {
  font-size: 18px;
}
.estado-card .btn-toggle {
  width: auto;
  margin-top: 0;
  flex-shrink: 0;
}

.pasos-lista {
  list-style: none;
  counter-reset: paso;
  padding: 0;
  margin: 0;
}
.pasos-lista li {
  counter-increment: paso;
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pasos-lista li:last-child {
  border-bottom: none;
}
.pasos-lista li::before {
  content: counter(paso);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: rgba(42, 176, 232, 0.15);
  color: #2AB0E8;
}
.pasos-lista li.hecho::before {
  content: "✓";
  background: #22c55e;
  color: white;
}

.paso-texto {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.paso-texto strong {
  color: white;
  font-size: 14px;
}
.paso-texto .text-muted {
  margin-top: 0;
}

.funciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.funcion-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px;
  text-align: left;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.funcion-card:hover {
  border-color: rgba(42, 176, 232, 0.5);
  background: rgba(42, 176, 232, 0.06);
  transform: translateY(-2px);
}
.funcion-card.is-premium {
  opacity: 0.75;
}

.funcion-icono {
  font-size: 24px;
}

.funcion-nombre {
  color: white;
  font-weight: 600;
  font-size: 15px;
}

.funcion-desc {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.4;
  flex: 1;
}

.badge-estado {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
}
.badge-estado.on {
  color: #22c55e;
}
.badge-estado.off {
  color: #94a3b8;
}
.badge-estado.premium {
  color: #fbbf24;
}

.obs-lista {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.obs-item-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.obs-item-info strong {
  color: white;
  font-size: 14px;
}
.obs-item-info .text-muted {
  margin-top: 0;
}

.premium-card {
  border-color: rgba(251, 191, 36, 0.3);
}

.premium-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.dato-fila {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dato-fila:last-child {
  border-bottom: none;
}
.dato-fila strong {
  color: white;
}

.btn-logout-inline {
  display: inline-block;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 12px 18px;
  border-radius: 8px;
  background: #0f1c35;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s;
  z-index: 1000;
}
.toast.visible {
  opacity: 1;
  transform: translateY(0);
}
.toast.success {
  border-left: 3px solid #22c55e;
}
.toast.error {
  border-left: 3px solid #ef4444;
}

@media (max-width: 700px) {
  .estado-card {
    flex-direction: column;
    align-items: stretch;
  }
  .estado-card .btn-toggle {
    width: 100%;
  }
  .section-header h1 {
    font-size: 26px;
  }
}
.nav-pronto {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.pronto-card {
  border-style: dashed;
}

.pronto-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.badge-estado.pronto {
  color: #94a3b8;
}

.btn-admin {
  margin-bottom: 8px;
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}

.lista-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.item-fila {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.item-fila.inactivo {
  opacity: 0.5;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.item-info strong {
  color: #2AB0E8;
  font-family: "Courier New", monospace;
  font-size: 15px;
}
.item-info .text-muted {
  margin-top: 0;
}

.item-texto {
  color: white;
  font-size: 14px;
  word-break: break-word;
}

.item-acciones {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-borrar {
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  background: transparent;
}

@media (max-width: 700px) {
  .item-fila {
    flex-direction: column;
    align-items: stretch;
  }
}
[hidden] {
  display: none !important;
}

.aviso-permisos {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.06);
}
.aviso-permisos .btn-save {
  display: inline-block;
  text-decoration: none;
}

.aviso-interno {
  border: 1px solid rgba(251, 191, 36, 0.4);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.aviso-interno p {
  margin: 0;
}

.campo-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

.aviso-campo-error {
  margin: 10px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  font-size: 14px;
  line-height: 1.5;
}

.avatar.con-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-peligro {
  border-color: rgba(239, 68, 68, 0.35);
}
.card-peligro h2 {
  color: #f87171;
}
.card-peligro a {
  color: #8fd8ff;
}

.notas-buscar {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ext-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 4px 0 20px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ext-tiempo {
  font-size: 56px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: white;
  line-height: 1.1;
}

.ext-estado {
  font-size: 14px;
  color: #94a3b8;
  text-align: center;
}

.ext-rapidos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ext-subtitulo {
  margin: 28px 0 12px;
  font-size: 17px;
  color: white;
}

@media (max-width: 700px) {
  .ext-tiempo {
    font-size: 40px;
  }
}
.btn-discord {
  color: #a5b4fc !important;
}

.card-discord {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-color: rgba(88, 101, 242, 0.4);
}
.card-discord h2 {
  margin-bottom: 6px;
}
.card-discord .btn-save {
  background: #5865F2;
  white-space: nowrap;
  text-decoration: none;
}

.card-premium-inicio {
  border-color: rgba(251, 191, 36, 0.4);
}
.card-premium-inicio .btn-save {
  background: #d97706;
}

#premiumEstado .botones-fila {
  margin: 16px 0 8px;
  flex-wrap: wrap;
}
#premiumEstado a:not(.btn-save):not(.btn-kofi-apoyo) {
  color: #8fd8ff;
}

a.btn-kofi-apoyo {
  display: inline-block;
  background: #ff5e5b;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  transition: all 0.2s;
}
a.btn-kofi-apoyo:hover {
  background: #e84d4a;
  color: #ffffff;
  transform: translateY(-1px);
}

a.btn-save {
  text-decoration: none;
}

.premium-card .btn-save {
  margin-top: 12px;
}

.card-intro a {
  color: #8fd8ff;
}

.interruptor-funcion {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s, border-color 0.2s;
}
.interruptor-funcion .switch {
  margin-top: 0 !important;
}
.interruptor-funcion:hover {
  background: rgba(255, 255, 255, 0.07);
}
.interruptor-funcion.encendida {
  border-color: rgba(42, 176, 232, 0.5);
  background: rgba(42, 176, 232, 0.1);
}
.interruptor-funcion.encendida .interruptor-estado {
  color: #8fd8ff;
}
.interruptor-funcion.apagada .interruptor-estado {
  color: #cbd5e1;
}
.interruptor-funcion.guardando {
  opacity: 0.6;
  pointer-events: none;
}

.interruptor-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.interruptor-info .interruptor-estado {
  font-size: 15px;
  font-weight: 700;
}
.interruptor-info .interruptor-ayuda {
  font-size: 12px;
  color: #94a3b8;
}

.aviso-apagada {
  margin: -12px 0 24px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #e2e8f0;
  background: rgba(148, 163, 184, 0.1);
  border: 1px dashed rgba(148, 163, 184, 0.45);
}
.aviso-apagada strong {
  color: white;
}

.funcion-apagada .card {
  opacity: 0.7;
  transition: opacity 0.2s;
}
.funcion-apagada .card:hover, .funcion-apagada .card:focus-within {
  opacity: 1;
}

.btn-kofi {
  color: #fca5a5 !important;
}

.sorteo-estado {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.sorteo-estado .sorteo-total {
  color: #94a3b8;
}
.sorteo-estado .sorteo-total strong {
  color: white;
  font-size: 22px;
}

.sorteo-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.sorteo-botones .btn-save {
  margin-top: 0;
}

.sorteo-subtitulo {
  margin: 24px 0 10px;
  font-size: 17px;
  color: white;
}

.sorteo-participantes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
}

.sorteo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px 5px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.sorteo-chip.ganador {
  border-color: #ffc53d;
  background: rgba(255, 197, 61, 0.12);
}
.sorteo-chip button {
  border: none;
  background: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 13px;
  padding: 0 4px;
}
.sorteo-chip button:hover {
  color: #f87171;
}

.subtitulo-card {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin: 20px 0 8px;
}
.subtitulo-card:first-of-type {
  margin-top: 8px;
}

#historialComandos .item-texto {
  white-space: normal;
  word-break: break-word;
}

.mod-filtro {
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.mod-filtro:last-child {
  border-bottom: none;
}
.mod-filtro.apagado > .form-group:not(.switch-group), .mod-filtro.apagado > .form-row {
  opacity: 0.45;
}

.lista-contadores {
  margin-top: 20px;
}

.contador-valor {
  min-width: 44px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: white;
}

.switch {
  flex-shrink: 0;
}

.switch-group {
  gap: 16px;
}

a.btn-copy {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.atenuado {
  opacity: 0.45;
}

.icono-plataforma {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 4px;
  object-fit: contain;
}

.multichat-diseno {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 16px;
}

.multichat-previa {
  position: sticky;
  top: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #2b3a55 0%, #4a2f5c 50%, #1f4d3d 100%);
}
.multichat-previa iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
  background: transparent;
}

@media (max-width: 900px) {
  .multichat-diseno {
    grid-template-columns: 1fr;
  }
  .multichat-previa {
    position: static;
  }
}
.onboarding {
  min-height: 100vh;
  background: #0a1428;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.onboarding-container {
  max-width: 700px;
  width: 100%;
}
.onboarding-container h1 {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
  color: white;
  line-height: 1.2;
}
.onboarding-container .subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 28px;
}
.onboarding-container > p:has(.btn-primary) {
  text-align: center;
  margin: 8px 0 24px;
}

.permissions-section {
  margin-bottom: 24px;
}
.permissions-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: white;
  margin-bottom: 14px;
}

.permission-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.permission-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.permission-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 20px;
  background: rgba(42, 176, 232, 0.12);
}

.permission-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 2px;
}
.permission-info p {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
}

.security-note {
  margin-bottom: 28px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.07);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.security-note p {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}
.security-note strong {
  color: #4ade80;
}
.security-note em {
  color: white;
  font-style: normal;
  font-weight: 600;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn-authorize {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 360px;
  padding: 16px 28px;
  border-radius: 8px;
  background: #9146FF;
  color: white;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(145, 70, 255, 0.35);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-authorize:hover {
  background: #a066ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(145, 70, 255, 0.45);
}
.btn-authorize .twitch-icon {
  font-size: 14px;
}

.btn-back {
  color: #94a3b8;
  font-size: 14px;
  text-decoration: none;
}
.btn-back:hover {
  color: white;
}

@media (max-width: 600px) {
  .onboarding {
    align-items: flex-start;
    padding: 28px 16px;
  }
  .onboarding-container h1 {
    font-size: 27px;
  }
  .permission-item {
    padding: 12px;
  }
  .permission-icon {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }
}
.badge-beta {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.hero .nota-beta,
.cta .nota-beta {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 14px;
}

.pasos-landing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.paso-landing {
  text-align: center;
  padding: 24px;
}
.paso-landing h3 {
  margin: 12px 0 8px;
  color: white;
  font-size: 20px;
}
.paso-landing p {
  color: #94a3b8;
  line-height: 1.5;
}

.paso-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  background: rgba(42, 176, 232, 0.15);
  color: #2AB0E8;
}

.features-alt {
  background: rgba(255, 255, 255, 0.02);
}

.feature-card h3 {
  color: white;
  margin-bottom: 8px;
}
.feature-card p {
  color: #94a3b8;
  line-height: 1.5;
}

.subtitulo-premium {
  margin-top: 64px;
}
.subtitulo-premium span {
  font-size: 16px;
  font-weight: 500;
  color: #94a3b8;
  margin-left: 8px;
}

.texto-premium {
  max-width: 640px;
  margin: -8px auto 24px;
  text-align: center;
  color: #94a3b8;
  line-height: 1.5;
}

.feature-premium {
  border-color: rgba(251, 191, 36, 0.25);
}

.badge-premium {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.aviso-beta {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #ffffff;
}
.aviso-beta strong {
  color: #fbbf24;
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: 32px;
  }
  .hero h1 br {
    display: none;
  }
  .header .container nav a[href="#como-funciona"],
  .header .container nav a[href="#funciones"] {
    display: none;
  }
  .header .container nav .btn-login {
    white-space: nowrap;
  }
  .header .container img {
    width: 110px;
  }
  .header .container nav {
    gap: 12px;
    font-size: 14px;
  }
}
.nota-beta a,
.aviso-beta a,
.subtitle a {
  color: #8fd8ff;
}

.hero-beta {
  text-align: left;
  padding: 72px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-grid .hero-texto h1 {
  text-align: left;
  font-size: 42px;
}
.hero-grid .hero-texto h1 br {
  display: none;
}
.hero-grid .hero-texto p {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 24px;
}

.hero-puntos {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #ffffff;
  font-size: 16px;
}

.form-beta {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px;
  scroll-margin-top: 24px;
}
.form-beta h2 {
  color: white;
  font-size: 24px;
  margin-bottom: 4px;
}
.form-beta p {
  max-width: none;
  margin: 0;
  font-size: inherit;
}
.form-beta .text-form {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 8px;
}
.form-beta form {
  display: flex;
  flex-direction: column;
}
.form-beta label {
  color: white;
  font-size: 14px;
  font-weight: 500;
  margin: 12px 0 6px;
}
.form-beta label span {
  color: #94a3b8;
  font-weight: 400;
}
.form-beta input,
.form-beta textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 11px 12px;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
}
.form-beta input:focus,
.form-beta textarea:focus {
  outline: none;
  border-color: #2AB0E8;
}
.form-beta textarea {
  resize: vertical;
}
.form-beta .btn-form {
  margin-top: 20px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  width: 100%;
}
.form-beta .btn-form:disabled {
  opacity: 0.6;
  cursor: wait;
}
.form-beta .campo-trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-beta .form-estado {
  margin-top: 12px;
  font-size: 14px;
  color: #94a3b8;
  min-height: 1em;
}
.form-beta .form-estado.error {
  color: #f87171;
}
.form-beta .form-ok {
  color: white;
  font-size: 16px;
  line-height: 1.5;
  padding: 12px 0;
}
.form-beta .form-ok a {
  color: #8fd8ff;
}
.form-beta .form-privacidad {
  margin-top: 8px;
  font-size: 12px;
  color: #94a3b8;
}
.form-beta .ya-invitado {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: #94a3b8;
  text-align: center;
}
.form-beta .ya-invitado a {
  color: #8fd8ff;
  font-weight: 600;
  text-decoration: none;
}

.cta .nota-beta a {
  color: #8fd8ff;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (max-width: 700px) {
  .hero-beta {
    padding: 40px 0;
  }
  .hero-grid .hero-texto h1 {
    font-size: 30px;
  }
  .form-beta {
    padding: 22px;
  }
}
.form-beta .form-privacidad a,
.security-note a {
  color: #8fd8ff;
}

.legal {
  padding: 60px 0 80px;
}
.legal .legal-container {
  max-width: 780px;
}
.legal h1 {
  font-size: 36px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 22px;
  color: white;
  margin: 0 0 14px;
}
.legal h3 {
  font-size: 17px;
  color: white;
  margin: 22px 0 8px;
}
.legal p,
.legal li {
  color: #94a3b8;
  line-height: 1.65;
  font-size: 15px;
}
.legal p {
  margin-bottom: 12px;
}
.legal ul {
  margin: 0 0 12px;
  padding-left: 20px;
  list-style: disc;
}
.legal li {
  margin-bottom: 6px;
}
.legal strong {
  color: #ffffff;
}
.legal a {
  color: #8fd8ff;
}
.legal section {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  scroll-margin-top: 20px;
}

.legal-fecha {
  font-size: 13px !important;
  margin-bottom: 28px !important;
}

.legal-resumen {
  padding: 16px 18px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(42, 176, 232, 0.08);
  border: 1px solid rgba(42, 176, 232, 0.3);
  color: #ffffff;
  line-height: 1.6;
  font-size: 15px;
}

.legal-indice {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 6px 24px;
  margin-bottom: 20px;
}
.legal-indice a {
  font-size: 14px;
  text-decoration: none;
}
.legal-indice a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .legal {
    padding: 36px 0 60px;
  }
  .legal h1 {
    font-size: 28px;
  }
}
.feature-card p a {
  color: #8fd8ff;
}

.form-ok a {
  color: #8fd8ff;
}

@media (max-width: 420px) {
  .header .container nav a[href*="discord.gg"] {
    display: none;
  }
}
a:not([class]) {
  color: #8fd8ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:not([class]):hover {
  color: #ffffff;
}

/*# sourceMappingURL=styles.css.map */
