/* =====================================================================
   GESTORFLUXPRO - TEMA MODERNO CYBER / DESIGN IA PRO LOGIN
   ===================================================================== */

:root {
  --bg-1: #030b24;
  --bg-2: #071a4f;
  --blue: #1458ff;
  --blue-2: #0a3de0;
  --cyan: #19b8ff;
  --ink: #0b1533;
  --muted: #4a5573;
  --line: #d6def0;
  --field: #ffffff;
  --yellow: #ffc21a;
}

body.login-pro-body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  color: #fff !important;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(900px 600px at 8% 105%, rgba(25,120,255,.45), transparent 60%),
    radial-gradient(800px 600px at 100% 0%, rgba(30,110,255,.5), transparent 60%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2) 60%, #05123a) !important;
  overflow-x: hidden;
  position: relative;
}

/* Faixas de luz neon decorativas */
body.login-pro-body::before,
body.login-pro-body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  border: 2px solid rgba(60, 150, 255, .32);
  filter: blur(.5px);
  box-shadow: 0 0 40px rgba(40, 130, 255, .35), inset 0 0 60px rgba(40, 130, 255, .15);
  z-index: 0;
}
body.login-pro-body::before { width: 1100px; height: 1100px; right: -520px; top: -620px; }
body.login-pro-body::after { width: 900px; height: 900px; left: -560px; bottom: -480px; }

/* =====================================================================
   CONTAINER PRINCIPAL: SÓ A IMAGEM NA ESQUERDA E LOGIN NA DIREITA
   ===================================================================== */
