/* =====================================================
   ESTILOS LOGIN
   ===================================================== */

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.login-container {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.15);
  width: 100%;
  max-width: 400px;
}

.login-icon {
  height: 80px;
  width: 80px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.login-container h1 {
  font-size: 28px;
  color: #c41e3a;
  margin-bottom: 10px;
  font-weight: 700;
}

.login-container p {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.required {
  color: #c41e3a;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #c41e3a;
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.btn-login {
  width: 100%;
  padding: 12px;
  background-color: #c41e3a;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.btn-login:hover {
  background-color: #a01830;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.btn-login:active {
  transform: translateY(0);
}

.error-message {
  background-color: #fee;
  color: #c41e3a;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
  border-left: 4px solid #c41e3a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .login-container {
    padding: 30px 20px;
  }

  .login-container h1 {
    font-size: 24px;
  }

  .login-icon {
    height: 60px;
    width: 60px;
    margin-bottom: 20px;
  }
}
