* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: Arial, sans-serif;
  background: #1e1e2f;
  color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}
.container {
  background: #2c2c44;
  padding: 25px;
  border-radius: 15px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.4);
}
h1 { margin-bottom: 20px; text-align: center; }
.tabs { display: flex; margin-bottom: 20px; }
.tabs button {
  flex: 1; padding: 12px;
  background: #3b3b55; border: none; color: #fff;
  cursor: pointer; transition: 0.3s;
}
.tabs button.active { background: #00aaff; font-weight: bold; }
form { display: none; flex-direction: column; }
form.active { display: flex; }
input {
  margin: 10px 0; padding: 12px;
  border-radius: 8px; border: none;
  background: #3b3b55; color: #fff;
}
button.submit {
  margin-top: 15px; padding: 12px;
  border-radius: 8px; border: none;
  background: #00aaff; color: white; font-weight: bold;
  cursor: pointer; transition: 0.3s;
}
button.submit:hover { background: #0088cc; }
.modal {
  display: none; position: fixed; z-index: 999;
  left: 0; top: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center; align-items: center;
}
.modal-content {
  background: #2c2c44; padding: 20px;
  border-radius: 12px; text-align: center; max-width: 300px;
}
.modal img { border-radius: 50%; margin-bottom: 10px; }
.modal button { margin: 8px; width: 100px; }

/* Notificaciones (toast) */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}
.toast {
  background: #ff4c4c;
  color: #fff;
  padding: 12px 18px;
  margin-top: 10px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.4s ease;
}
.toast.show {
  opacity: 1;
  transform: translateX(0);
}
.toast.success { background: #00c853; }
.toast.warning { background: #ffa000; }
@media (max-width: 480px) {
  .container { padding: 20px; }
  h1 { font-size: 22px; }
  input, button { font-size: 14px; }
}

/* CAMBIO AQUÍ: Reemplaza el estilo anterior del enlace con este */
.forgot-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #00aaff; /* Usamos el color cian principal para que se vea interactivo */
    text-decoration: none; /* Quitamos el subrayado por defecto */
    font-size: 14px;
    font-weight: bold; /* Le damos un poco más de peso */
    transition: all 0.3s ease; /* Agregamos una transición suave */
}

.forgot-link:hover {
    text-decoration: underline; /* Añadimos el subrayado solo al pasar el ratón */
    color: #00cfff; /* Hacemos el color un poco más brillante en hover */
}