.login-pro-page {
  max-width: 1720px;
  width: 100%;
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(420px, 470px);
  gap: 42px;
  padding: 24px 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Lado Esquerdo: Apenas a imagem do banner (ampliada e em destaque) */
.login-pro-banner-col {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.banner-card-box {
  position: relative;
  width: 100%;
  max-width: 1040px;
  border-radius: 30px;
  overflow: hidden;
  border: 1.5px solid rgba(80, 160, 255, 0.42);
  background: rgba(8, 22, 60, 0.6);
  box-shadow: 0 32px 85px rgba(0, 8, 35, 0.78), 0 0 50px rgba(25, 120, 255, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.banner-card-box:hover {
  transform: translateY(-4px);
  border-color: rgba(90, 180, 255, 0.75);
  box-shadow: 0 38px 95px rgba(0, 8, 40, 0.88), 0 0 60px rgba(25, 140, 255, 0.42);
}

.banner-box-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.banner-box-img {
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: cover;
  display: block;
}

.banner-box-img.banner-fallback {
  object-fit: contain;
  padding: 32px;
}

/* Lado Direito: Coluna e Cartão de Login */
.login-pro-card-col {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
  border: 1.5px solid #2c6bff;
  box-shadow: 0 0 16px rgba(30, 110, 255, .4);
  color: #38bdf8;
}
.hero-feat .ico svg { width: 24px; height: 24px; }

/* ---------- Cartão de Login Moderno (Lado Direito) ---------- */
.login-pro-card {
  background: linear-gradient(180deg, #ffffff, #f3f6fd);
  color: var(--ink);
  border-radius: 38px;
  padding: 48px 46px 42px;
  box-shadow: 0 35px 85px rgba(0, 10, 50, .45), 0 0 0 1px rgba(255, 255, 255, .6) inset;
  max-width: 490px;
  width: 100%;
  justify-self: center;
  position: relative;
  z-index: 2;
}

.card-brand-logo {
  text-align: center;
  margin-bottom: 8px;
}
.card-brand-logo img {
  max-height: 72px;
  max-width: 250px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  filter: drop-shadow(0 6px 16px rgba(10, 40, 120, .15));
}

.login-pro-card h2 {
  margin: 14px 0 0;
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.login-pro-card .sub {
  margin: 8px 0 28px;
  text-align: center;
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 500;
}

/* Alerta de erro com design moderno */
.login-alert {
  margin: 0 0 18px 0;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff1f1;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #fecaca;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Campos de entrada */
.pro-field {
  position: relative;
  margin-bottom: 20px;
}
.pro-field input {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: var(--field);
  padding: 0 48px 0 52px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(20, 50, 120, .05);
  transition: border-color .15s, box-shadow .15s;
}
.pro-field input::placeholder { color: #7683a4; }
.pro-field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 88, 255, .16);
}
.pro-field .lead-ico {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #394870;
  pointer-events: none;
}
.pro-field .eye-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border: 0;
  background: none;
  border-radius: 10px;
  color: #394870;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s;
}
.pro-field .eye-btn:hover { background: #eef2fb; }
.pro-field .eye-btn svg { width: 20px; height: 20px; }

/* Linha de Salvar Acesso e Esqueceu Senha */
.pro-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 0 26px;
  flex-wrap: wrap;
}
.pro-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  color: #334155;
}
.pro-check input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.pro-check .box {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(20, 88, 255, .32);
  transition: all .15s ease;
  flex-shrink: 0;
}
.pro-check .box svg { width: 11px; height: 11px; opacity: 1; }
.pro-check input:not(:checked) + .box {
  background: #fff;
  border: 1.5px solid #c9d5ec;
  box-shadow: none;
}
.pro-check input:not(:checked) + .box svg { opacity: 0; }
.pro-check input:focus-visible + .box {
  outline: 2.5px solid rgba(20, 88, 255, .4);
  outline-offset: 2px;
}
a.pro-link {
  color: #0a3de0;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: color .15s;
}
a.pro-link:hover { text-decoration: underline; color: #052699; }

/* Botão Entrar Fino e Elegante */
.btn-pro-enter {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 24px;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, #0f4cf0, #0a2fd0);
  box-shadow: 0 8px 20px rgba(15, 70, 240, .32), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .1s, filter .15s, box-shadow .15s;
}
.btn-pro-enter:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 24px rgba(15, 70, 240, .42);
}
.btn-pro-enter:active { transform: translateY(1px); }
.btn-pro-enter svg { width: 18px; height: 18px; flex-shrink: 0; }

.pro-signup {
  margin: 28px 0 0;
  text-align: center;
  font-size: 14.5px;
  font-weight: 500;
  color: #334155;
}
.pro-signup a { font-weight: 700; margin-left: 4px; font-size: inherit; }

/* Modais com acabamento fino */
.modal-content {
  border-radius: 26px !important;
  overflow: hidden;
  box-shadow: 0 35px 85px rgba(0, 10, 50, .45) !important;
  border: 0 !important;
}
.modal-header.bg-primary {
  background: linear-gradient(135deg, #0f4cf0, #1ec4ff) !important;
}
.modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* =====================================================================
   MODAL DE RECUPERAR SENHA (NOVO MODELO FIEL À IMAGEM)
   ===================================================================== */
.modal-recovery-box {
  background: #ffffff !important;
  border-radius: 32px !important;
  padding: 38px 36px 34px !important;
  position: relative !important;
  border: 0 !important;
  box-shadow: 0 30px 80px rgba(0, 10, 50, 0.4) !important;
  color: #0f172a !important;
}

/* Botão Fechar Circular Topo Direito */
.btn-recovery-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef2f7;
  border: 0;
  color: #64748b;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}
.btn-recovery-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Badge do Ícone de Cadeado */
.recovery-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0070f3, #00c6ff);
  box-shadow: 0 10px 24px rgba(0, 112, 243, 0.4);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #ffffff;
}
.recovery-icon-badge svg {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
}

/* Título e Subtítulo */
.recovery-title {
  font-size: 24px;
  font-weight: 800;
  color: #07152f;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.recovery-sub {
  font-size: 14.5px;
  font-weight: 500;
  color: #64748b;
  text-align: center;
  line-height: 1.45;
  max-width: 360px;
  margin: 0 auto 26px;
}

/* Input com Ícone Interno */
.recovery-field-group {
  margin-bottom: 24px;
}
.recovery-input-wrap {
  position: relative;
  width: 100%;
}
.recovery-input-ico {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #64748b;
  pointer-events: none;
}
.recovery-input {
  width: 100%;
  height: 52px;
  border-radius: 16px;
  border: 1.5px solid #dbeafe;
  background: #ffffff;
  padding: 0 18px 0 50px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.recovery-input::placeholder {
  color: #94a3b8;
}
.recovery-input:focus {
  border-color: #0070f3;
  box-shadow: 0 0 0 4px rgba(0, 112, 243, 0.15);
}

/* Botões Inferiores (Cancelar + Enviar Código) */
.recovery-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.btn-recovery-cancel {
  height: 50px;
  padding: 0 30px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-recovery-cancel:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.btn-recovery-submit {
  flex: 1;
  height: 50px;
  padding: 0 32px;
  border-radius: 9999px;
  background: #053bf0;
  background: linear-gradient(90deg, #053bf0, #0026c4);
  border: 0;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(5, 59, 240, 0.35);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-recovery-submit:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(5, 59, 240, 0.45);
  transform: translateY(-1px);
}
.btn-recovery-submit:active {
  transform: translateY(1px);
}

/* =====================================================================
   MODAL DE CADASTRO (NOVO MODELO)
   ===================================================================== */
.modal-type-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.modal-type-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border-radius: 14px;
  border: 1.5px solid #dbeafe;
  background: #ffffff;
  color: #475569;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}
.modal-type-label:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}
.btn-check:checked + .modal-type-label {
  background: linear-gradient(135deg, #0070f3, #0056d6) !important;
  border-color: #0070f3 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 112, 243, 0.32);
}
.btn-check:checked + .modal-type-label svg {
  stroke: #ffffff !important;
}

.modal-field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.modal-eye-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: #64748b;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}
.modal-eye-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.modal-eye-btn svg {
  width: 18px;
  height: 18px;
}

.modal-terms-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  margin: 18px 0 22px;
}
.modal-terms-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: #0070f3;
  cursor: pointer;
}
.modal-terms-box label {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  cursor: pointer;
  line-height: 1.35;
}
.modal-terms-box a {
  color: #0070f3;
  font-weight: 700;
  text-decoration: none;
}
.modal-terms-box a:hover {
  text-decoration: underline;
}

.modal-footer-login-row {
  text-align: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  font-size: 14px;
  color: #64748b;
}
.modal-footer-login-row button {
  background: none;
  border: 0;
  color: #0070f3;
  font-weight: 700;
  font-size: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}
.modal-footer-login-row button:hover {
  text-decoration: underline;
  color: #0047cc;
}

/* Responsivo */
@media (max-width: 1060px) {
  .login-pro-page {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px 20px 48px;
  }
  .login-pro-card-col {
    order: -1;
  }
  .banner-card-box {
    margin-left: auto;
    margin-right: auto;
    max-width: 580px;
  }
}

@media (max-width: 760px) {
  .banner-card-box { max-width: 340px; }
  .login-pro-card {
    padding: 34px 22px 28px;
    border-radius: 28px;
  }
  .login-pro-card h2 { font-size: 25px; }
  .pro-field input { height: 50px !important; font-size: 15px !important; }
  .btn-pro-enter { height: 46px; font-size: 15px; }
}

