/* Obyte Food — alteração obrigatória de senha após PrimeiroAcesso */
.of-password-gate[hidden] { display: none !important; }
.of-password-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(246, 247, 249, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111214;
}
.of-password-gate * { box-sizing: border-box; }
.of-password-card {
  width: min(100%, 760px);
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr);
  overflow: hidden;
  border: 1px solid #e4e7eb;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 18, 20, .12);
}
.of-password-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  overflow: hidden;
  color: #fff;
  background: #111214;
}
.of-password-aside::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -85px;
  bottom: -95px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 56px rgba(255,255,255,.018);
}
.of-password-brand { position: relative; z-index: 1; }
.of-password-brand img { display: block; width: 118px; max-height: 44px; object-fit: contain; object-position: left center; filter: grayscale(1) brightness(0) invert(1); }
.of-password-aside-copy { position: relative; z-index: 1; }
.of-password-aside-copy small { display: block; margin-bottom: 10px; color: #aeb3bb; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.of-password-aside-copy strong { display: block; max-width: 260px; font-size: 25px; line-height: 1.12; letter-spacing: -.03em; }
.of-password-aside-copy p { max-width: 260px; margin: 12px 0 0; color: #bfc3c9; font-size: 13px; line-height: 1.55; }
.of-password-panel { padding: 38px 40px 34px; }
.of-password-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid #e6e8eb;
  border-radius: 13px;
  background: #f7f8f9;
  color: #17181a;
}
.of-password-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.of-password-kicker { margin: 0 0 5px; color: #777d86; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.of-password-panel h1 { margin: 0; color: #111214; font-size: 26px; line-height: 1.15; letter-spacing: -.035em; }
.of-password-description { margin: 10px 0 24px; color: #69707a; font-size: 13px; line-height: 1.55; }
.of-password-field { display: block; margin-top: 15px; }
.of-password-label { display: block; margin-bottom: 7px; color: #32363c; font-size: 12px; font-weight: 700; }
.of-password-input-shell { display: flex; align-items: center; min-height: 46px; border: 1px solid #dfe2e6; border-radius: 11px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease; }
.of-password-input-shell:focus-within { border-color: #17181a; box-shadow: 0 0 0 3px rgba(17,18,20,.07); }
.of-password-input-shell input { min-width: 0; flex: 1; height: 44px; padding: 0 14px; border: 0; outline: 0; background: transparent; color: #111214; font: inherit; font-size: 14px; }
.of-password-input-shell button { width: 42px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; margin-right: 3px; border: 0; border-radius: 8px; background: transparent; color: #777d86; cursor: pointer; }
.of-password-input-shell button:hover { background: #f2f3f5; color: #111214; }
.of-password-input-shell button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.of-password-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; margin: 17px 0 0; padding: 0; list-style: none; }
.of-password-rules li { display: flex; align-items: center; gap: 7px; color: #7a8088; font-size: 11px; }
.of-password-rules li::before { content: ""; width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #c7cbd0; }
.of-password-rules li.ok { color: #30343a; }
.of-password-rules li.ok::before { background: #222426; }
.of-password-message { min-height: 18px; margin: 13px 0 0; color: #b42318; font-size: 12px; font-weight: 600; }
.of-password-message.success { color: #20734a; }
.of-password-submit { width: 100%; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; margin-top: 8px; border: 0; border-radius: 11px; background: #111214; color: #fff; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; transition: transform .14s ease, opacity .14s ease; }
.of-password-submit:hover { transform: translateY(-1px); }
.of-password-submit:disabled { opacity: .55; cursor: wait; transform: none; }
.of-password-footnote { margin: 12px 0 0; color: #969ba3; font-size: 10px; line-height: 1.45; text-align: center; }
.of-password-success { display: none; min-height: 360px; align-items: center; justify-content: center; text-align: center; }
.of-password-gate.is-complete .of-password-form-view { display: none; }
.of-password-gate.is-complete .of-password-success { display: flex; }
.of-password-success > div { max-width: 300px; }
.of-password-success .of-password-icon { margin: 0 auto 18px; }
.of-password-success h2 { margin: 0; font-size: 23px; letter-spacing: -.03em; }
.of-password-success p { margin: 9px 0 0; color: #747a83; font-size: 13px; line-height: 1.5; }

/* Resultado do reset no painel */
.of-reset-result[hidden] { display: none !important; }
.of-reset-result { position: fixed; inset: 0; z-index: 2147482000; display: grid; place-items: center; padding: 20px; background: rgba(17,18,20,.42); backdrop-filter: blur(6px); }
.of-reset-result-card { width: min(100%, 470px); padding: 26px; border: 1px solid #e2e5e9; border-radius: 17px; background: #fff; box-shadow: 0 24px 70px rgba(17,18,20,.18); color: #111214; }
.of-reset-result-head { display: flex; gap: 13px; align-items: flex-start; }
.of-reset-result-head .of-password-icon { flex: 0 0 auto; margin: 0; }
.of-reset-result-head h2 { margin: 1px 0 5px; font-size: 19px; letter-spacing: -.025em; }
.of-reset-result-head p { margin: 0; color: #737a84; font-size: 12px; line-height: 1.5; }
.of-reset-user { margin: 20px 0 10px; color: #737a84; font-size: 11px; }
.of-reset-user strong { color: #26292e; }
.of-reset-password { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border: 1px solid #e2e5e9; border-radius: 11px; background: #f7f8f9; }
.of-reset-password code { color: #111214; font-family: "SFMono-Regular", Consolas, monospace; font-size: 15px; font-weight: 700; }
.of-reset-password button { min-height: 32px; padding: 0 11px; border: 1px solid #d7dade; border-radius: 8px; background: #fff; color: #33373d; font-size: 11px; font-weight: 700; cursor: pointer; }
.of-reset-notice { display: flex; gap: 9px; margin-top: 12px; padding: 11px 12px; border-radius: 10px; background: #f5f6f7; color: #5e646d; font-size: 11px; line-height: 1.5; }
.of-reset-notice svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: #34383e; stroke-width: 1.8; }
.of-reset-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.of-reset-actions button { min-height: 39px; padding: 0 16px; border: 0; border-radius: 9px; background: #111214; color: #fff; font-size: 12px; font-weight: 750; cursor: pointer; }

@media (max-width: 720px) {
  .of-password-gate { padding: 12px; align-items: stretch; }
  .of-password-card { grid-template-columns: 1fr; min-height: 100%; border-radius: 16px; }
  .of-password-aside { min-height: 150px; padding: 24px; }
  .of-password-aside-copy strong { font-size: 21px; }
  .of-password-aside-copy p { display: none; }
  .of-password-panel { padding: 26px 22px 24px; }
  .of-password-rules { grid-template-columns: 1fr; }
}
