/* =========================================================
   EXCLUSAO SEGURA DE CLIENTES
========================================================= */

.btn-excluir-cliente {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #f0c7cd;
  border-radius: 10px;
  color: #bd4052;
  background: #fff5f6;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn-excluir-cliente:hover {
  border-color: #bd4052;
  color: #ffffff;
  background: #bd4052;
  transform: translateY(-1px);
}

.btn-excluir-cliente:focus-visible {
  outline: 3px solid rgba(189, 64, 82, 0.2);
  outline-offset: 2px;
}

.cliente-modal-exclusao .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(74, 42, 49, 0.24);
}

.cliente-modal-exclusao .modal-header {
  align-items: flex-start;
  padding: 24px 26px 20px;
  border-bottom: 1px solid #f0dfe3;
  background: #fffafb;
}

.cliente-modal-exclusao .modal-title {
  margin-top: 4px;
  color: #5c343d;
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.cliente-exclusao-legenda {
  color: #c84b60;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cliente-modal-exclusao .modal-body {
  padding: 24px 26px;
}

.cliente-exclusao-alerta {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid #f0c7cd;
  border-radius: 15px;
  background: #fff5f6;
}

.cliente-exclusao-alerta > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #bd4052;
  background: #ffe4e8;
  font-size: 1.1rem;
}

.cliente-exclusao-alerta strong {
  display: block;
  color: #643a43;
  font-size: 0.92rem;
}

.cliente-exclusao-alerta p {
  margin: 4px 0 0;
  color: #876b71;
  font-size: 0.76rem;
  line-height: 1.5;
}

.cliente-exclusao-explicacao {
  margin: 16px 0;
  color: #78646a;
  font-size: 0.78rem;
  line-height: 1.65;
}

.cliente-exclusao-mensagem {
  margin-bottom: 14px;
  padding: 11px 13px;
  border: 1px solid #efc1c8;
  border-radius: 11px;
  color: #a93547;
  background: #fff3f5;
  font-size: 0.76rem;
}

.cliente-exclusao-confirmacao {
  display: block;
}

.cliente-exclusao-confirmacao > span {
  display: block;
  margin-bottom: 7px;
  color: #6f565d;
  font-size: 0.76rem;
}

.cliente-exclusao-confirmacao input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #e5ccd2;
  border-radius: 11px;
  color: #633c45;
  background: #ffffff;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  outline: none;
}

.cliente-exclusao-confirmacao input:focus {
  border-color: #c84b60;
  box-shadow: 0 0 0 3px rgba(200, 75, 96, 0.12);
}

.cliente-modal-exclusao .modal-footer {
  gap: 10px;
  padding: 18px 26px 22px;
  border-top: 1px solid #f0dfe3;
  background: #fffafb;
}

.btn-confirmar-exclusao-cliente {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #bd4052;
  border-radius: 11px;
  color: #ffffff;
  background: #bd4052;
  font-size: 0.8rem;
  font-weight: 700;
}

.btn-confirmar-exclusao-cliente:hover:not(:disabled) {
  border-color: #9f3041;
  background: #9f3041;
}

.btn-confirmar-exclusao-cliente:disabled {
  border-color: #e5cbd0;
  color: #aa9297;
  background: #f2e8ea;
  cursor: not-allowed;
}

.cliente-excluir-conteudo,
.cliente-excluir-carregando {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.cliente-excluir-conteudo[hidden],
.cliente-excluir-carregando[hidden] {
  display: none !important;
}

@media (max-width: 575.98px) {
  .cliente-modal-exclusao .modal-dialog {
    margin: 12px;
  }

  .cliente-modal-exclusao .modal-header,
  .cliente-modal-exclusao .modal-body,
  .cliente-modal-exclusao .modal-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .cliente-modal-exclusao .modal-footer {
    flex-direction: column-reverse;
  }

  .cliente-modal-exclusao .modal-footer button {
    width: 100%;
  }
}