* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: linear-gradient(135deg, #e0f0ff 0%, #b8d9ff 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

/* Fondo decorativo con dientes */
/* body::before {
  content: "🦷";
  font-size: 300px;
  position: absolute;
  bottom: -80px;
  right: -80px;
  opacity: 0.05;
  pointer-events: none;
  transform: rotate(15deg);
}

body::after {
  content: "🦷";
  font-size: 200px;
  position: absolute;
  top: -50px;
  left: -50px;
  opacity: 0.05;
  pointer-events: none;
  transform: rotate(-10deg);
} */

.login-container {
  width: 100%;
  max-width: 460px;
  z-index: 2;
}

.login-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(2px);
  border-radius: 32px;
  box-shadow:
    0 25px 45px -12px rgba(0, 0, 0, 0.25),
    0 8px 18px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.login-card:hover {
  transform: translateY(-5px);
}

.login-header {
  background: linear-gradient(120deg, #1e4a76, #0a2e4a);
  padding: 40px 30px;
  text-align: center;
  color: white;
}

.login-header i {
  font-size: 70px;
  background: white;
  color: #1e4a76;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
}

.login-header h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.login-header p {
  font-size: 14px;
  opacity: 0.85;
}

.login-body {
  padding: 40px 35px;
}

.form-group {
  margin-bottom: 28px;
  position: relative;
}

.form-group i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #7c8b9b;
  font-size: 20px;
  transition: all 0.3s;
  pointer-events: none;
}

.form-group input {
  width: 100%;
  padding: 14px 14px 14px 40px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  background-color: #f8fafc;
  transition: all 0.2s ease;
  outline: none;
}

.form-group input:focus {
  border-color: #1e4a76;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(30, 74, 118, 0.1);
}

.form-group input:focus + i {
  color: #1e4a76;
}

.checkbox-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  font-size: 14px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2d3e50;
  cursor: pointer;
}

.checkbox-group input {
  width: auto;
  margin: 0;
}

.forgot-link {
  color: #1e4a76;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.forgot-link:hover {
  color: #0f2c42;
  text-decoration: underline;
}

.btn-login {
  width: 100%;
  background: linear-gradient(90deg, #1e4a76, #0f2e48);
  border: none;
  padding: 14px;
  border-radius: 40px;
  font-size: 18px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-login:hover {
  background: linear-gradient(90deg, #0f2e48, #1e4a76);
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-login i {
  font-size: 20px;
}

.register-link {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #5a6e7c;
}

.register-link a {
  color: #1e4a76;
  font-weight: 600;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

/* Mensajes de error */
.errorlist {
  list-style: none;
  background: #fee2e2;
  color: #b91c1c;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  border-left: 4px solid #b91c1c;
}

/* Responsive */
@media (max-width: 500px) {
  .login-body {
    padding: 30px 25px;
  }
  .login-header {
    padding: 30px 20px;
  }
}
