/* ===== MOOV LOGIN M ADMIN PROFILES 56A ===== */

.moov-secret-m-56a {
  appearance: none !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  font-weight: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  line-height: inherit !important;
}

.moov-secret-m-56a:hover {
  filter: brightness(.9);
}

#moovSecretProfilesModal56A {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  font-family: Inter, Arial, sans-serif;
}

#moovSecretProfilesModal56A.is-open {
  display: block;
}

#moovSecretProfilesModal56A .moov-secret-backdrop-56a {
  position: absolute;
  inset: 0;
  background: rgba(17, 10, 32, .45);
  backdrop-filter: blur(5px);
}

#moovSecretProfilesModal56A .moov-secret-panel-56a {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1180px, calc(100vw - 44px));
  max-height: min(760px, calc(100vh - 44px));
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid rgba(124, 58, 237, .18);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(33, 15, 62, .25);
  overflow: hidden;
}

#moovSecretProfilesModal56A header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(124, 58, 237, .14);
  background: linear-gradient(90deg, rgba(124,58,237,.08), rgba(16,185,129,.05));
}

#moovSecretProfilesModal56A header strong {
  display: block;
  font-size: 20px;
  color: #160d2e;
}

#moovSecretProfilesModal56A header small {
  display: block;
  margin-top: 3px;
  color: #667085;
}

#moovSecretProfilesModal56A .moov-secret-close-56a {
  border: 0;
  border-radius: 12px;
  background: #171123;
  color: #fff;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

#moovSecretProfilesModal56A .moov-secret-status-56a {
  margin: 16px 22px 0 22px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(124,58,237,.08);
  color: #3b225d;
  font-weight: 700;
}

#moovSecretProfilesModal56A .moov-secret-status-56a[data-type="ok"] {
  background: rgba(16,185,129,.10);
  color: #047857;
}

#moovSecretProfilesModal56A .moov-secret-status-56a[data-type="error"] {
  background: rgba(239,68,68,.10);
  color: #b91c1c;
}

#moovSecretProfilesModal56A .moov-secret-table-wrap-56a {
  margin: 16px 22px 22px 22px;
  max-height: 560px;
  overflow: auto;
  border: 1px solid rgba(124, 58, 237, .14);
  border-radius: 16px;
}

#moovSecretProfilesModal56A table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

#moovSecretProfilesModal56A th {
  position: sticky;
  top: 0;
  background: #faf7ff;
  color: #332044;
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid rgba(124,58,237,.14);
  z-index: 1;
}

#moovSecretProfilesModal56A td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(124,58,237,.10);
  color: #2b213a;
  vertical-align: middle;
}

#moovSecretProfilesModal56A tr:hover td {
  background: rgba(124,58,237,.04);
}

#moovSecretProfilesModal56A select,
#moovSecretProfilesModal56A input {
  width: 100%;
  min-width: 120px;
  border: 1px solid rgba(124,58,237,.18);
  border-radius: 10px;
  padding: 8px 9px;
  outline: none;
  background: #fff;
  color: #20152e;
  font-weight: 700;
}

#moovSecretProfilesModal56A td button {
  border: 0;
  border-radius: 10px;
  background: #650078;
  color: #fff;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}

#moovSecretProfilesModal56A td button:disabled {
  opacity: .65;
  cursor: wait;
}

/* ===== 56C - visualização completa do perfil ===== */

#moovSecretProfilesModal56A .hidden {
  display: none !important;
}

#moovSecretProfilesModal56A .moov-secret-chip-56c {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(101, 0, 120, .08);
  color: #650078;
  font-weight: 900;
  font-size: 12px;
}

#moovSecretProfilesModal56A .moov-secret-detail-56c {
  margin: 16px 22px 22px 22px;
}

#moovSecretProfilesModal56A .moov-secret-detail-head-56c {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(124,58,237,.14);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(124,58,237,.08), rgba(16,185,129,.05));
  margin-bottom: 16px;
}

#moovSecretProfilesModal56A .moov-secret-detail-head-56c button {
  border: 0;
  border-radius: 12px;
  background: #171123;
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

#moovSecretProfilesModal56A .moov-secret-detail-head-56c strong {
  display: block;
  color: #160d2e;
  font-size: 18px;
}

#moovSecretProfilesModal56A .moov-secret-detail-head-56c small {
  display: block;
  color: #667085;
  margin-top: 4px;
}

#moovSecretProfilesModal56A .moov-secret-detail-cards-56c {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

#moovSecretProfilesModal56A .moov-secret-detail-cards-56c article {
  border: 1px solid rgba(124,58,237,.14);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}

#moovSecretProfilesModal56A .moov-secret-detail-cards-56c small,
#moovSecretProfilesModal56A .moov-secret-detail-grid-56c small {
  display: block;
  color: #667085;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

#moovSecretProfilesModal56A .moov-secret-detail-cards-56c strong {
  display: block;
  color: #160d2e;
  font-size: 14px;
  word-break: break-word;
}

#moovSecretProfilesModal56A .moov-secret-detail-grid-56c {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  max-height: 430px;
  overflow: auto;
  padding-right: 4px;
}

#moovSecretProfilesModal56A .moov-secret-detail-grid-56c article {
  border: 1px solid rgba(124,58,237,.12);
  border-radius: 14px;
  padding: 13px;
  background: #fbfaff;
}

#moovSecretProfilesModal56A .moov-secret-detail-grid-56c strong {
  display: block;
  color: #20152e;
  font-size: 13px;
  word-break: break-word;
  line-height: 1.35;
}

#moovSecretProfilesModal56A .moov-secret-detail-grid-56c span {
  display: block;
  color: #9ca3af;
  font-size: 11px;
  margin-top: 8px;
  word-break: break-word;
}

@media (max-width: 980px) {
  #moovSecretProfilesModal56A .moov-secret-detail-cards-56c {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  #moovSecretProfilesModal56A .moov-secret-detail-grid-56c {
    grid-template-columns: 1fr;
  }
}

/* ===== 56D - entrar como usuário / visualização administrativa ===== */

#moovSecretProfilesModal56A [data-enter-user] {
  border: 0;
  border-radius: 10px;
  background: #650078;
  color: #fff;
  padding: 8px 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

#moovSecretProfilesModal56A [data-enter-user]:disabled {
  opacity: .65;
  cursor: wait;
}

#moovImpersonationBanner56D {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: 42px;
  z-index: 999998;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  background: linear-gradient(90deg, #2b123f, #650078);
  color: #fff;
  box-shadow: 0 10px 30px rgba(22, 10, 36, .25);
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
}

#moovImpersonationBanner56D strong {
  font-weight: 900;
}

#moovImpersonationBanner56D span {
  font-weight: 800;
}

#moovImpersonationBanner56D small {
  opacity: .8;
}

#moovImpersonationBanner56D button {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #650078;
  padding: 7px 12px;
  font-weight: 900;
  cursor: pointer;
}

html.moov-impersonating-56d body {
  padding-top: 42px !important;
}
