.contact-manager-popup {
  text-align: left;
  font-family: "Kanit", "Noto Sans Thai", Arial, sans-serif;
}

.contact-manager-note {
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  color: #1e3a8a;
  font-size: 14px;
}

.contact-manager-table-wrap {
  overflow: auto;
  border-radius: 10px;
}

.contact-manager-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: #fff;
}

.contact-manager-table th,
.contact-manager-table td {
  padding: 10px 12px;
  border: 1px solid #d7dce3;
  vertical-align: middle;
}

.contact-manager-table th {
  background: #1e293b;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.contact-manager-table th:first-child,
.contact-manager-label {
  width: 220px;
}

.contact-manager-label {
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
  cursor: not-allowed;
  user-select: none;
}

.contact-manager-input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  box-sizing: border-box;
}

.contact-manager-textarea {
  resize: vertical;
  min-height: 78px;
}

.contact-manager-input:focus {
  border-color: #2563eb;
  outline: 3px solid rgba(37, 99, 235, .12);
}

.contact-manager-error {
  min-height: 24px;
  margin-top: 12px;
  color: #dc2626;
  text-align: center;
  font-size: 14px;
}

.contact-manager-actions {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.contact-manager-save {
  min-width: 150px;
  padding: 10px 18px;
  border: 0;
  border-radius: 9px;
  background: #16a34a;
  color: #fff;
  font: 600 15px "Kanit", sans-serif;
  cursor: pointer;
}

.contact-manager-save:hover {
  background: #15803d;
}

.contact-manager-save:disabled {
  opacity: .65;
  cursor: wait;
}

@media (max-width: 700px) {
  .contact-manager-table {
    min-width: 560px;
  }

  .contact-manager-table th:first-child,
  .contact-manager-label {
    width: 170px;
  }
}
