:root {
  --color: #e1e1e6;
  --bg-linear: linear-gradient(
    to right bottom,
    #232323,
    #1f1f1f,
    #1b1b1b,
    #171717,
    #121212
  );
  --danger: #eb1e5d;
  --contraparte: #232323;
  --red: #4a7fc1;
  --red-font: #ffffff;
}

.theme-dark {
  --color: #e1e1e6;
  --bg-linear: linear-gradient(
    to right bottom,
    #232323,
    #1f1f1f,
    #1b1b1b,
    #171717,
    #121212
  );
  --contraparte: #232323;
}

.theme-light {
  --color: #000;
  --bg-linear: linear-gradient(
    to right bottom,
    #f7f8f9,
    #e5e8eb,
    #d4d8de,
    #c3c9d1,
    #b3b9c4
  );
  --contraparte: #f7f8f9;
}


/* Alerta de usuario temporal */
#anonimo-alert {
  position: fixed;
  top: 10px;
  left: 10px;
  background: #ffffff;
  color: #222;
  border-radius: 10px;
  padding: 5px 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  font-size: 13px;
  max-width: 260px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

#anonimo-alert.visible {
  opacity: 1;
  transform: translateY(0);
}

.timer-container{
  text-align: center;
}

.anonimo-header {
  color: #ffbf00;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 20px;
  text-align: center;
}

#anonimo-alert .anonimo-body {
  line-height: 1.2;
  margin-bottom: 10px;
}

#anonimo-alert button {
  display: inline-block;
  width: 100%;
  background: #000000;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 5px 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

#anonimo-alert button:hover {
  background: #b0b0b0;
  color: #000000;
}

/* Animación de la alerta */
@keyframes shake {
  0%, 100% { transform: translate(0, 0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
  20%, 40%, 60%, 80% { transform: translateX(2px); }
}

#anonimo-alert.shake {
  animation: shake 0.6s ease;
}

/* Moviles */
@media (max-width: 600px) {
  #anonimo-alert {
    top: 6px;
    left: 6px;
    padding: 4px 10px;
    font-size: 11px;
    max-width: 200px;
    border-radius: 8px;
  }

  .anonimo-header {
    font-size: 15px;
  }

  #anonimo-alert button {
    font-size: 11px;
    padding: 4px 0;
    border-radius: 8px;
  }
}