* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f4f6f8;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTENEDOR */
.login-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* TARJETA */
.login-card {
  background: #ffffff;
  width: 360px;
  padding: 32px 28px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  text-align: center;
}

/* LOGO */
.logo {
  max-width: 160px;
  margin-bottom: 18px;
}

/* TEXTOS */
.login-card h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 22px;
}

/* INPUTS */
.login-card input,
.login-card select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

/* BOTÓN */
.btn-login {
  width: 100%;
  padding: 12px;
  background: #000;
  color: #d4af37;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  margin-top: 6px;
}

.btn-login:hover {
  opacity: 0.9;
}

/* LINK */
.forgot-link {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* MENSAJE */
.error {
  margin-top: 10px;
  font-size: 13px;
  color: red;
}

/* MODAL SOLICITUD USUARIO */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65); /* azul oscuro elegante */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  animation: fadeIn .25s ease-in-out;
}

.modal-content h3 {
  margin-bottom: 15px;
  font-size: 20px;
  text-align: center;
  color: #0f172a;
}

.modal-content input,
.modal-content select {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

.modal-content button {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
}

.modal-content button:first-of-type {
  background: #0f172a;
  color: white;
}

.modal-content button:last-of-type {
  background: #e5e7eb;
  color: #111827;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Estilo para el botón secundario */
.btn-secondary {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #000;
    color: #fff;
}
