.insp-cancel-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
}

.insp-cancel-modal[hidden] {
  display: none !important;
}

.insp-cancel-dialog {
  width: min(100%, 420px);
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.insp-cancel-dialog h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #1c1c1e;
}

.insp-cancel-dialog p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #636366;
}

.insp-cancel-dialog textarea {
  width: 100%;
  min-height: 96px;
  border: 1px solid #d1d1d6;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  resize: vertical;
  box-sizing: border-box;
}

.insp-cancel-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.insp-cancel-actions button {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.insp-cancel-actions button:first-child {
  background: #f2f2f7;
  color: #1c1c1e;
}

.insp-cancel-actions button:last-child {
  background: #ff3b30;
  color: #fff;
}

.ih-cancel-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 1px solid #ff3b30;
  background: #fff;
  color: #ff3b30;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ih-cancel-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.pro-det-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 1;
  min-width: 0;
}

.pro-det-cancel-btn {
  border: 1px solid #ff3b30;
  background: #fff;
  color: #ff3b30;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.pro-det-cancel-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
