:root {
  color-scheme: light;
  --ink: #111827;
  --ink-2: #243044;
  --muted: #667085;
  --faint: #8a94a6;
  --line: #e3e8ef;
  --line-strong: #cbd5e1;
  --canvas: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --navy: #071b33;
  --navy-2: #0d2b4d;
  --blue: #0b72e7;
  --blue-2: #0757b7;
  --cyan: #1fb6ff;
  --green: #11a36a;
  --amber: #b7791f;
  --red: #cf2e2e;
  --violet: #635bff;
  --radius: 18px;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-lift: 0 28px 80px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: auto;
  background: var(--canvas);
}

body.app-shell,
body.site-page {
  min-height: 100vh !important;
  color: #f7fafc !important;
  background:
    linear-gradient(rgba(199, 167, 95, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 167, 95, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 16% 14%, rgba(18, 55, 89, 0.54), transparent 28rem),
    radial-gradient(circle at 84% 18%, rgba(199, 167, 95, 0.13), transparent 24rem),
    linear-gradient(145deg, #05080c 0%, #071018 52%, #030507 100%) !important;
  background-size: 48px 48px, 48px 48px, auto, auto, auto !important;
}

body.app-shell .shell {
  width: min(100% - 36px, 1360px) !important;
  max-width: 1360px !important;
  margin: 24px auto !important;
}

body.app-shell .container {
  background: rgba(8, 13, 20, 0.78) !important;
  border: 1px solid rgba(199, 167, 95, 0.16) !important;
  border-radius: 18px !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36) !important;
}

body.app-shell .top,
body.app-shell .topo {
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(199, 167, 95, 0.14) !important;
}

body.app-shell .title,
body.app-shell .titulo,
body.app-shell h1 {
  color: #fff !important;
}

body.app-shell .title::after,
body.app-shell .titulo::after,
body.app-shell .topo h1::after {
  background: linear-gradient(90deg, #c7a75f, #123759) !important;
}

body.app-shell .user,
body.app-shell .usuario,
body.app-shell .note,
body.app-shell .sub,
body.app-shell .pinfo {
  color: #9aaabc !important;
}

body.app-shell .nav,
body.app-shell .menu {
  border: 1px solid rgba(199, 167, 95, 0.14) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border-radius: 12px !important;
}

body.app-shell .panel,
body.app-shell .box,
body.app-shell .card,
body.app-shell .bloco,
body.app-shell .item,
body.app-shell .mini-item {
  background: rgba(8, 13, 20, 0.76) !important;
  border: 1px solid rgba(199, 167, 95, 0.14) !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22) !important;
}

body.app-shell .panel h2,
body.app-shell .box h2,
body.app-shell h2,
body.app-shell h3,
body.app-shell .k,
body.app-shell .campo strong,
body.app-shell label {
  color: #dac589 !important;
}

body.app-shell .v,
body.app-shell .valor,
body.app-shell .item span,
body.app-shell .row strong,
body.app-shell td {
  color: #f8fafc !important;
}

body.app-shell input,
body.app-shell textarea,
body.app-shell select {
  background: rgba(2, 6, 12, 0.62) !important;
  border-color: rgba(143, 160, 180, 0.28) !important;
  color: #f8fafc !important;
  border-radius: 10px !important;
}

body.app-shell input:focus,
body.app-shell textarea:focus,
body.app-shell select:focus {
  border-color: rgba(199, 167, 95, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(199, 167, 95, 0.12) !important;
}

body.app-shell button,
body.app-shell .btn,
body.app-shell .btn-sec {
  background: linear-gradient(135deg, #d1b36a, #c7a75f 52%, #9b7935) !important;
  color: #071018 !important;
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: 0 14px 30px rgba(199, 167, 95, 0.18) !important;
}

body.app-shell .btn.out,
body.app-shell .btn-sec,
body.app-shell .btn-limpar,
body.app-shell button.secundario {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(199, 167, 95, 0.18) !important;
  box-shadow: none !important;
}

body.app-shell .btn-mini {
  border-radius: 8px !important;
  box-shadow: none !important;
}

body.app-shell .btn-off,
body.app-shell .btn-del {
  background: rgba(127, 29, 29, 0.75) !important;
  color: #ffe7e7 !important;
}

body.app-shell .btn-on,
body.app-shell .resultado-ok,
body.app-shell .status-concluido {
  color: #52e0a0 !important;
}

body.app-shell .btn-edit,
body.app-shell .status-processando {
  color: #9fc7ff !important;
}

body.app-shell table {
  background: rgba(8, 13, 20, 0.84) !important;
  border-color: rgba(199, 167, 95, 0.16) !important;
}

body.app-shell th {
  background: rgba(18, 55, 89, 0.72) !important;
  color: #dac589 !important;
  border-color: rgba(199, 167, 95, 0.14) !important;
}

body.app-shell td,
body.app-shell tr {
  background: transparent !important;
  border-color: rgba(199, 167, 95, 0.1) !important;
}

body.app-shell tr:hover td {
  background: rgba(199, 167, 95, 0.045) !important;
}

body.app-shell .row {
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(199, 167, 95, 0.12) !important;
  color: #9aaabc !important;
}

body.site-page .card {
  background: rgba(8, 13, 20, 0.78) !important;
  border: 1px solid rgba(199, 167, 95, 0.16) !important;
  border-radius: 16px !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34) !important;
}

body.site-page h1 {
  color: #fff !important;
}

body.site-page p {
  color: #a9b6c7 !important;
}

body.site-page .btn-primary {
  background: linear-gradient(135deg, #d1b36a, #c7a75f 52%, #9b7935) !important;
  color: #071018 !important;
}

body.site-page .btn-secondary {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(199, 167, 95, 0.18) !important;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  background:
    radial-gradient(circle at top left, rgba(31, 182, 255, 0.18), transparent 34rem),
    linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%);
}

body.app-shell {
  padding: 0;
}

body.app-shell::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 260px;
  background:
    linear-gradient(135deg, rgba(7, 27, 51, 0.98), rgba(13, 43, 77, 0.96) 55%, rgba(11, 114, 231, 0.82)),
    radial-gradient(circle at 78% 22%, rgba(31, 182, 255, 0.42), transparent 24rem);
  z-index: -2;
}

body.app-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(#000, transparent 360px);
  z-index: -1;
  pointer-events: none;
}

.container {
  width: min(100% - 48px, 1320px);
  margin: 32px auto;
  padding: 24px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  border-radius: 24px !important;
  box-shadow: var(--shadow-lift) !important;
  backdrop-filter: blur(22px);
}

.container.compact {
  max-width: 760px;
}

.topo {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: 74px;
  margin-bottom: 22px !important;
  padding: 0 0 20px !important;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
.titulo {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1,
.titulo {
  font-size: 28px !important;
  line-height: 1.08;
  font-weight: 850;
}

h2 {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 820;
}

.topo h1::after,
.titulo::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

#nomeUsuario,
.usuario {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted) !important;
  font-size: 13px !important;
  font-weight: 650;
}

#nomeUsuario::before,
.usuario::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(17, 163, 106, 0.12);
}

.menu,
.nav,
.acoes,
.acoes-topo,
.linha-form,
.acoes-usuario {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px !important;
}

.menu,
.nav {
  margin: 0 0 22px !important;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f6f9fc;
}

.nav button {
  background: #f0f6ff !important;
  color: #123258 !important;
  border: 1px solid #cfe0f7 !important;
  box-shadow: none !important;
}

.nav button:hover {
  background: #e5f0ff !important;
  filter: none;
}

.nav button:not(.secundario) {
  background: linear-gradient(135deg, var(--blue), var(--blue-2)) !important;
  color: #fff !important;
  border-color: transparent !important;
}

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--ink);
  font: inherit !important;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.03);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

