/* Gestor STA — V26
   Dashboard demonstrativo totalmente refeito para a página de login.
   Este arquivo controla somente a faixa de propaganda/demonstração do ERP no login. */

@media (min-width: 1440px) {
  .login-shell {
    grid-template-columns: minmax(0, 1fr) clamp(410px, 24vw, 455px) !important;
  }

  .brand-panel {
    padding: clamp(22px, 2.45vw, 42px) clamp(66px, 6.6vw, 142px) !important;
  }

  .brand-content {
    max-width: 1180px !important;
  }
}

@media (min-width: 1041px) and (max-width: 1439px) {
  .login-shell {
    grid-template-columns: minmax(0, 1fr) clamp(376px, 31vw, 420px) !important;
  }

  .brand-panel {
    padding: clamp(18px, 2.2vw, 30px) clamp(32px, 4.2vw, 60px) !important;
  }

  .brand-content {
    max-width: 900px !important;
  }
}

@media (max-width: 1040px) {
  .brand-panel {
    display: none !important;
  }
}

.login-showcase-kicker {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(0, 213, 232, .34);
  border-radius: 999px;
  background: rgba(7, 27, 61, .48);
  color: rgba(207, 250, 254, .96);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 44px rgba(0, 0, 0, .18);
}

.kicker-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #00d5e8;
  box-shadow: 0 0 0 5px rgba(0, 213, 232, .12), 0 0 24px rgba(0, 213, 232, .72);
}

.login-showcase-head {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(270px, .56fr);
  align-items: end;
  gap: clamp(18px, 2.4vw, 44px);
  margin: 18px 0 18px;
}

.login-showcase-head h1 {
  margin: 0 !important;
  max-width: 760px !important;
  color: #fff;
  font-size: clamp(35px, 3.8vw, 62px) !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  font-weight: 850 !important;
}

.login-showcase-head p {
  margin: 0;
  color: rgba(226, 240, 255, .78);
  font-size: clamp(13px, .98vw, 17px);
  line-height: 1.42;
}

.login-showcase-dashboard {
  position: relative;
  padding: clamp(14px, 1.42vw, 24px);
  border: 1px solid rgba(116, 190, 255, .24);
  border-radius: 26px;
  background:
    radial-gradient(circle at 83% 18%, rgba(0, 213, 232, .12), transparent 28%),
    linear-gradient(180deg, rgba(8, 31, 72, .86), rgba(4, 20, 48, .72));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.09),
    0 26px 80px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(0, 213, 232, .05);
  overflow: hidden;
}

.login-showcase-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20,151,255,.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(20,151,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}

.showcase-topbar,
.showcase-kpis,
.showcase-main-grid,
.showcase-bottom-grid {
  position: relative;
  z-index: 2;
}

.showcase-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: clamp(10px, 1vw, 16px);
}

.showcase-topbar > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.showcase-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #15f5ce;
  box-shadow: 0 0 22px rgba(21, 245, 206, .72);
}

.showcase-topbar strong {
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.02em;
}

.showcase-topbar small {
  color: rgba(203, 225, 255, .58);
  font-size: 12px;
  font-weight: 700;
}

.showcase-topbar button {
  height: 30px;
  padding: 0 13px;
  border: 1px solid rgba(125, 181, 255, .24);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(239, 247, 255, .88);
  font: 800 12px/1 Inter, system-ui, sans-serif;
}

.showcase-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(9px, .9vw, 14px);
  margin-bottom: clamp(12px, 1.1vw, 18px);
}

.showcase-kpis article,
.showcase-chart-card,
.showcase-side-card,
.showcase-list-card,
.showcase-alert-card {
  border: 1px solid rgba(125, 181, 255, .18);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(8, 37, 83, .84), rgba(6, 26, 61, .62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 14px 34px rgba(0, 0, 0, .14);
}

.showcase-kpis article {
  min-height: 92px;
  padding: 13px 14px;
  display: grid;
  align-content: space-between;
}

.showcase-kpis span,
.showcase-kpis small {
  color: rgba(202, 224, 255, .72);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .055em;
}

.showcase-kpis strong {
  color: #fff;
  font-size: clamp(17px, 1.38vw, 25px);
  letter-spacing: -.045em;
  line-height: 1;
}

.showcase-kpis small {
  color: #13f4cf;
  text-transform: none;
  letter-spacing: 0;
}

.showcase-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(230px, .58fr);
  gap: clamp(10px, .95vw, 16px);
}

.showcase-chart-card,
.showcase-side-card,
.showcase-list-card,
.showcase-alert-card {
  padding: clamp(13px, 1.1vw, 18px);
}

.showcase-chart-card header,
.showcase-side-card header,
.showcase-list-card header,
.showcase-alert-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.showcase-chart-card h2,
.showcase-side-card h2,
.showcase-list-card h2,
.showcase-alert-card h2 {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -.015em;
}

.showcase-chart-card p,
.showcase-alert-card small {
  margin: 3px 0 0;
  color: rgba(203, 225, 255, .62);
  font-size: 11px;
  font-weight: 650;
}

