@charset "UTF-8";

/* src/styles.scss */
.page-container {
  max-width: 1280px;
  margin: 0 auto;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.page-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}
.page-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0.25rem 0 0;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.btn-secondary:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}
.search-bar {
  position: relative;
  margin-bottom: 1.25rem;
}
.search-bar .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
}
.search-bar input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  background: #fff;
  box-sizing: border-box;
}
.search-bar input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.table-wrapper {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  overflow: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.data-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  white-space: nowrap;
}
.data-table td {
  padding: 0.75rem 1rem;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.data-table tbody tr:hover {
  background: #f8fafc;
}
.name-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 600;
  flex-shrink: 0;
  text-transform: uppercase;
}
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 500;
}
.status-badge.active {
  background: #ecfdf5;
  color: #065f46;
}
.status-badge.inactive {
  background: #fef2f2;
  color: #991b1b;
}
.status-badge.scheduled {
  background: #eff6ff;
  color: #1e40af;
}
.status-badge.completed {
  background: #ecfdf5;
  color: #065f46;
}
.status-badge.cancelled {
  background: #fef2f2;
  color: #991b1b;
}
.status-badge.in-progress {
  background: #fffbeb;
  color: #92400e;
}
.action-link {
  color: #64748b;
  padding: 4px;
  border-radius: 4px;
  display: inline-flex;
}
.action-link:hover {
  color: #2563eb;
  background: #eff6ff;
}
.action-link .material-symbols-outlined {
  font-size: 20px;
}
.loading-state {
  text-align: center;
  padding: 3rem;
  color: #64748b;
}
.loading-state .spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 1rem;
}
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.empty-icon {
  font-size: 48px;
  color: #64748b;
  margin-bottom: 0.75rem;
}
.empty-state h3 {
  font-size: 1.125rem;
  color: #475569;
  margin: 0 0 0.375rem;
}
.empty-state p {
  margin: 0;
  font-size: 0.875rem;
  color: #64748b;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.patient-picker-wrap {
  position: relative;
}
.patient-picker-wrap .picker-search-icon {
  position: absolute;
  left: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #6b7280;
  pointer-events: none;
}
.patient-picker-wrap .picker-input {
  padding-left: 2rem !important;
}
.patient-picker-wrap .picker-spinner {
  position: absolute;
  right: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border: 2px solid #d1d5db;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.picker-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #d1d5db;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 300;
  list-style: none;
  margin: 0;
  padding: 0.375rem 0;
  max-height: 260px;
  overflow-y: auto;
}
.picker-option {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  cursor: pointer;
  transition: background 120ms;
}
.picker-option:hover {
  background: #eff6ff;
}
.picker-option .opt-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.picker-option .opt-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.picker-option .opt-info .opt-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.picker-option .opt-info .opt-meta {
  font-size: 0.7rem;
  color: #6b7280;
}
.picker-chip {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  background:
    linear-gradient(
      135deg,
      #eff6ff 0%,
      #dbeafe 100%);
  border: 1.5px solid #93c5fd;
  border-radius: 10px;
  min-height: 2.375rem;
}
.picker-chip .chip-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.picker-chip .chip-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.picker-chip .chip-info .chip-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1e40af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.picker-chip .chip-info .chip-sub {
  font-size: 0.7rem;
  color: #3b82f6;
}
.picker-chip .chip-clear {
  flex-shrink: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: #3b82f6;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: background 120ms;
  line-height: 1;
}
.picker-chip .chip-clear:hover {
  background: rgba(59, 130, 246, 0.12);
}
.picker-chip .chip-clear .material-symbols-outlined {
  font-size: 1rem;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.2s ease-out;
  border: none;
}
.modal.modal-lg {
  max-width: 680px;
}
.modal.modal-xl {
  max-width: 880px;
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #f1f5f9;
}
.modal-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}
.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.modal-close .material-symbols-outlined {
  font-size: 18px;
}
.modal-close:hover {
  background: #e2e8f0;
}
.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 60vh;
  overflow-y: auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row.form-row-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
}
.field input,
.field select,
.field textarea {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  background: #fff;
  color: #111827;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.field input::placeholder,
.field select::placeholder,
.field textarea::placeholder {
  color: #6b7280;
}
.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  background: #f8fafc;
  color: #64748b;
  cursor: not-allowed;
}
.field textarea {
  min-height: 80px;
  resize: vertical;
  font-family: inherit;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid #f1f5f9;
}
.form-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 2rem;
  max-width: 720px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.625rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  background: #f9fafb;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: #fff;
}
.form-group textarea {
  min-height: 80px;
  resize: vertical;
}
.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
@media (max-width: 768px) {
  .page-container {
    padding: 0;
  }
  .page-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  .page-title {
    font-size: 1.25rem;
  }
  .search-bar input {
    font-size: 1rem;
  }
  .table-wrapper {
    border-radius: 8px;
    overflow-x: auto;
  }
  .data-table {
    min-width: 600px;
  }
  .data-table th,
  .data-table td {
    padding: 0.625rem 0.75rem;
    font-size: 0.75rem;
  }
  .form-card {
    padding: 1.25rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions button,
  .form-actions a {
    width: 100%;
    justify-content: center;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .empty-state {
    padding: 2rem 1rem;
  }
  .empty-icon {
    font-size: 36px;
  }
}
@media (max-width: 480px) {
  .page-title {
    font-size: 1.125rem;
  }
  .page-subtitle {
    font-size: 0.8125rem;
  }
}
.field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #dc2626;
}
.field-error .material-symbols-outlined {
  font-size: 16px;
  flex-shrink: 0;
}
.filter-toolbar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  align-items: center;
  flex-wrap: wrap;
}
.filter-toolbar .toolbar-search {
  flex: 1;
  min-width: 260px;
  margin-bottom: 0;
}
.filter-toolbar .toolbar-search .search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6b7280;
  display: flex;
  align-items: center;
  padding: 2px;
  border-radius: 4px;
}
.filter-toolbar .toolbar-search .search-clear:hover {
  color: #374151;
}
.filter-toolbar .toolbar-search .search-clear .material-symbols-outlined {
  font-size: 18px;
}
.filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 1rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  white-space: nowrap;
}
.filter-toggle-btn .material-symbols-outlined {
  font-size: 18px;
}
.filter-toggle-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}
.filter-toggle-btn.has-filters {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}
.filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
}
.filter-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
  align-items: flex-end;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.875rem 1rem;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 140px;
}
.filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.filter-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  font-size: 0.875rem;
  background: #fff;
  color: #374151;
  cursor: pointer;
}
.filter-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.clear-filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.875rem;
  background: transparent;
  border: 1px solid #fca5a5;
  border-radius: 7px;
  color: #dc2626;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  align-self: flex-end;
}
.clear-filters-btn .material-symbols-outlined {
  font-size: 16px;
}
.clear-filters-btn:hover {
  background: #fef2f2;
}
.active-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem 0.25rem 0.75rem;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #1d4ed8;
}
.filter-chip .chip-remove {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #3b82f6;
  display: flex;
  align-items: center;
  padding: 1px;
  border-radius: 50%;
  transition: background 0.12s;
}
.filter-chip .chip-remove:hover {
  background: rgba(59, 130, 246, 0.15);
}
.filter-chip .chip-remove .material-symbols-outlined {
  font-size: 14px;
}
.sortable-th {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
}
.sortable-th:hover {
  background: #f1f5f9 !important;
  color: #1e293b;
}
.sortable-th .sort-icon {
  font-size: 14px;
  vertical-align: middle;
  opacity: 0.5;
  transition: opacity 0.15s;
}
.sortable-th:hover .sort-icon,
.sortable-th[aria-sort] .sort-icon {
  opacity: 1;
}
.pagination-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.pagination-info {
  font-size: 0.8125rem;
  color: #64748b;
}
.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 6px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #fff;
  color: #374151;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}
