/*
 * PNLD Triagem - estilos iniciais para botoes de acoes de diligencia.
 * Base simples para evolucao futura.
 */

.pnld-btn-desconsiderar,
.pnld-btn-reanalise {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.pnld-btn-desconsiderar {
  background: #ffffff;
  color: #b42318;
  border-color: #f04438;
}

.pnld-btn-reanalise {
  background: #005a9c;
  color: #ffffff;
  border-color: #005a9c;
}

body.pnld-modal-open {
  overflow: hidden;
}

.pnld-modal[hidden] {
  display: none;
}

.pnld-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.pnld-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.52);
}

.pnld-modal-dialog {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  margin: 10vh auto 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.22);
  padding: 18px;
}

.pnld-modal-title {
  margin: 0 0 8px;
  color: #101828;
}

.pnld-modal-description {
  margin: 0 0 14px;
  color: #475467;
  line-height: 1.4;
}

.pnld-modal-label {
  display: block;
  margin-bottom: 8px;
  color: #344054;
  font-weight: 600;
}

.pnld-reanalise-form textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 10px;
  color: #101828;
  resize: vertical;
  min-height: 140px;
}

.pnld-reanalise-form textarea:focus {
  outline: none;
  border-color: #005a9c;
  box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.15);
}

.pnld-modal-error {
  margin: 10px 0 0;
  color: #b42318;
  font-size: 13px;
}

.pnld-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}

.pnld-modal-btn {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
}

.pnld-modal-btn-secondary {
  background: #ffffff;
  color: #344054;
  border-color: #d0d5dd;
}

.pnld-modal-btn-primary {
  background: #005a9c;
  color: #ffffff;
  border-color: #005a9c;
}

.pnld-modal-btn-danger {
  background: #b42318;
  color: #ffffff;
  border-color: #b42318;
}

.pnld-modal-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