.showcase-chart-card header span,
.showcase-side-card header span,
.showcase-alert-card header span,
.showcase-list-card a {
  color: #13f4cf;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.showcase-chart {
  position: relative;
  height: clamp(160px, 17vw, 232px);
  overflow: hidden;
  border-radius: 18px;
  background: rgba(2, 13, 34, .24);
}

.chart-grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(170, 207, 255, .12);
}
.line-a { top: 24%; }
.line-b { top: 50%; }
.line-c { top: 76%; }

.showcase-chart svg {
  position: absolute;
  inset: 14px 10px 30px;
  width: calc(100% - 20px);
  height: calc(100% - 44px);
  overflow: visible;
}

.showcase-chart .area { fill: url(#loginAreaGradient); }
.showcase-chart .line {
  fill: none;
  stroke: #19b8ff;
  stroke-width: 7;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px rgba(0, 213, 232, .5));
}
.showcase-chart circle {
  fill: #071b3d;
  stroke: #34e5ff;
  stroke-width: 5;
}

.chart-labels {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  display: flex;
  justify-content: space-between;
  color: rgba(203, 225, 255, .58);
  font-size: 10px;
  font-weight: 800;
}

.showcase-side-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.showcase-donut {
  width: min(142px, 70%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#19b8ff 0 56%, #13d9be 56% 88%, rgba(132, 103, 255, .95) 88% 100%);
  position: relative;
}

.showcase-donut::before {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: #071b3d;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.showcase-donut strong,
.showcase-donut small {
  position: relative;
  z-index: 2;
  display: block;
  text-align: center;
}

.showcase-donut strong {
  color: #fff;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -.04em;
}

.showcase-donut small {
  color: rgba(203, 225, 255, .66);
  font-size: 10px;
  font-weight: 800;
  margin-top: 3px;
}

.showcase-side-list {
  display: grid;
  gap: 8px;
}

.showcase-side-list p {
  margin: 0;
  display: grid;
  grid-template-columns: 9px 1fr auto;
  align-items: center;
  gap: 8px;
  color: rgba(238, 246, 255, .84);
  font-size: 12px;
  font-weight: 800;
}

.showcase-side-list span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #19b8ff;
}
.showcase-side-list p:nth-child(2) span { background: #13d9be; }
.showcase-side-list p:nth-child(3) span { background: #8467ff; }

.showcase-side-list strong {
  color: #fff;
}

.showcase-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(10px, .95vw, 16px);
  margin-top: clamp(10px, .95vw, 16px);
}

.showcase-list-card p,
.showcase-alert-card p {
  margin: 0;
  min-height: 34px;
  display: grid;
  align-items: center;
  border-top: 1px solid rgba(125, 181, 255, .12);
}

.showcase-list-card p {
  grid-template-columns: 64px 1fr auto;
  gap: 9px;
  color: rgba(232, 244, 255, .78);
  font-size: 11px;
}

.showcase-list-card p span {
  color: #19b8ff;
  font-weight: 850;
}

.showcase-list-card p strong {
  color: #fff;
  font-weight: 800;
}

.showcase-list-card p b {
  justify-self: end;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(21, 245, 206, .12);
  color: #15f5ce;
  font-size: 10px;
  font-weight: 850;
}

.showcase-list-card p b.warning {
  background: rgba(255, 183, 77, .13);
  color: #ffcf80;
}

.showcase-alert-card p {
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 10px;
  padding: 8px 0;
}

.showcase-alert-card p i {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255, 107, 107, .12);
  border: 1px solid rgba(255, 107, 107, .22);
}

.showcase-alert-card p:nth-child(3) i {
  background: rgba(25, 184, 255, .12);
  border-color: rgba(25, 184, 255, .24);
}

.showcase-alert-card p strong,
.showcase-alert-card p small {
  grid-column: 2;
}

.showcase-alert-card p strong {
  color: #fff;
  font-size: 11px;
  font-weight: 850;
}

@media (min-width: 1041px) and (max-width: 1439px) {
  .login-showcase-head {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 14px 0;
  }

  .login-showcase-head h1 {
    max-width: 720px !important;
    font-size: clamp(31px, 3.35vw, 44px) !important;
  }

  .login-showcase-head p {
    max-width: 720px;
    font-size: 12px;
  }

  .showcase-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .showcase-kpis article {
    min-height: 78px;
    padding: 10px 11px;
  }

  .showcase-kpis strong {
    font-size: clamp(14px, 1.65vw, 20px);
  }

  .showcase-main-grid {
    grid-template-columns: 1fr;
  }

  .showcase-side-card {
    display: none;
  }

  .showcase-chart {
    height: clamp(142px, 20vw, 188px);
  }

  .showcase-bottom-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-height: 760px) and (min-width: 1041px) {
  .login-showcase-kicker {
    padding: 7px 12px;
    font-size: 10px;
  }

  .login-showcase-head {
    margin: 11px 0 12px;
  }

  .login-showcase-head h1 {
    font-size: clamp(28px, 3.1vw, 46px) !important;
  }

  .login-showcase-dashboard {
    padding: 12px;
    border-radius: 22px;
  }

  .showcase-topbar {
    margin-bottom: 9px;
  }

  .showcase-kpis article {
    min-height: 70px;
    padding: 9px 10px;
  }

  .showcase-chart-card,
  .showcase-side-card,
  .showcase-list-card,
  .showcase-alert-card {
    padding: 11px;
  }

  .showcase-chart {
    height: 138px;
  }

  .showcase-bottom-grid {
    margin-top: 10px;
  }
}

/* ===== Ajuste v27 — dashboard demonstrativo do login 20% menor =====
   Reduz somente o painel visual de dashboard exibido na área esquerda do login.
   O formulário, logo, botões e estrutura geral permanecem preservados. */
@media (min-width: 1041px) {
  .login-showcase-dashboard {
    width: 80% !important;
    max-width: 944px !important;
    margin-inline: auto !important;
    padding: clamp(11px, 1.14vw, 19px) !important;
    border-radius: 21px !important;
  }

  .showcase-topbar {
    margin-bottom: clamp(8px, .8vw, 13px) !important;
  }

  .showcase-topbar strong {
    font-size: 12px !important;
  }

  .showcase-topbar small,
  .showcase-topbar button {
    font-size: 10px !important;
  }

  .showcase-topbar button {
    height: 24px !important;
    padding-inline: 10px !important;
  }

  .showcase-kpis {
    gap: clamp(7px, .72vw, 11px) !important;
    margin-bottom: clamp(10px, .88vw, 14px) !important;
  }

  .showcase-kpis article {
    min-height: 74px !important;
    padding: 10px 11px !important;
    border-radius: 16px !important;
  }

  .showcase-kpis span,
  .showcase-kpis small {
    font-size: 9px !important;
  }

  .showcase-kpis strong {
    font-size: clamp(14px, 1.1vw, 20px) !important;
  }

  .showcase-main-grid,
  .showcase-bottom-grid {
    gap: clamp(8px, .76vw, 13px) !important;
  }

  .showcase-chart-card,
  .showcase-side-card,
  .showcase-list-card,
  .showcase-alert-card {
    padding: clamp(10px, .88vw, 14px) !important;
    border-radius: 16px !important;
  }

  .showcase-chart-card h2,
  .showcase-side-card h2,
  .showcase-list-card h2,
  .showcase-alert-card h2 {
    font-size: 11px !important;
  }

  .showcase-chart-card p,
  .showcase-alert-card small,
  .showcase-chart-card header span,
  .showcase-side-card header span,
  .showcase-alert-card header span,
  .showcase-list-card a {
    font-size: 9px !important;
  }

  .showcase-chart {
    height: clamp(128px, 13.6vw, 186px) !important;
    border-radius: 14px !important;
  }

  .showcase-chart svg {
    inset: 11px 8px 24px !important;
    width: calc(100% - 16px) !important;
    height: calc(100% - 35px) !important;
  }

  .showcase-chart .line {
    stroke-width: 5.6 !important;
  }

  .showcase-chart circle {
    stroke-width: 4 !important;
  }

  .chart-labels {
    left: 10px !important;
    right: 10px !important;
    bottom: 6px !important;
    font-size: 8px !important;
  }

  .showcase-donut {
    width: min(114px, 68%) !important;
  }

  .showcase-donut strong {
    font-size: 19px !important;
  }

  .showcase-donut small,
  .showcase-side-list p,
  .showcase-list-card p,
  .showcase-alert-card p strong {
    font-size: 9px !important;
  }

  .showcase-side-card {
    gap: 10px !important;
  }

  .showcase-side-list {
    gap: 6px !important;
  }

  .showcase-bottom-grid {
    margin-top: clamp(8px, .76vw, 13px) !important;
  }

  .showcase-list-card p,
  .showcase-alert-card p {
    min-height: 27px !important;
  }

  .showcase-list-card p {
    grid-template-columns: 51px 1fr auto !important;
    gap: 7px !important;
  }

  .showcase-list-card p b {
    padding: 4px 7px !important;
    font-size: 8px !important;
  }

  .showcase-alert-card p {
    grid-template-columns: 22px minmax(0, 1fr) !important;
    column-gap: 8px !important;
    padding: 6px 0 !important;
  }

  .showcase-alert-card p i {
    width: 22px !important;
    height: 22px !important;
    border-radius: 8px !important;
  }
}

@media (min-width: 1041px) and (max-width: 1439px) {
  .login-showcase-dashboard {
    width: 82% !important;
    max-width: 738px !important;
  }

  .showcase-chart {
    height: clamp(114px, 16vw, 150px) !important;
  }
}

@media (max-height: 760px) and (min-width: 1041px) {
  .login-showcase-dashboard {
    width: 80% !important;
    padding: 10px !important;
  }

  .showcase-chart {
    height: 110px !important;
  }

  .showcase-kpis article {
    min-height: 56px !important;
    padding: 7px 8px !important;
  }
}
