body.cliente-public {
  min-height: 100dvh;
  background:
    radial-gradient(680px 280px at 10% 0%, rgba(29,78,216,0.14), transparent 65%),
    radial-gradient(600px 260px at 90% 100%, rgba(8,145,178,0.12), transparent 65%),
    #eef3f8;
}

.cliente-login-shell {
  display: grid;
  min-height: 100%;
  padding: 12px;
}

.cliente-auth-panel {
  align-self: center;
  backdrop-filter: blur(6px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.96) 100%);
  border: 1px solid #d7e2ee;
  border-radius: 22px;
  box-shadow: 0 24px 56px rgba(15,23,42,0.12);
  padding: 26px 20px 22px;
  width: 100%;
  max-width: 520px;
}

.cliente-auth-head {
  margin-bottom: 22px;
  text-align: center;
}

.cliente-auth-logo {
  margin-bottom: 12px;
  max-width: min(100%, 210px);
  height: auto;
  width: 100%;
}

.cliente-auth-tag {
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.cliente-auth-title {
  color: #0f172a;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 8px;
}

.cliente-auth-sub {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cliente-field {
  margin-bottom: 14px;
}

.cliente-label {
  display: block;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 7px;
}

.cliente-control {
  position: relative;
}

.cliente-prefix,
.cliente-suffix {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}

.cliente-prefix {
  left: 12px;
}

.cliente-suffix {
  right: 12px;
}

.cliente-icon {
  width: 18px;
  height: 18px;
}

.cliente-control input {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  color: #0f172a;
  font-size: 0.96rem;
  min-height: 52px;
  padding: 14px 44px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  width: 100%;
}

.cliente-control input:focus {
  outline: 0;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29,78,216,0.14);
}

.cliente-toggle-btn {
  border: 0;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.cliente-submit-btn {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  min-height: 52px;
  padding: 14px 16px;
  cursor: pointer;
  transition: opacity 0.16s ease, transform 0.12s ease;
  margin-top: 8px;
  width: 100%;
}

.cliente-submit-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.cliente-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.cliente-info,
.cliente-error {
  border-radius: 12px;
  font-size: 0.86rem;
  margin-top: 12px;
  padding: 12px 13px;
}

.cliente-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.cliente-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.cliente-auth-foot {
  color: #94a3b8;
  font-size: 0.78rem;
  margin-top: 18px;
  text-align: center;
}

@media (min-width: 768px) {
  .cliente-login-shell {
    padding: 28px 20px;
    place-items: center;
  }

  .cliente-auth-panel {
    padding: 38px 34px 28px;
  }

  .cliente-auth-logo {
    max-width: 230px;
  }

  .cliente-auth-title {
    font-size: 1.66rem;
  }
}

/* ---- Recuperar acesso ---- */
.cliente-forgot {
  margin-top: 14px;
  text-align: center;
}

.cliente-forgot-link,
.rec-link-btn {
  background: transparent;
  border: 0;
  color: #1d4ed8;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 4px 6px;
  text-decoration: underline;
}

.cliente-forgot-link:hover,
.rec-link-btn:hover {
  color: #1e40af;
}

.rec-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: grid;
  place-items: center;
  padding: 14px;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(2px);
}

.rec-modal[hidden] {
  display: none;
}

.rec-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #d7e2ee;
  border-radius: 20px;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.28);
  padding: 20px 20px 22px;
  max-height: 92dvh;
  overflow-y: auto;
}

.rec-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.rec-title {
  color: #0f172a;
  font-size: 1.18rem;
  font-weight: 800;
  margin: 0;
}

.rec-close {
  background: transparent;
  border: 0;
  color: #64748b;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  padding: 0 4px;
}

.rec-help {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 0 14px;
}

.rec-field {
  margin-bottom: 14px;
}

.rec-input,
.rec-select {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  color: #0f172a;
  font-size: 0.96rem;
  min-height: 50px;
  padding: 12px 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  width: 100%;
}

.rec-input:focus,
.rec-select:focus {
  outline: 0;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
}

.rec-alert {
  border-radius: 12px;
  font-size: 0.86rem;
  margin-bottom: 14px;
  padding: 11px 12px;
}

.rec-alert.is-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.rec-alert.is-ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.rec-canais {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.rec-canal-btn {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  text-align: left;
  transition: border-color 0.16s ease, background 0.16s ease;
  width: 100%;
}

.rec-canal-btn:hover {
  background: #eff6ff;
  border-color: #1d4ed8;
}

.rec-canal-ico {
  font-size: 1.2rem;
}

.rec-canal-txt strong {
  color: #0f172a;
  display: block;
  font-size: 0.9rem;
}

.rec-canal-txt span {
  color: #64748b;
  font-size: 0.82rem;
}

.rec-link-btn {
  display: block;
  margin: 12px auto 0;
  text-align: center;
}


/* Padronizacao Mobile P1 e P2 para .login-shell */

.login-shell .btn, .login-shell .btn *,
.login-shell .btn::before, .login-shell .btn::after { pointer-events: auto; }
.login-shell .btn * { pointer-events: none !important; }

.login-shell .btn.btn-sm {
  min-width: 32px; min-height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
}

@media (max-width: 575.98px) {

  .login-shell .form-control,
  .login-shell .form-select,
  .login-shell textarea.form-control { font-size: 16px; }
  .login-shell .btn:has(> i.fa) {
    min-width: 40px; min-height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
  }
}
