/* Auth pages — MANDO */

.auth-body {
  background: linear-gradient(to bottom, #edf0f5 55%, #d8e6ef 80%, #c8dbe8 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* ── Decoraciones de fondo ── */
.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bg-dots      { position: absolute; opacity: .55; }
.bg-dots-1    { bottom: 120px; left: 20px; }
.bg-dots-2    { bottom: 90px;  left: 320px; }
.bg-wave      { position: absolute; bottom: -10px; left: -10px; right: -10px; width: calc(100% + 20px); height: 320px; }

/* ── Split ── */
.auth-split {
    display: flex;
    width: 1300px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    justify-content: center;
    margin: auto;
    max-width: 100%;
}

/* ── Panel izquierdo ── */
.auth-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0 4rem 0;
  /*background: rgba(237,240,245,0.72);*/
  /*max-width: 680px;*/
}

.auth-branding { margin-bottom: 3rem; }

.auth-logo-img { height: 34px; width: auto; display: block; }

.auth-company-name {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 7px;
}
.auth-company-name em { color: #1D9E75; font-style: normal; }

.auth-tagline {
  font-size: 37px;
  font-weight: 800;
  color: #0C2340;
  line-height: 1.18;
  letter-spacing: -.5px;
  max-width: 78%;
}
.auth-tagline span { color: #1D9E75; }

.auth-tagline-accent {
  width: 36px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #185FA5 0%, #1D9E75 100%);
  margin: 1.1rem 0;
}

.auth-tagline-sub {
  font-size: 14.5px;
  color: #5a6a83;
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 1.9rem;
}

.auth-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 2rem;
}
.auth-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: #374151;
}
.auth-features li i { font-size: 17px; color: #1D9E75; flex-shrink: 0; }

.auth-modules-preview { display: flex; gap: 7px; flex-wrap: wrap; }
.module-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 13px; border-radius: 20px;
  font-size: 11.5px; font-weight: 500;
  background: rgba(255,255,255,.72);
  border: 1.5px solid rgba(180,196,220,.7);
  color: #475569;
  backdrop-filter: blur(4px);
}
.module-chip i { font-size: 13px; color: #64748b; }

/* ── Panel derecho ── */
.auth-right {
  width: 380px;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}

/* Card */
/*.auth-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow:
    0 2px 4px rgba(12,35,64,.04),
    0 12px 40px rgba(12,35,64,.12),
    0 0 0 1px rgba(255,255,255,.6);
  padding: 2.25rem 2rem 1.75rem;
  width: 100%;
  max-width: 386px;
}*/

.auth-card-logo {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(241,245,249,.9);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.2rem;
}
.auth-card-logo svg { width: 26px; height: 26px; }

.auth-form-header { text-align: center; margin-bottom: 1.5rem; }
.auth-form-header h2 { font-size: 21px; font-weight: 700; color: #0C2340; margin-bottom: 3px; }
.auth-form-header p  { font-size: 13px; color: #6b7a99; }

/* Mobile brand */
.auth-mobile-brand {
  display: none;
  align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 2rem;
}
.auth-mobile-brand-name { font-size: 24px; font-weight: 900; color: #0C2340; letter-spacing: 5px; }

/* ── Form elements ── */
.form-group  { margin-bottom: .9rem; }
.form-label  {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; font-weight: 500; color: #3d4f67; margin-bottom: 5px;
}
.form-label-link { font-weight: 400; font-size: 12px; color: #185FA5; }
.form-input {
  display: block; width: 100%;
  padding: 9px 13px 9px 36px;
  border: 1.5px solid #dde3ee;
  border-radius: 8px;
  font-size: 13.5px; font-family: inherit;
  color: #0C2340; background: #fff;
  outline: none; transition: border-color .18s;
}
.form-input:focus { border-color: #185FA5; }
.input-icon-wrap   { position: relative; }
.input-icon        { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 16px; pointer-events: none; }
.input-icon-wrap .form-input { padding-left: 36px; }
.input-icon-right  { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #94a3b8; cursor: pointer; padding: 4px; font-size: 15px; display: flex; align-items: center; }


.auth-form-wrap.islogin {
    background: white;
    border-radius: 20px;
}

@media (min-width:785px) {
  .auth-form-wrap.islogin {
    min-width: 480px;
    padding: 40px;
  }
}

@media (max-width:784px) {
  .auth-form-wrap.islogin {
    margin: 20px;
    padding: 20px;
  }

  .auth-body {
    overflow: inherit;
    background: none!important;
  }
}

/* CTA button override */
.auth-card .btn-primary {
  background: #185FA5;
  font-size: 14.5px;
  padding: 12px 20px;
  border-radius: 10px;
}
.auth-card .btn-primary:hover { background: #1450a0; }

/* Divider */
.auth-divider {
  position: relative; text-align: center;
  margin: 1rem 0 .75rem; font-size: 11px; color: #c4cdd8;
}
.auth-divider::before {
  content: ''; position: absolute;
  top: 50%; left: 0; right: 0; height: 1px; background: #dde3ee;
}
.auth-divider span { position: relative; background: #fff; padding: 0 10px; z-index: 1; }

/* Secure badge */
.auth-secure-badge {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; font-size: 12px; color: #6b7a99;
}
.auth-secure-badge i { color: #1D9E75; font-size: 15px; }

/* Register link */
.auth-register-link { text-align: center; margin-top: .9rem; font-size: 13px; color: #6b7a99; }
.auth-register-link a { color: #185FA5; font-weight: 600; }

/* Footer */
.auth-footer {
  display: flex; justify-content: space-between;
  font-size: 10.5px; color: #94a3b8;
  margin-top: 1.2rem; padding-top: .9rem;
  border-top: 1px solid #f1f5f9;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .auth-left  { display: none; }
  .auth-right {
    width: 100%; 
    min-height: 100vh;
    /*background: rgba(255,255,255,.96);*/
    /*padding: 2rem 1.25rem;*/
    align-items: stretch;
  }
  .auth-card { box-shadow: none; backdrop-filter: none; background: transparent; padding: 0; max-width: 100%; }
  .auth-mobile-brand { display: flex; }
  .auth-footer { display: none; }
}
