
/* V98 — Correção de contraste no modo claro + logo sem distorção + recuperação de senha */
html[data-theme="light"]{
  --bg:#f5f7fb !important;
  --bg2:#ffffff !important;
  --bg3:#eef3fb !important;
  --card:rgba(255,255,255,.96) !important;
  --card-h:#ffffff !important;
  --text:#071426 !important;
  --muted:#334155 !important;
  --faint:#64748b !important;
  --line:rgba(196,165,90,.36) !important;
}
html[data-theme="light"] body{
  background:
    radial-gradient(ellipse 60% 45% at 80% 10%,rgba(196,165,90,.14),transparent 65%),
    linear-gradient(180deg,#ffffff,#f2f6fb 70%,#ffffff) !important;
  color:#071426 !important;
}
html[data-theme="light"] .main,
html[data-theme="light"] .db,
html[data-theme="light"] .screen,
html[data-theme="light"] #s-dash{
  color:#071426 !important;
}
html[data-theme="light"] .sb{
  background:rgba(255,255,255,.97)!important;
  border-right:1px solid rgba(15,23,42,.12)!important;
}
html[data-theme="light"] .tb{
  background:rgba(255,255,255,.92)!important;
  border-bottom:1px solid rgba(15,23,42,.10)!important;
}
html[data-theme="light"] .hcard,
html[data-theme="light"] .cc,
html[data-theme="light"] .card,
html[data-theme="light"] .sc,
html[data-theme="light"] .prof-card,
html[data-theme="light"] .pp,
html[data-theme="light"] .mc,
html[data-theme="light"] .tool-card,
html[data-theme="light"] .trust-card,
html[data-theme="light"] .act-feed,
html[data-theme="light"] .cert-card,
html[data-theme="light"] .room-card,
html[data-theme="light"] .sim-card,
html[data-theme="light"] .sim-res,
html[data-theme="light"] .meeting-card{
  background:#ffffff !important;
  color:#071426 !important;
  border-color:rgba(196,165,90,.32)!important;
  box-shadow:0 16px 40px rgba(15,23,42,.08)!important;
}
html[data-theme="light"] .h-title,
html[data-theme="light"] .st,
html[data-theme="light"] .tb-name,
html[data-theme="light"] .prof-t,
html[data-theme="light"] .tool-title,
html[data-theme="light"] .trust-title,
html[data-theme="light"] .room-title,
html[data-theme="light"] .cert-title,
html[data-theme="light"] .mc-t,
html[data-theme="light"] .media-title,
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] p,
html[data-theme="light"] td,
html[data-theme="light"] th{
  color:#071426 !important;
}
html[data-theme="light"] .h-desc,
html[data-theme="light"] .muted,
html[data-theme="light"] .prof-d,
html[data-theme="light"] .tool-desc,
html[data-theme="light"] .trust-desc,
html[data-theme="light"] .room-desc,
html[data-theme="light"] .mc-d,
html[data-theme="light"] .act-time,
html[data-theme="light"] .media-desc,
html[data-theme="light"] .tb-greet,
html[data-theme="light"] .sc-cap,
html[data-theme="light"] .cs-l{
  color:#334155 !important;
}
html[data-theme="light"] .h-badge,
html[data-theme="light"] .stag,
html[data-theme="light"] .sc-val,
html[data-theme="light"] .prog-val,
html[data-theme="light"] .mc-s.p,
html[data-theme="light"] .media-cat,
html[data-theme="light"] .card-cat{
  color:#9a741f !important;
}
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea,
html[data-theme="light"] .fi,
html[data-theme="light"] .fi-sm{
  background:#ffffff !important;
  color:#071426 !important;
  border-color:rgba(15,23,42,.18)!important;
}
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{
  color:#64748b !important;
}
html[data-theme="light"] .sb-lbl,
html[data-theme="light"] .sb-ic{
  color:#334155 !important;
}
html[data-theme="light"] .sb-item.on,
html[data-theme="light"] .sb-item:hover{
  background:rgba(196,165,90,.13)!important;
}
html[data-theme="light"] .ptbl th,
html[data-theme="light"] .atbl th{
  background:#f8fafc !important;
  color:#9a741f !important;
}
html[data-theme="light"] .ptbl td,
html[data-theme="light"] .atbl td{
  color:#071426 !important;
}
.theme-toggle{
  border:1px solid var(--line);
  background:rgba(196,165,90,.10);
  color:var(--gold);
  border-radius:999px;
  padding:8px 12px;
  font-weight:800;
  letter-spacing:.08em;
  font-size:11px;
  text-transform:uppercase;
  min-height:34px;
}
html[data-theme="light"] .theme-toggle{
  background:#fff8e6;
  color:#7a5a13;
}
img[src*="logo-maxxima"],img[src*="maxxima-shield"],img[src*="favicon"],img[data-asset="logo"],
.load-logo,.l-logoimg,.sb-logo,.auth-logo,.cert-logo,.miniLogo,.brand img,.footer-logo,.header-logo,.login-logo,.nav-logo{
  object-fit:contain!important;
  object-position:center center!important;
  aspect-ratio:auto!important;
  flex-shrink:0!important;
}
.load-logo,.l-logoimg,.auth-logo,.cert-logo,.miniLogo,.login-logo{width:auto!important;max-width:124px!important;height:72px!important;max-height:88px!important}
.sb-logo,.nav-logo{width:auto!important;max-width:42px!important;height:42px!important;max-height:42px!important}
.brand img,.header-logo,.footer-logo{width:auto!important;max-width:78px!important;height:54px!important;max-height:78px!important}
.forgot-link{
  display:block;
  text-align:center;
  margin-top:12px;
  color:var(--gold);
  font-weight:800;
  font-size:13px;
  text-decoration:none;
  cursor:pointer;
}
.forgot-box{
  margin-top:14px;
  padding:14px;
  border:1px solid var(--line);
  background:rgba(196,165,90,.07);
  border-radius:10px;
}
html[data-theme="light"] .forgot-box{
  background:#fff8e6;
}
