/* ==========================================================================
   ESTILOS GENERALES Y LAYOUT LOGIN - EPS EMAPAT S.A.
   ========================================================================== */

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 15% 85%, #dbeafe 0%, #f8fafc 50%, #f1f5f9 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
}

.login-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.login-card-container {
  width: 100%;
  max-width: 960px;
}

/* Columna Izquierda: Branding */
.brand-section {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand-icon-wrapper {
  position: relative;
  width: 92px;
  height: 92px;
  background-color: transparent;
  border: 2.5px solid #bae6fd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.brand-icon-wrapper img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.brand-icon-wrapper .main-icon {
  font-size: 2.5rem;
  color: #0284c7;
}

.brand-icon-wrapper .shield-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background-color: #0284c7;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 2.5px solid #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.brand-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.5px;
  margin-bottom: 0.1rem;
  line-height: 1;
}

.brand-title .accent-t {
  color: #0284c7;
}

.brand-title-bar {
  width: 100%;
  max-width: 330px;
  height: 3.5px;
  background-color: #0284c7;
  border-radius: 2px;
  margin-top: 0.6rem;
  margin-bottom: 1rem;
}

.brand-subtitle {
  font-size: 0.92rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.45;
  max-width: 340px;
  margin-bottom: 0;
}

.security-notice {
  margin-top: 2rem;
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.security-notice .sec-icon {
  color: #0284c7;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.security-notice-text {
  font-size: 0.82rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.3;
}

.security-notice-subtext {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 400;
  margin-top: 3px;
}

/* Columna Derecha: Tarjeta de Formulario */
.card-login-custom {
  border: none;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.03);
  background: #ffffff;
  padding: 2.5rem 2.25rem;
}

.company-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.company-header .faucet-icon {
  color: #0284c7;
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
}

.company-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #1e3a8a;
  display: block;
}

.login-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 0.25rem;
}

.login-subheading {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 1.75rem;
}

/* Inputs Personalizados */
.input-field-wrapper {
  position: relative;
  margin-bottom: 1.15rem;
}

.input-field-wrapper .input-icon-left {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
  z-index: 5;
}

.input-field-wrapper .input-icon-right {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 5;
  background: none;
  border: none;
  padding: 0;
}

.form-control-login {
  height: 46px;
  padding-left: 40px;
  padding-right: 40px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background-color: #fafafa;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.form-control-login:focus {
  background-color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
}

.forgot-link {
  color: #0284c7;
  font-weight: 600;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.btn-submit-login {
  height: 46px;
  border-radius: 8px;
  background-color: #0284c7;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: all 0.2s ease-in-out;
}

.btn-submit-login:hover {
  background-color: #0369a1;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

.card-footer-note {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8f0;
  font-size: 0.78rem;
  color: #94a3b8;
}

.copyright-footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Reglas Responsivas */
@media (max-width: 991.98px) {
  .brand-section {
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
  }

  .card-login-custom {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}