/* ===============================
    🎨 ESTILOS PRINCIPALES DEL FORMULARIO
=============================== */
* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f1f5f9;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-wrapper {
  width: 90%;
  max-width: 920px;
  display: flex;
  background-color: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: fadeIn 1s ease-in-out;
}

.login-left {
  flex: 1;
  background-color: #f8fafc;
  padding: 60px 40px;
  text-align: center;
  border-right: 2px solid #e2e8f0;
}

.login-left img {
  width: 140px;
  margin-bottom: 5px;
}

.login-left h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #0A2342;
}

.login-left p {
  font-size: 16px;
  color: #475569;
}

.login-right {
  flex: 1;
  padding: 60px 40px;
}

.login-right h2 {
  font-size: 24px;
  color: #0A2342;
  text-align: center;
  margin-bottom: 25px;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group svg {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: #F6C12C;
}

.input-group input {
  width: 100%;
  padding: 12px 16px 12px 48px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  transition: 0.3s ease;
}

.input-group input:focus {
  border-color: #F6C12C;
  outline: none;
}

.login-form button {
  width: 100%;
  padding: 12px;
  background-color: #0A2342;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-form button:hover {
  background-color: #07192E;
}

.error {
  background-color: #ffe0e0;
  color: #b91c1c;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
  text-align: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}