html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
  text-align: start;
}

.auth-page {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  padding: 2rem 0;
}

.auth-shell {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #1f2a56, #0f172a 55%, #020617);
  color: #e2e8f0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: 0 30px 80px rgba(2, 6, 23, .45);
}

.auth-hero {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Marca e seletor de idioma dividem a primeira linha do painel escuro: a margem de 2rem que era da
   marca passou para a linha, senão os dois desalinhavam pela base. */
.auth-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Marca no topo do painel esquerdo do /Login (partial _Marca). A fonte mono do monograma vem do
   Google Fonts; sem ela, o fallback de sistema mantém a forma do cursor. */
.auth-marca {
    display: inline-flex;
    font-size: 1.45rem;
    color: #f8fafc;
    text-decoration: none;
}

/* Seletor de idioma do /Login: no rodapé do cartão, em dropdown compacto com o mesmo ícone da
   área do recrutador. */
.auth-idioma-dropdown {
    display: inline-flex;
    margin-top: .25rem;
}

    .auth-idioma-dropdown .dropdown-toggle {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        padding: 0;
        border: 0;
        background: transparent;
        color: #a5a9b8;
        font-size: .82rem;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        line-height: 1.2;
        box-shadow: none;
    }

        .auth-idioma-dropdown .dropdown-toggle:hover,
        .auth-idioma-dropdown .dropdown-toggle:focus,
        .auth-idioma-dropdown .dropdown-toggle.show {
            color: #4a5b9f;
            background: transparent;
            text-decoration: none;
        }

.auth-idioma-dropdown .dropdown-toggle::after {
    margin-left: .1rem;
}

.auth-idioma-dropdown .dropdown-toggle .bi {
    font-size: 1rem;
}

.auth-idioma-dropdown .dropdown-menu {
    min-width: 5.5rem;
    padding: .35rem;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, .25);
}

.auth-idioma-dropdown .dropdown-item {
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-align: center;
}

.auth-idioma-dropdown .dropdown-item:hover,
.auth-idioma-dropdown .dropdown-item:focus,
.auth-idioma-dropdown .dropdown-item.active,
.auth-idioma-dropdown .dropdown-item:active {
    background: #5263A8;
    color: #fff;
}

.auth-marca:hover { color: #ffffff; }

.auth-marca .marca-obiwan > [aria-hidden="true"]:first-child { color: #38bdf8; }

.auth-kicker {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  color: #93c5fd;
  margin-bottom: 1rem;
}

.auth-hero h1 {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 700;
  color: #f8fafc;
}

.auth-description {
  opacity: .86;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 34ch;
}

.auth-highlights {
  margin-top: 1.5rem;
  padding-left: 1rem;
}

.auth-highlights li {
  margin-bottom: .5rem;
}

.auth-card-wrapper {
  background: linear-gradient(170deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 2rem;
  display: flex;
  align-items: center;
}

.auth-card {
  width: 100%;
  background: #ffffff;
  color: #0f172a;
  border-radius: 20px;
  padding: 2rem;
}

.auth-card h2 {
  font-weight: 700;
  margin-bottom: .4rem;
}

.auth-subtitle {
  color: #64748b;
  margin-bottom: 1.5rem;
}

.auth-input {
  border-radius: .8rem;
  border-color: #cbd5e1;
  padding: .75rem .9rem;
}

.auth-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 .2rem rgba(37, 99, 235, .18);
}

.auth-btn {
    border: 0;
    border-radius: .9rem;
    padding: .82rem;
    font-weight: 600;
    background: linear-gradient( 135deg, #5263A8, #384A8E );
    color: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}

.auth-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(10, 132, 199, .35);
}

.auth-links {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.auth-links a,
#forgot-password {
  color: #334155;
  text-decoration: none;
  font-weight: 500;
}

.auth-links a:hover,
#forgot-password:hover {
  color: #2563eb;
}

@media (max-width: 992px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    padding: 2rem;
  }

  .auth-page {
    min-height: 0;
  }
}
/* ---------------------------------------------------------------------------
   /Sair — aviso de sessão encerrada antes de devolver o visitante ao site
   público. Página isolada (Layout = null), então o bloco é autossuficiente.
   --------------------------------------------------------------------------- */

.saida-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Mesma paleta do /Login, CHAPADA: o radial-gradient daqui era o único do conjunto e destoava
     da porta de entrada. #0f172a é o tom do meio do painel do /Login. */
  background: #0f172a;
  color: #e2e8f0;
}

.saida-palco {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  padding: 2rem 1.25rem;
}

.saida-marca {
  font-size: 1.35rem;
  color: #f8fafc;
  text-decoration: none;
}

.saida-marca:hover { color: #ffffff; }

.saida-marca .marca-obiwan > [aria-hidden="true"]:first-child { color: #4FB3E8; }

.saida-cartao {
  width: min(460px, 100%);
  padding: 2.5rem 2rem;
  text-align: center;
  /* Cartão branco sobre o escuro, exatamente como o .auth-card do /Login — no lugar do vidro
     translúcido com degradê e blur. */
  border-radius: 20px;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 30px 80px rgba(2, 6, 23, .45);
  animation: saida-entra .45s ease both;
}

.saida-selo {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #16a34a;
  box-shadow: 0 0 0 8px rgba(34, 197, 94, .16);
}

.saida-selo-traco {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: saida-risca .5s .2s ease forwards;
}

.saida-cartao h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: .6rem;
}

.saida-texto {
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1.6rem;
}

.saida-barra {
  height: 4px;
  margin-bottom: 1.6rem;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.saida-barra span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: #5263A8;
  transform-origin: left center;
  animation: saida-progresso 3.6s linear forwards;
}

.saida-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}

.saida-btn,
.saida-btn-secundario {
  border-radius: .9rem;
  padding: .7rem 1.3rem;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.saida-btn {
  border: 0;
  color: #fff;
  background: #5263A8;
}

.saida-btn:hover {
  color: #fff;
  background: #384A8E;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(56, 74, 142, .3);
}

.saida-btn-secundario {
  border: 1px solid #cbd5e1;
  color: #334155;
  background: transparent;
}

.saida-btn-secundario:hover {
  color: #0f172a;
  background: #f1f5f9;
}

@keyframes saida-entra {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes saida-risca {
  to { stroke-dashoffset: 0; }
}

@keyframes saida-progresso {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .saida-cartao,
  .saida-selo-traco,
  .saida-barra span {
    animation: none;
  }

  .saida-selo-traco { stroke-dashoffset: 0; }
}
