.client-registration-adjustments-modal {
  /* Fica acima do menu lateral e do callout de correção, para o backdrop
     escurecer toda a página de forma uniforme enquanto o modal estiver aberto. */
  z-index: 1201;
}

.client-registration-adjustments-dialog {
  max-width: 30rem;
  padding: 1.35rem;
}

.client-adjustments-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.85rem;
}

.client-adjustments-warning-icon {
  display: inline-flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff7e6;
  color: #f5a800;
  font-size: 1.75rem;
}

.client-adjustments-header-copy h2,
.client-adjustments-list h3,
.client-adjustments-next-step h3 {
  margin: 0;
  color: #183153;
  font-weight: 700;
}

.client-adjustments-header-copy h2 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.client-adjustments-header-copy p,
.client-adjustments-list-description,
.client-adjustments-next-step p {
  margin: 0.35rem 0 0;
  color: #71809a;
  font-size: 0.78rem;
  line-height: 1.4;
}

.client-adjustments-list {
  margin-top: 1rem;
  border-radius: 0.55rem;
  background: #f4f7fb;
  padding: 0.9rem;
}

.client-adjustments-list h3 {
  font-size: 0.9rem;
}

.client-adjustments-items {
  margin-top: 0.65rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #fff;
}

.client-adjustments-items.client-adjustments-items-scroll {
  max-height: 17rem;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.client-adjustment-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
}

.client-adjustment-item + .client-adjustment-item {
  border-top: 1px solid #e7edf5;
}

.client-adjustment-item-icon {
  flex: 0 0 auto;
  color: #f5a800;
  font-size: 1rem;
}

.client-adjustment-item strong,
.client-adjustment-item span {
  display: block;
}

.client-adjustment-item strong {
  color: #29405f;
  font-size: 0.78rem;
}

.client-adjustment-item div > span {
  margin-top: 0.15rem;
  color: #71809a;
  font-size: 0.72rem;
}

.client-adjustments-next-step {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.85rem;
  border-radius: 0.55rem;
  background: #eaf3ff;
  padding: 0.8rem;
}

.client-adjustments-info-icon {
  display: inline-flex;
  height: 1.3rem;
  width: 1.3rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #1468db;
  color: #fff;
  font-size: 0.8rem;
}

.client-adjustments-next-step h3 {
  font-size: 0.75rem;
}

.client-adjustments-next-step p {
  font-size: 0.68rem;
}

.client-adjustments-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1rem;
}

.client-adjustments-actions .btn-canonical {
  min-width: 8rem;
}

.client-adjustments-actions .btn-canonical-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

@media (max-width: 639px) {
  .client-adjustments-dialog {
    max-height: calc(100dvh - 1rem);
    padding: 1rem;
  }

  .client-adjustments-header {
    grid-template-columns: auto 1fr;
  }

  .client-adjustments-header .app-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }

  .client-adjustments-actions {
    flex-direction: column-reverse;
  }

  .client-adjustments-actions .btn-canonical {
    width: 100%;
  }
}
