@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Exo+2:ital,wght@0,600;0,700;1,700&display=swap');

body {
  background: none !important;
  font-family: 'Inter', sans-serif !important;
}

/* ── Página ─────────────────────────────────────────────── */
.login-page {
  background: linear-gradient(135deg, #8aadc2 0%, #c9d8e3 50%, #b8cdd9 100%);
}

/* ── Card flutuante ─────────────────────────────────────── */
.login-split {
  width: 100%;
  max-width: 980px;
  min-height: 580px;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.10),
    0 32px 80px rgba(0, 0, 0, 0.16);
}

/* ── Painel esquerdo ─────────────────────────────────────── */
.login-left {
  width: 44%;
  min-width: 360px;
  background: #ffffff;
  position: relative;
}

/* Linha de acento gradiente no topo do painel esquerdo */
.login-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb 0%, #0891b2 100%);
  z-index: 2;
}

.login-form-wrap {
  width: 100%;
  max-width: 360px;
}

/* ── Painel direito — branding Rede Integravet ───────────── */
.login-right {
  flex: 1;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 50% 38%, rgba(90, 175, 220, 0.20) 0%, transparent 65%),
    linear-gradient(160deg, #111f2e 0%, #1c3650 30%, #253f5c 60%, #2f5474 100%);
  overflow: hidden;
}

/* Sem círculos — substituídos pelas patas SVG no HTML */
.login-right::before,
.login-right::after {
  content: none;
}

/* ── Patas decorativas de fundo ─────────────────────────── */
.paw-bg {
  position: absolute;
  fill: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.paw-bg--1 {
  width: 160px;
  top: -20px;
  right: -30px;
  transform: rotate(30deg);
  opacity: 0.7;
}

.paw-bg--2 {
  width: 100px;
  bottom: 80px;
  left: -20px;
  transform: rotate(-20deg);
  opacity: 0.55;
}

.paw-bg--3 {
  width: 70px;
  top: 44%;
  right: 12%;
  transform: rotate(10deg);
  opacity: 0.4;
}

.paw-bg--4 {
  width: 50px;
  top: 18%;
  left: 10%;
  transform: rotate(-35deg);
  opacity: 0.3;
}

/* ── Conteúdo central do painel direito ─────────────────── */
.login-right-inner {
  position: absolute;
  inset: 0;
  bottom: 64px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem;
  color: #fff;
}

.login-right-logo {
  width: 220px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.30));
}

.login-right-divider {
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  margin: 1.25rem auto;
}

.login-right-rede {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.4px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.30);
}

.login-right-slogan {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-style: italic;
  opacity: 0.80;
  max-width: 260px;
  line-height: 1.5;
}

/* ── Faixa âncora inferior (vidro fosco) ────────────────── */
.login-right-anchor {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  letter-spacing: 0.2px;
}

.login-right-anchor i {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* ── Tipografia do formulário ────────────────────────────── */
.login-form-wrap h1 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  color: #1a2332;
  letter-spacing: -0.3px;
}

.login-form-wrap p {
  color: #6b7785;
  font-size: 0.9375rem;
}

/* ── Campos ──────────────────────────────────────────────── */
.login-form-wrap .input-group {
  border: 1.5px solid #dde1e7;
  border-radius: 0.625rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.login-form-wrap .input-group:focus-within {
  border-color: #3e5d71;
  box-shadow: 0 0 0 3px rgba(62, 93, 113, 0.12);
}

.login-form-wrap .input-group-text {
  background: #f8f9fb;
  border: none;
  width: 46px;
  justify-content: center;
  color: #6b7785;
  font-size: 0.875rem;
}

.login-form-wrap .form-control {
  height: 50px;
  border: none;
  box-shadow: none !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #1a2332;
  background: #fff;
}

.login-form-wrap .form-control:focus {
  outline: none;
}

/* ── Botão entrar ────────────────────────────────────────── */
.login-form-wrap .btn-primary {
  height: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Exo 2', sans-serif;
  border-radius: 0.625rem;
  letter-spacing: 0.4px;
  background: linear-gradient(135deg, #2563eb, #1a55d0);
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: box-shadow 0.2s, transform 0.15s;
}

.login-form-wrap .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

/* ── Cards de seleção de módulo ─────────────────────────── */
.modulo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: #f8f9fb;
  border: 2px solid #dde1e7;
  border-radius: 1rem;
  cursor: pointer;
  position: relative;
  z-index: 0;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.18s;
  text-align: center;
}

/* Borda gradiente no hover via pseudo-elemento */
.modulo-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1.1rem;
  background: linear-gradient(135deg, #2563eb, #0891b2);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.2s;
}

.modulo-card:hover {
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.18);
  transform: translateY(-3px);
}

.modulo-card:hover::before {
  opacity: 1;
}

.modulo-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.30);
}

.modulo-icon--lab {
  background: linear-gradient(135deg, #0891b2, #0e7490);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.30);
}

.modulo-label {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #1a2332;
}

.modulo-desc {
  font-size: 0.8125rem;
  color: #6b7785;
  line-height: 1.4;
}

/* ── Badge do módulo selecionado ────────────────────────── */
.modulo-badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 2rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Exo 2', sans-serif;
}

/* ── Botão voltar ───────────────────────────────────────── */
.btn-voltar {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: #6b7785;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}

.btn-voltar:hover {
  color: #1a2332;
}

/* ── Botão mostrar/ocultar senha ────────────────────────── */
.btn-show-pass {
  background: #f8f9fb !important;
  border: none !important;
  color: #6b7785 !important;
  cursor: pointer;
  transition: color 0.15s;
}

.btn-show-pass:hover {
  color: #1a2332 !important;
}

/* ── Animação fadeSlideIn ───────────────────────────────── */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* ── Responsivo ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .login-split {
    border-radius: 1.25rem;
    min-height: unset;
  }

  .login-left {
    width: 100%;
    min-width: unset;
    padding: 2.5rem !important;
  }

  .login-form-wrap {
    max-width: 100%;
  }
}