.page-btn .material-symbols-outlined {
  font-size: 18px;
}
.page-btn:hover:not([disabled]) {
  background: #eff6ff;
  border-color: #2563eb;
  color: #2563eb;
}
.page-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  font-weight: 600;
}
.page-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.page-num {
  font-weight: 500;
}
.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  color: #64748b;
  font-size: 0.875rem;
  -webkit-user-select: none;
  user-select: none;
}
.name-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.name-primary {
  font-weight: 500;
  color: #111827;
}
.name-sub {
  font-size: 0.7rem;
  color: #6b7280;
}
.mrn-code {
  font-family:
    "Fira Mono",
    "Consolas",
    monospace;
  font-size: 0.75rem;
  background: #f1f5f9;
  border-radius: 4px;
  padding: 1px 5px;
  color: #475569;
}
.blood-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}
.status-badge.with-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.status-badge.with-dot .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.link-btn {
  background: transparent;
  border: none;
  color: #2563eb;
  cursor: pointer;
  font-size: inherit;
  text-decoration: underline;
  padding: 0;
  margin-left: 0.25rem;
}
.link-btn:hover {
  color: #1d4ed8;
}
.status-pills {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  align-items: center;
}
.status-pill {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.status-pill:hover {
  border-color: #94a3b8;
  color: #334155;
}
.status-pill.active {
  background: #1e40af;
  border-color: #1e40af;
  color: #fff;
}
.status-pill.scheduled.active {
  background: #3b82f6;
  border-color: #3b82f6;
}
.status-pill.confirmed.active {
  background: #0ea5e9;
  border-color: #0ea5e9;
}
.status-pill.in-progress.active {
  background: #f59e0b;
  border-color: #f59e0b;
}
.status-pill.completed.active {
  background: #10b981;
  border-color: #10b981;
}
.status-pill.cancelled.active {
  background: #ef4444;
  border-color: #ef4444;
}
.status-pill.active-pill.active {
  background: #10b981;
  border-color: #10b981;
}
.status-pill.inactive-pill.active {
  background: #f59e0b;
  border-color: #f59e0b;
}
.status-pill.deleted-pill.active {
  background: #ef4444;
  border-color: #ef4444;
}
.date-shortcuts {
  align-self: flex-end;
}
.shortcut-btns {
  display: flex;
  gap: 0.375rem;
}
.shortcut-btn {
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.shortcut-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}
.date-cell .date-primary {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: #1e293b;
}
.date-cell .date-time {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.1rem;
}
.name-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.name-cell .avatar-sm {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.reason-cell {
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #475569;
  font-size: 0.85rem;
}
.quick-links-section {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.quick-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.15s;
  cursor: pointer;
}
.quick-link-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: #2563eb;
  transform: translateY(-2px);
}
.quick-link-card .ql-icon {
  font-size: 2rem;
  border-radius: 10px;
  padding: 0.45rem;
}
.quick-link-card .ql-icon.ql-org {
  background: #eff6ff;
  color: #2563eb;
}
.quick-link-card .ql-icon.ql-hospital {
  background: #fef2f2;
  color: #dc2626;
}
.quick-link-card .ql-icon.ql-dept {
  background: #f0fdf4;
  color: #16a34a;
}
.quick-link-card .ql-icon.ql-roles {
  background: #faf5ff;
  color: #7c3aed;
}
.quick-link-card .ql-icon.ql-users {
  background: #fff7ed;
  color: #ea580c;
}
.quick-link-card .ql-icon.ql-audit {
  background: #f0f9ff;
  color: #0369a1;
}
.quick-link-card .ql-icon.ql-patients {
  background: #f0fdf4;
  color: #059669;
}
.quick-link-card .ql-icon.ql-appts {
  background: #fefce8;
  color: #ca8a04;
}
.quick-link-card .ql-label {
  text-align: center;
  line-height: 1.3;
}
a.list-item {
  text-decoration: none;
}
a.list-item:hover {
  background: #f1f5f9;
  border-radius: 8px;
}
.locked-field {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 8px;
  color: #64748b;
  font-size: 0.8125rem;
  font-style: italic;
  -webkit-user-select: none;
  user-select: none;
}
.locked-field .locked-icon {
  font-size: 16px;
  flex-shrink: 0;
}
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --focus-ring: 2px solid #2563eb;
  --focus-ring-inverse: 2px solid #fbbf24;
  --focus-ring-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
  border-radius: 4px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-offset: 0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f1f5f9;
  color: #1e293b;
  font-size: 16px;
  line-height: 1.5;
}
a {
  color: inherit;
}
button {
  font-family: inherit;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
@media print {
  .sidebar,
  .topbar,
  app-impersonation-banner,
  app-emergency-broadcast-banner,
  app-downtime-banner,
  .skip-link,
  .no-print {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  .shell,
  .main-area,
  .content {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  html,
  body {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  * {
    box-shadow: none !important;
  }
  a[href]::after {
    content: "";
  }
  @page {
    margin: 1.5cm;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles-DFULO3OO.css.map */
