/* ===================================
   AUTH PAGE — CONTENEDOR GLOBAL
=================================== */

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f4f4f4;
}

/* ===================================
   GREEN BAR (CONSISTENTE CON OTRAS VISTAS)
=================================== */

.auth-bar {
  width: 100%;
  max-width: 1400px;
  margin: 20px auto;
}

.auth-bar__text {
  width: 100%;
  min-height: 65px;

  display: flex;
  align-items: center;

  background: #0aa64f;
  color: #ffffff;
  font-size: 28px;
  font-weight: 600;

  padding: 14px 32px;
  border-radius: 20px;
}

/* ===================================
   CONTENT — CENTRADO REAL
=================================== */

.auth-content {
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;

  box-sizing: border-box;
}

/* ===================================
   HERO IMAGE
=================================== */

.auth-hero {
  flex: 1;
  display: flex;
  justify-content: center;
}

.auth-hero__img {
  width: 420px;
  max-width: 100%;
  height: auto;
}

/* ===================================
   CARD
=================================== */

.auth-card {
  width: 100%;
  max-width: 380px;
}

.auth-card__title {
  font-size: 22px;
  font-weight: 700;
  color: #0b78c6;
  margin-bottom: 20px;
  text-align: center;
}

/* ===================================
   ERRORS
=================================== */

.auth-card__errors {
  background: #ffe6e6;
  border: 1px solid #ffb3b3;
  color: #cc0000;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 14px;
}

.auth-card__errors ul {
  margin: 0;
  padding-left: 18px;
}

/* ===================================
   FORM
=================================== */

.auth-form {
  display: flex;
  flex-direction: column;
}

.auth-field {
  margin-bottom: 14px;
}

.auth-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

/* ===================================
   INPUTS
=================================== */

.auth-input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 2px solid #0b78c6;
  outline: none;
  font-size: 14px;
  background: #ffffff;
  transition: 0.2s ease;
}

.auth-input:focus {
  border-color: #0aa64f;
}

/* ===================================
   ROW (REMEMBER / LINK)
=================================== */

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 16px;
  font-size: 14px;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
}

.auth-link {
  color: #0b78c6;
  text-decoration: none;
  font-weight: 500;
}

.auth-link:hover {
  text-decoration: underline;
}

/* ===================================
   BUTTON
=================================== */

.auth-btn {
  align-self: center;
  background: #0b78c6;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 12px 42px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.auth-btn:hover {
  background: #095fa3;
}

/* ===================================
   SMALL TEXT
=================================== */

.auth-small {
  margin-top: 16px;
  font-size: 13px;
  text-align: center;
  color: #555;
}

/* ===================================
   BOTTOM BAR
=================================== */

.auth-bottom-bar {
  height: 40px;
  background: #0b78c6;
  width: 100%;
}

/* ===================================
   TABLET
=================================== */

@media (max-width: 1024px) {

  .auth-content {
    gap: 50px;
  }

  .auth-hero__img {
    width: 340px;
  }

}

/* ===================================
   MOBILE
=================================== */

@media (max-width: 768px) {

  .auth-content {
    flex-direction: column;
    gap: 40px;
    padding: 30px 16px;
  }

  .auth-hero__img {
    width: 260px;
  }

  .auth-bar__text {
    font-size: 20px;
    justify-content: center;
    text-align: center;
    padding: 12px 16px;
  }

  .auth-card {
    max-width: 100%;
  }

}
