input[type="file"] {
  padding: 10px;
}
input[type="sumbit"] {
  border-radius: 8px;
}
.pfm-admin-wrap {
  max-width: 1400px;

  margin-top: 20px;
}

.pfm-card {
  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 12px;

  padding: 20px;

  margin-bottom: 20px;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pfm-page-title {
  margin: 0 0 8px;

  font-size: 24px;

  font-weight: 700;
}

.pfm-page-subtitle {
  margin: 0;

  color: #6b7280;

  font-size: 14px;
}
.pfm-stats {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 15px;

  margin-bottom: 20px;
}

.pfm-stat-card {
  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 12px;

  padding: 20px;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pfm-stat-number {
  font-size: 32px;

  font-weight: 700;

  color: #2271b1;

  line-height: 1;
}

.pfm-stat-label {
  margin-top: 10px;

  color: #6b7280;

  font-size: 14px;
}
.pfm-table {
  border: none !important;

  border-radius: 12px;

  overflow: hidden;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pfm-table thead th {
  background: #f5f8ff !important;

  color: #2271b1;

  font-weight: 700;

  padding: 14px 10px !important;
}

.pfm-table tbody td {
  padding: 14px 10px !important;

  vertical-align: middle;
}

.pfm-table tbody tr:hover {
  background: #fafcff;
}
.pfm-btn {
  display: inline-block;

  padding: 6px 12px;

  border-radius: 6px;

  text-decoration: none;

  margin: 2px;

  font-size: 13px;

  font-weight: 600;
}

.pfm-btn-view {
  background: #e0f2fe;

  color: #0369a1;
}

.pfm-btn-edit {
  background: #dcfce7;

  color: #166534;
}

.pfm-btn-sms {
  background: #fef3c7;

  color: #92400e;
}

.pfm-btn-delete {
  background: #fee2e2;

  color: #b91c1c;
}
.pfm-search-box {
  display: flex;

  gap: 10px;

  margin-bottom: 20px;
}

.pfm-search-box input[type="search"] {
  flex: 1;

  height: 42px;

  border-radius: 8px;

  border: 1px solid #d1d5db;

  padding: 0 12px;
}

.pfm-search-box input[type="submit"] {
  min-width: 120px;
  border-radius: 8px;
}
.pfm-form-card {
  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 12px;

  padding: 25px;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pfm-form-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 20px;
}

.pfm-field label {
  display: block;

  margin-bottom: 8px;

  font-weight: 600;

  color: #374151;
}

.pfm-field input[type="text"],
.pfm-field input[type="tel"],
.pfm-field textarea {
  width: 100%;

  border: 1px solid #d1d5db;

  border-radius: 8px;

  padding: 10px 12px;

  min-height: 44px;
}

.pfm-field textarea {
  min-height: 120px;

  resize: vertical;
}

.pfm-full {
  grid-column: 1 / -1;
}

.pfm-submit {
  margin-top: 20px;
  border-radius: 8px;
}
.pfm-info-table {
  width: 100%;

  border-collapse: collapse;
}

.pfm-info-table tr {
  border-bottom: 1px solid #eee;
}

.pfm-info-table th {
  width: 220px;

  padding: 14px;

  text-align: right;

  font-weight: 600;

  color: #374151;
}

.pfm-info-table td {
  padding: 14px;
}
#pfm_patient_link {
  width: 100%;

  height: 46px;

  border: 1px solid #d1d5db;

  border-radius: 8px;

  padding: 0 12px;

  direction: ltr;

  margin: 10px 0;

  background: #fafafa;
}
.pfm-field select {
  width: 100%;

  min-height: 44px;

  border: 1px solid #d1d5db;

  border-radius: 8px;

  padding: 0 10px;
}
.pfm-stats-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 20px;

  margin: 20px 0;
}

.pfm-stat-card {
  background: #fff;

  border-radius: 12px;

  padding: 24px;

  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.pfm-stat-number {
  font-size: 32px;

  font-weight: 700;

  margin-bottom: 8px;
}

.pfm-stat-label {
  color: #6b7280;
}
.pfm-badge {
  display: inline-block;

  padding: 6px 12px;

  border-radius: 30px;

  font-size: 12px;

  font-weight: 600;
}

.pfm-success {
  background: #dcfce7;

  color: #166534;
}

.pfm-error {
  background: #fee2e2;

  color: #991b1b;
}
.pfm-sms-preview {
  background: #f8fafc;

  border: 1px solid #e5e7eb;

  border-radius: 12px;

  padding: 20px;

  line-height: 2;

  white-space: pre-line;

  margin-top: 15px;
}

.pfm-badge {
  display: inline-block;

  padding: 8px 14px;

  border-radius: 999px;

  font-size: 13px;

  font-weight: 600;
}

.pfm-success {
  background: #dcfce7;

  color: #166534;
}
.pfm-error {
  background: #fee2e2;

  color: #991b1b;
}
.pfm-patient-link-wrapper {
  display: flex;

  gap: 30px;

  align-items: center;

  justify-content: space-between;
}

.pfm-patient-link-left {
  flex: 1;
}

.pfm-patient-link-left input {
  width: 100%;

  direction: ltr;
}

.pfm-patient-link-right {
  flex-shrink: 0;
}

.pfm-qr-code {
  width: 180px;

  height: 180px;

  border: 1px solid #e5e7eb;

  border-radius: 12px;

  background: #fff;

  padding: 10px;
}