input::placeholder,
textarea::placeholder {
  color: #98a2b3;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(11, 114, 231, 0.72) !important;
  box-shadow: 0 0 0 5px rgba(11, 114, 231, 0.12), inset 0 1px 0 rgba(15, 23, 42, 0.03);
}

textarea {
  line-height: 1.55;
}

button {
  min-height: 44px;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, var(--blue), var(--blue-2)) !important;
  color: #fff;
  font: inherit;
  font-weight: 780;
  letter-spacing: 0;
  box-shadow: 0 14px 28px rgba(11, 114, 231, 0.22);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(11, 114, 231, 0.28);
  filter: saturate(1.06);
}

button:active {
  transform: translateY(0);
}

.btn-sec,
.btn-limpar,
.logout,
.btn-cancelar,
button.secundario {
  background: #fff !important;
  color: var(--ink-2) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.btn-reprocessar {
  background: linear-gradient(135deg, #d9901f, #a96012) !important;
}

.btn-toggle,
.btn-restaurar-erros {
  background: linear-gradient(135deg, #13a87a, #087455) !important;
}

.btn-toggle.inativo,
.btn-excluir,
.btn-limpar-erros {
  background: linear-gradient(135deg, #e5484d, #b4232a) !important;
}

.btn-editar {
  background: linear-gradient(135deg, #2f7df6, #185bc9) !important;
}

.btn-senha {
  background: linear-gradient(135deg, #7367ff, #5146d8) !important;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 16px !important;
}

.card,
.bloco,
.acao {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbfdff) !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 18px !important;
  box-shadow: var(--shadow-soft);
}

.card::before,
.bloco::before,
.acao::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
}

.card {
  padding: 18px !important;
}

.card-titulo,
.campo strong {
  color: var(--muted) !important;
  font-size: 12px !important;
  font-weight: 780 !important;
  text-transform: uppercase;
}

.card-valor {
  margin-top: 8px;
  color: var(--ink) !important;
  font-size: 31px !important;
  line-height: 1;
}

.campo {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.campo:last-child {
  border-bottom: 0;
}

.valor {
  color: var(--ink-2) !important;
  font-weight: 650;
}

.status {
  color: var(--blue) !important;
}

.erro,
.status-erro,
.resultado-erro,
.erro-detalhe {
  color: var(--red) !important;
}

.status-concluido,
.resultado-ok,
.msg {
  color: var(--green) !important;
}

.status-pendente {
  color: var(--amber) !important;
}

.status-processando {
  color: var(--blue) !important;
}

.table-wrap {
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

table {
  width: 100%;
  border: 1px solid var(--line) !important;
  border-collapse: separate !important;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff !important;
  box-shadow: var(--shadow-soft);
}

th,
td {
  border-width: 0 0 1px 0 !important;
  border-color: var(--line) !important;
  padding: 13px 14px !important;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f5f8fc !important;
  color: #475467 !important;
  font-size: 11px !important;
  font-weight: 850;
  text-transform: uppercase;
}

td {
  color: var(--ink-2);
}

tr:nth-child(even) {
  background: #fbfdff !important;
}

tr:hover td {
  background: #f4f9ff;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow-x: hidden;
  overflow-y: auto;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  color: #f7fafc;
  background:
    linear-gradient(rgba(199, 167, 95, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(199, 167, 95, 0.032) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(18, 55, 89, 0.58), transparent 27rem),
    radial-gradient(circle at 82% 16%, rgba(199, 167, 95, 0.16), transparent 24rem),
    radial-gradient(circle at 68% 82%, rgba(18, 55, 89, 0.34), transparent 28rem),
    linear-gradient(145deg, #05080c 0%, #071018 48%, #030507 100%);
  background-size: 48px 48px, 48px 48px, auto, auto, auto, auto;
}

.login-page::before,
.login-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.login-page::before {
  background:
    linear-gradient(115deg, transparent 0 20%, rgba(199, 167, 95, 0.09) 20.12%, transparent 20.32% 100%),
    linear-gradient(150deg, transparent 0 58%, rgba(18, 55, 89, 0.28) 58.1%, transparent 58.34% 100%);
  opacity: 0.9;
}

.login-page::after {
  background:
    radial-gradient(circle, rgba(199, 167, 95, 0.36) 0 2px, transparent 3px) 13% 27% / 160px 160px,
    radial-gradient(circle, rgba(97, 128, 155, 0.22) 0 1px, transparent 2px) 70% 58% / 140px 140px;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
  opacity: 0.55;
}

.login-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  gap: 34px;
  overflow: hidden;
  border: 1px solid rgba(199, 167, 95, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.018)),
    rgba(5, 8, 12, 0.62);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  animation: loginEnter 0.58s ease both;
}

.login-hero {
  position: relative;
  min-height: 680px;
  padding: 46px;
  color: #f8fbff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(160deg, rgba(5, 8, 12, 0.74), rgba(7, 16, 24, 0.88)),
    linear-gradient(135deg, rgba(18, 55, 89, 0.34), rgba(199, 167, 95, 0.07));
  border-right: 1px solid rgba(199, 167, 95, 0.12);
}

.login-hero::before {
  content: "";
  position: absolute;
  inset: 76px 48px auto auto;
  width: 330px;
  height: 260px;
  border: 1px solid rgba(199, 167, 95, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(199, 167, 95, 0.18) 1px, transparent 1px),
    linear-gradient(rgba(199, 167, 95, 0.14) 1px, transparent 1px),
    linear-gradient(135deg, rgba(18, 55, 89, 0.22), rgba(255, 255, 255, 0.02));
  background-size: 42px 42px, 42px 42px, auto;
  opacity: 0.72;
}

.login-hero::after {
  content: "";
  position: absolute;
  inset: 150px 110px auto auto;
  width: 160px;
  height: 70px;
  border-radius: 8px;
  border: 1px solid rgba(199, 167, 95, 0.22);
  background:
    linear-gradient(90deg, rgba(199, 167, 95, 0.22) 0 24%, transparent 24% 100%),
    linear-gradient(180deg, rgba(18, 55, 89, 0.36), rgba(5, 8, 12, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 60px rgba(0, 0, 0, 0.28);
}

.brand-mark {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-weight: 850;
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(199, 167, 95, 0.48);
  border-radius: 8px;
  color: #05080c;
  background: linear-gradient(135deg, #d9c07b, #c7a75f 58%, #9e7d39);
  box-shadow: 0 14px 34px rgba(199, 167, 95, 0.22);
  font-size: 13px;
}

.login-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-top: 220px;
}

.login-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 13px;
  border: 1px solid rgba(199, 167, 95, 0.2);
  border-radius: 999px;
  background: rgba(199, 167, 95, 0.08);
  color: #dac589;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.login-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c7a75f;
  box-shadow: 0 0 0 5px rgba(199, 167, 95, 0.12);
}

.login-hero h1 {
  max-width: 540px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 46px !important;
  line-height: 1.08;
  font-weight: 880;
}

.login-hero p {
  max-width: 460px;
  margin: 0;
  color: #a9b6c7;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

.login-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.login-stat {
  min-height: 92px;
  padding: 15px;
  border: 1px solid rgba(199, 167, 95, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
}

.login-stat strong {
  display: block;
  color: #f7fafc;
  font-size: 18px;
  line-height: 1;
  font-weight: 850;
}

.login-stat span {
  display: block;
  margin-top: 7px;
  color: #8fa0b4;
  font-size: 12px;
  font-weight: 720;
}

.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(7, 16, 24, 0.58);
}

.login-card {
  width: min(100%, 400px);
  margin-left: auto;
  padding: 34px;
  border: 1px solid rgba(199, 167, 95, 0.18);
  border-radius: 14px;
  background: rgba(8, 13, 20, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.login-card-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #c7a75f;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.login-card-status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fd98a;
  box-shadow: 0 0 0 5px rgba(47, 217, 138, 0.12);
}

.login-card h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 31px;
  line-height: 1.1;
  font-weight: 880;
}

.login-card p {
  margin: 0 0 30px;
  color: #9aaabc;
  line-height: 1.55;
  font-weight: 500;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 820;
}

.input-shell {
  position: relative;
}

.input-shell input {
  min-height: 52px;
  padding-left: 46px !important;
  border-color: rgba(143, 160, 180, 0.28) !important;
  border-radius: 10px !important;
  background: rgba(2, 6, 12, 0.54) !important;
  color: #f8fafc;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.input-shell input::placeholder {
  color: #66768a;
}

.input-shell input:focus {
  border-color: rgba(199, 167, 95, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(199, 167, 95, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  z-index: 1;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: #c7a75f;
  font-size: 14px;
  font-weight: 850;
}

.input-icon-lock::before {
  content: "";
  width: 12px;
  height: 9px;
  margin-top: 5px;
  border: 2px solid #c7a75f;
  border-radius: 3px;
}

.input-icon-lock::after {
  content: "";
  position: absolute;
  top: 0;
  width: 9px;
  height: 9px;
  border: 2px solid #c7a75f;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 18px;
  color: #9aaabc;
  font-size: 13px;
  font-weight: 650;
}

.remember-option {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.remember-option input {
  width: 16px;
  min-height: 16px;
  accent-color: #c7a75f;
}

.forgot-link {
  color: #c7a75f;
  text-decoration: none;
}

.forgot-link:hover {
  color: #e0c87a;
}

.login-button {
  width: 100%;
  min-height: 54px;
  margin-top: 0;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #d1b36a, #c7a75f 52%, #9b7935) !important;
  color: #071018;
  box-shadow: 0 16px 36px rgba(199, 167, 95, 0.22);
}

.login-button:hover {
  box-shadow: 0 20px 44px rgba(199, 167, 95, 0.32);
}

.login-button:disabled {
  cursor: wait;
  filter: grayscale(0.2);
  opacity: 0.76;
}

.erro {
  min-height: 20px;
  margin-top: 12px;
  color: #ff7b7b !important;
  font-weight: 700;
}

.login-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  color: #728296;
  font-size: 12px;
  font-weight: 760;
}

@keyframes loginEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .login-shell {
    grid-template-columns: 1fr;
  }

  .login-hero {
    min-height: 460px;
  }

  .login-copy {
    margin-top: 160px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1320px);
    margin: 16px auto;
    padding: 18px !important;
    border-radius: 20px !important;
  }

  .topo {
    align-items: flex-start !important;
  }

  h1,
  .titulo {
    font-size: 23px !important;
  }

  .login-page {
    min-height: 100dvh;
    display: block;
    padding: 12px;
  }

  .login-shell {
    min-height: auto;
    border-radius: 24px;
  }

  .login-hero {
    min-height: 430px;
    padding: 24px;
  }

  .login-hero::before {
    inset: 44px auto auto 50%;
    width: 220px;
    height: 220px;
    transform: translateX(-50%);
  }

  .login-hero::after {
    display: none;
  }

  .login-copy {
    margin-top: 120px;
  }

  .login-hero h1 {
    font-size: 30px !important;
  }

  .login-stats {
    grid-template-columns: 1fr;
  }

  .login-panel {
    padding: 28px;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff !important;
    box-shadow: var(--shadow-soft);
  }

  td {
    border: 0 !important;
  }
}
