/* ============================================================
   LOGIN.CSS — SmartModule — Login SaaS Premium
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

/* OVERLAY CON DESENFOQUE */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

/* CARD PREMIUM FLOTANTE */
.auth-card {
  display: flex;
  width: 520px;
  height: 480px; /* Un poco más compacto */
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

/* FRANJA LATERAL ELEGANTE */
.auth-sidebar {
  background: #122b50;
  color: white;
  width: 60px; /* Más estilizado */
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* LOGO VERTICAL REFINADO */
.vertical-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 5px;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  text-transform: uppercase;
  white-space: nowrap;
  color: #63b3ed; /* Color acento */
  opacity: 0.9;
}

/* CONTENIDO DEL FORMULARIO */
.auth-content {
  padding: 50px 45px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #1a202c;
  margin-bottom: 8px;
  text-align: left;
}

.auth-content::before {
  content: "ACCESO AL SISTEMA";
  font-size: 10px;
  font-weight: 800;
  color: #1b62b1;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.auth-content label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  color: #718096;
  margin-bottom: 6px;
  display: block;
  letter-spacing: 0.8px;
}

.auth-content input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #edf2f7;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 20px;
  color: #1a202c;
  background: #f8fafc;
  transition: all 0.2s;
  box-sizing: border-box;
}

.auth-content input:focus {
  outline: none;
  border-color: #1b62b1;
  background: white;
  box-shadow: 0 0 0 3px rgba(27, 98, 177, 0.1);
}

/* BOTÓN DE ALTA GAMA */
.btn-login {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1b62b1 0%, #122b50 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 10px;
  transition: transform 0.1s;
  box-shadow: 0 4px 12px rgba(27, 98, 177, 0.3);
}

.btn-login:active {
  transform: scale(0.98);
}

.btn-login:hover {
  background: linear-gradient(135deg, #1e40af 0%, #122b50 100%);
  box-shadow: 0 6px 15px rgba(27, 98, 177, 0.4);
}

/* MENSAJE DE ERROR */
.error-msg {
  color: #e53e3e;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 15px;
  background: #fff5f5;
  padding: 8px;
  border-radius: 4px;
  border-left: 3px solid #e53e3e;
}