.network-patient-button {
  margin-left: auto;
  margin-right: 10px;
  border: 1px solid #0f766e;
  border-radius: 10px;
  padding: 11px 16px;
  background: #fff;
  color: #0f766e;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.network-patient-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 22, 36, .58);
}

.network-patient-modal {
  position: relative;
  width: min(520px, 100%);
  border-radius: 22px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(3, 22, 36, .24);
}

.network-patient-modal small { color: #0f766e; font-weight: 800; }
.network-patient-modal h2 { margin: 8px 0 10px; color: #082b4c; }
.network-patient-modal p { margin: 0 0 22px; color: #667085; line-height: 1.55; }
.network-close { position: absolute; top: 15px; right: 17px; border: 0; background: transparent; font-size: 28px; cursor: pointer; }
.network-field { display: grid; gap: 8px; color: #082b4c; font-weight: 700; }
.network-field input { border: 1px solid #cbd5e1; border-radius: 10px; padding: 13px 14px; font: inherit; }
.network-error { margin-top: 14px; border-radius: 9px; padding: 11px 13px; background: #fff1f2; color: #be123c; }
.network-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.network-actions button { border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px 16px; font: inherit; font-weight: 700; cursor: pointer; }
.network-actions .primary { border-color: #cf1f5f; background: #cf1f5f; color: #fff; }

@media (max-width: 720px) {
  .network-patient-button { margin: 8px 0; }
  .network-patient-modal { padding: 25px 20px; }
  .network-actions { flex-direction: column-reverse; }
}
