.dashboard-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(184, 212, 227, 0.28), transparent 26%),
    linear-gradient(180deg, #f7fafb 0%, #eef4f7 100%);
  color: var(--color-charcoal);
  font-family: var(--font-family);
}

.dashboard-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.1rem 0.9rem;
  background: rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(155, 169, 181, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-sidebar__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(155, 169, 181, 0.18);
}

.dashboard-sidebar__brand {
  padding: 0.85rem 0.9rem 1rem;
  border-bottom: 1px solid rgba(155, 169, 181, 0.18);
}

.dashboard-sidebar__brand a {
  display: inline-block;
  color: var(--color-charcoal);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dashboard-sidebar__brand span {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-medium-grey);
  font-size: 0.92rem;
}

.dashboard-sidebar__nav {
  display: flex;
  flex-direction: column;
  /* Spatiul dintre categorii; linkurile dintr-o categorie stau stranse. */
  gap: 1.05rem;
}

.dashboard-sidebar__group-label {
  margin: 0 0 0.4rem;
  padding: 0 0.82rem;
  color: var(--color-medium-grey);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-sidebar__group-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dashboard-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.82rem;
  border-radius: 1.15rem;
  color: rgba(48, 48, 48, 0.8);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.dashboard-sidebar__link:hover {
  background: rgba(184, 212, 227, 0.2);
  color: var(--color-charcoal);
  transform: translateX(2px);
}

.dashboard-sidebar__link.is-active {
  background: linear-gradient(180deg, rgba(184, 212, 227, 0.68), rgba(184, 212, 227, 0.38));
  color: var(--color-charcoal);
  box-shadow: inset 0 0 0 1px rgba(155, 169, 181, 0.14);
}

.dashboard-sidebar__icon {
  width: 1.15rem;
  height: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.dashboard-sidebar__icon svg {
  width: 100%;
  height: 100%;
}

.dashboard-section-eyebrow,
.dashboard-page-intro p,
.dashboard-panel__header p,
.dashboard-kpi span,
.dashboard-document-card__meta {
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-main {
  min-width: 0;
  padding: 1rem;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.15rem 0 0.8rem;
}

.dashboard-topbar__copy p {
  margin: 0 0 0.35rem;
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-topbar__copy h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  line-height: 1.05;
  font-weight: 700;
}

.dashboard-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.42rem 0.62rem 0.42rem 0.42rem;
}

.dashboard-user strong,
.dashboard-user span {
  display: block;
}

.dashboard-user strong {
  font-size: 0.96rem;
}

.dashboard-user span {
  color: var(--color-medium-grey);
  font-size: 0.82rem;
}

.dashboard-specialist-card__meta {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.55rem;
  min-width: max-content;
}

.dashboard-specialist-card__meta img {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(124, 145, 158, 0.14);
}

.dashboard-specialist-card__meta span {
  color: var(--color-dark-grey);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.dashboard-certificate-card__meta {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0.55rem;
  min-width: max-content;
}

.dashboard-certificate-card__cover,
.dashboard-certificate-card__meta img,
.dashboard-certificate-card__file {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(124, 145, 158, 0.14);
}

.dashboard-certificate-card__cover {
  display: block;
  overflow: hidden;
}

.dashboard-certificate-card__meta img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-certificate-card__file {
  display: grid;
  place-items: center;
  background: rgba(176, 210, 226, 0.38);
  color: var(--color-charcoal);
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.dashboard-certificate-card__meta span {
  color: var(--color-dark-grey);
  font-size: 0.84rem;
  font-weight: 600;
  white-space: nowrap;
}

.dashboard-image-preview {
  margin-top: 0.65rem;
  width: min(180px, 100%);
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(155, 169, 181, 0.16);
  background: rgba(247, 250, 251, 0.88);
}

.dashboard-image-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
}

.dashboard-file-preview {
  margin-top: 0.65rem;
  width: min(260px, 100%);
  min-height: 5rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(155, 169, 181, 0.16);
  background: rgba(247, 250, 251, 0.88);
  color: var(--color-charcoal);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  text-decoration: none;
}

.dashboard-file-preview span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3.6rem;
  border-radius: 0.55rem;
  background: rgba(176, 210, 226, 0.38);
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-file-preview strong {
  min-width: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}

.dashboard-field__hint {
  display: block;
  margin-top: 0.45rem;
  color: var(--color-medium-grey);
  font-size: 0.82rem;
  font-weight: 600;
}

.dashboard-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.dashboard-hero-panel,
.dashboard-panel,
.dashboard-kpi,
.dashboard-document-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(155, 169, 181, 0.16);
  box-shadow: 0 10px 32px rgba(124, 145, 158, 0.08);
}

.dashboard-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 0.8rem;
  padding: 1.2rem;
  border-radius: 1.3rem;
  overflow: hidden;
  position: relative;
}

.dashboard-hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -8% -32% auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 212, 227, 0.42) 0%, rgba(184, 212, 227, 0) 68%);
  pointer-events: none;
}

.dashboard-hero-panel h2,
.dashboard-page-intro h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.08;
}

.dashboard-hero-panel p,
.dashboard-page-intro p:last-child,
.dashboard-panel p,
.dashboard-list__item p,
.dashboard-table span,
.dashboard-note p,
.dashboard-document-card p {
  color: var(--color-dark-grey);
  line-height: 1.65;
}

.dashboard-hero-panel__stats {
  display: grid;
  gap: 0.6rem;
}

.dashboard-hero-panel__stats article {
  padding: 0.9rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(184, 212, 227, 0.28), rgba(255, 255, 255, 0.92));
}

.dashboard-hero-panel__stats span,
.dashboard-hero-panel__stats small {
  display: block;
}

.dashboard-hero-panel__stats span {
  color: var(--color-primary-dark);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard-hero-panel__stats strong {
  display: block;
  margin: 0.2rem 0 0.15rem;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1;
}

.dashboard-hero-panel__stats small {
  color: var(--color-dark-grey);
  font-size: 0.94rem;
}

.dashboard-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.dashboard-kpis--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-kpi {
  padding: 0.85rem 0.95rem;
  border-radius: 1rem;
}

.dashboard-kpi strong {
  display: block;
  margin: 0.25rem 0 0.1rem;
  font-size: clamp(1.2rem, 1.65vw, 1.6rem);
  line-height: 1.05;
}

.dashboard-kpi p {
  margin: 0;
  font-size: 0.86rem;
}

.dashboard-grid {
  display: grid;
  gap: 0.8rem;
}

.dashboard-grid--overview {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.8fr);
}

.dashboard-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-stack {
  display: grid;
  gap: 0.8rem;
}

.dashboard-panel {
  padding: 0.95rem;
  border-radius: 1.1rem;
}

.dashboard-panel--feature a,
.dashboard-panel__header a {
  color: var(--color-charcoal);
  text-decoration: none;
  font-weight: 700;
}

.dashboard-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.7rem;
}

.dashboard-panel__header h3,
.dashboard-panel--feature h3,
.dashboard-list__item h4,
.dashboard-note h4,
.dashboard-document-card h4,
.dashboard-schedule__row h4,
.dashboard-metrics-list__item h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.15;
}

.dashboard-page-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
}

.dashboard-page-intro p:last-child {
  max-width: 62ch;
}

.dashboard-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.dashboard-filter-row span,
.dashboard-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.35rem 0.68rem;
  border-radius: 999px;
  background: rgba(184, 212, 227, 0.18);
  color: var(--color-charcoal);
  font-size: 0.8rem;
  font-weight: 700;
}

.dashboard-schedule,
.dashboard-list,
.dashboard-notes,
.dashboard-metrics-list {
  display: grid;
  gap: 0.5rem;
}

.dashboard-schedule__row,
.dashboard-list__item,
.dashboard-metrics-list__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.68rem 0.8rem;
  border-radius: 0.9rem;
  background: rgba(247, 250, 251, 0.85);
  border: 1px solid rgba(155, 169, 181, 0.12);
}

.dashboard-schedule__row strong,
.dashboard-metrics-list__item strong {
  font-size: 0.92rem;
}

.dashboard-list__item h4 + p,
.dashboard-schedule__row h4 + p,
.dashboard-metrics-list__item h4 + p,
.dashboard-note p,
.dashboard-document-card p {
  margin: 0.3rem 0 0;
}

.dashboard-note {
  padding: 0.8rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(247, 250, 251, 0.86);
  border: 1px solid rgba(155, 169, 181, 0.12);
}

.dashboard-table {
  display: grid;
}

.dashboard-table__head,
.dashboard-table__row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0;
}

.dashboard-table__head {
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(155, 169, 181, 0.16);
}

.dashboard-table__row {
  border-bottom: 1px solid rgba(155, 169, 181, 0.1);
}

.dashboard-table__row:last-child {
  border-bottom: 0;
}

.dashboard-table__head--patients,
.dashboard-table__row--patients {
  grid-template-columns: 1.05fr 1.1fr 1fr 1fr auto;
}

.dashboard-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.dashboard-document-card {
  padding: 0.95rem;
  border-radius: 1rem;
}

.dashboard-document-card h4 {
  margin-top: 0.55rem;
}

.dashboard-panel--feature p:last-of-type {
  margin-bottom: 1.25rem;
}

.dashboard-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(155, 169, 181, 0.2);
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-charcoal);
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.dashboard-button--full {
  width: 100%;
  justify-content: center;
}

.dashboard-auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.dashboard-auth__panel {
  width: min(520px, 100%);
  padding: 1.35rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(155, 169, 181, 0.2);
  box-shadow: 0 18px 48px rgba(48, 48, 48, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.dashboard-auth__intro h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  line-height: 1.05;
}

.dashboard-auth__intro p:last-child {
  margin: 0.75rem 0 0;
  color: var(--color-dark-grey);
  font-size: 1rem;
  line-height: 1.55;
}

.dashboard-auth__form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1rem;
}

.dashboard-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(124, 145, 158, 0.12);
}

.dashboard-button--primary {
  background: linear-gradient(180deg, var(--color-primary) 0%, #a5c7d9 100%);
}

.dashboard-button--danger {
  background: rgba(48, 48, 48, 0.06);
}

.dashboard-flash {
  padding: 0.78rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(184, 212, 227, 0.2);
  border: 1px solid rgba(155, 169, 181, 0.18);
  color: var(--color-charcoal);
  font-weight: 600;
}

.dashboard-flash--error {
  background: rgba(210, 126, 126, 0.12);
  border-color: rgba(210, 126, 126, 0.24);
}

.dashboard-flash ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
  font-weight: 500;
}

.dashboard-requirements,
.dashboard-services-admin {
  display: grid;
  gap: 0.6rem;
}

.dashboard-requirements__item,
.dashboard-service-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.78rem 0.88rem;
  border-radius: 0.95rem;
  background: rgba(247, 250, 251, 0.85);
  border: 1px solid rgba(155, 169, 181, 0.12);
}

.dashboard-requirements__item strong,
.dashboard-service-card h4 {
  font-size: 0.98rem;
  line-height: 1.15;
}

.dashboard-service-card h4 {
  margin: 0.1rem 0 ;
}

.dashboard-requirements__item p,
.dashboard-service-card p,
.dashboard-service-card small {
  margin: 0;
  color: var(--color-dark-grey);
}

.dashboard-service-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-service-card--specialist {
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
}

.dashboard-service-card--certificate {
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
}

.dashboard-service-card--faq {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
}

.dashboard-service-card__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
}

.dashboard-service-card__copy {
  min-width: 0;
}

.dashboard-service-card__copy h4 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-service-card__copy small {
  display: block;
  margin-top: 0.08rem;
  font-size: 0.81rem;
}

.dashboard-service-card__index {
  min-width: 2.28rem;
  padding: 0.42rem 0.55rem;
  border-radius: 0.72rem;
  background: rgba(184, 212, 227, 0.24);
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
}

.dashboard-service-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.dashboard-service-card__actions .dashboard-button {
  padding: 0.46rem 0.8rem;
  font-size: 0.84rem;
}

.dashboard-form-layout {
  display: grid;
  gap: 0.75rem;
}

.dashboard-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.dashboard-field {
  display: grid;
  gap: 0.5rem;
}

.dashboard-field--checkbox {
  align-content: start;
}

.dashboard-field--full {
  grid-column: 1 / -1;
}

.dashboard-field span {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.dashboard-field input,
.dashboard-field textarea {
  width: 100%;
  border: 1px solid rgba(155, 169, 181, 0.24);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.78rem 0.88rem;
  outline: 0;
  color: var(--color-charcoal);
  font: inherit;
  resize: vertical;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.dashboard-field__static {
  display: flex;
  align-items: center;
  min-height: 3rem;
  border: 1px solid rgba(155, 169, 181, 0.18);
  border-radius: 0.9rem;
  background: rgba(244, 248, 250, 0.92);
  padding: 0.78rem 0.88rem;
  color: var(--color-dark-grey);
  font-size: 0.94rem;
  font-weight: 600;
}

.dashboard-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  border: 1px solid rgba(155, 169, 181, 0.18);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.78rem 0.88rem;
}

.dashboard-checkbox input {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.dashboard-checkbox span {
  color: var(--color-dark-grey);
  font-size: 0.94rem;
  font-weight: 600;
}

.dashboard-field input:focus,
.dashboard-field textarea:focus {
  border-color: rgba(155, 169, 181, 0.46);
  box-shadow: 0 0 0 4px rgba(184, 212, 227, 0.22);
}

.dashboard-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.dashboard-body .ck.ck-editor {
  width: 100%;
}

.dashboard-body .ck.ck-toolbar {
  border: 1px solid rgba(155, 169, 181, 0.24);
  border-radius: 1rem 1rem 0 0;
  background: rgba(247, 250, 251, 0.94);
}

.dashboard-body .ck.ck-editor__main > .ck-editor__editable {
  min-height: 420px;
  border: 1px solid rgba(155, 169, 181, 0.24);
  border-top: 0;
  border-radius: 0 0 1rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-charcoal);
  line-height: 1.75;
}

.dashboard-body .ck.ck-editor__main > .ck-editor__editable.ck-focused {
  border-color: rgba(155, 169, 181, 0.46);
  box-shadow: 0 0 0 4px rgba(184, 212, 227, 0.22);
}

.dashboard-body .ck-content h2 {
  font-size: 2rem;
  line-height: 1.08;
}

.dashboard-body .ck-content h3 {
  font-size: 1.45rem;
  line-height: 1.15;
}

.dashboard-body .ck-content ul,
.dashboard-body .ck-content ol {
  padding-left: 1.2rem;
}

@media (max-width: 1200px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: relative;
    height: auto;
  }

  .dashboard-grid--overview,
  .dashboard-grid--two,
  .dashboard-grid--three,
  .dashboard-kpis,
  .dashboard-kpis--compact,
  .dashboard-document-grid,
  .dashboard-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .dashboard-main {
    padding: 0.8rem;
  }

  .dashboard-topbar,
  .dashboard-page-intro,
  .dashboard-topbar__actions,
  .dashboard-hero-panel,
  .dashboard-grid--overview,
  .dashboard-grid--two,
  .dashboard-grid--three,
  .dashboard-kpis,
  .dashboard-kpis--compact,
  .dashboard-document-grid,
  .dashboard-form-grid,
  .dashboard-service-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-sidebar__nav {
    grid-template-columns: 1fr;
  }

  .dashboard-schedule__row,
  .dashboard-list__item,
  .dashboard-metrics-list__item,
  .dashboard-table__head,
  .dashboard-table__row,
  .dashboard-table__head--patients,
  .dashboard-table__row--patients {
    grid-template-columns: 1fr;
  }

  .dashboard-table__head {
    display: none;
  }

  .dashboard-table__row {
    padding: 1rem 0;
    gap: 0.4rem;
  }

  .dashboard-service-card__main {
    grid-template-columns: 1fr;
  }

  .dashboard-service-card--specialist {
    grid-template-columns: 1fr;
  }

  .dashboard-service-card--certificate {
    grid-template-columns: 1fr;
  }

  .dashboard-service-card--faq {
    grid-template-columns: 1fr;
  }

  .dashboard-specialist-card__meta {
    justify-content: start;
  }

  .dashboard-certificate-card__meta {
    justify-content: start;
  }

  .dashboard-service-card__actions,
  .dashboard-form-actions {
    justify-content: stretch;
  }
}

/* --- Setări site ------------------------------------------------------- */

.dashboard-settings {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.dashboard-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.35rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(155, 169, 181, 0.16);
  box-shadow: 0 10px 32px rgba(124, 145, 158, 0.08);
}

.dashboard-tabs__item {
  border: 0;
  border-radius: 0.8rem;
  padding: 0.55rem 0.9rem;
  background: transparent;
  color: var(--color-dark-grey);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.dashboard-tabs__item:hover {
  background: rgba(184, 212, 227, 0.24);
  color: var(--color-charcoal);
}

.dashboard-tabs__item.is-active {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.dashboard-settings__panel {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Panourile inactive sunt ascunse cu atributul `hidden`, care singur pierde în
   fața unui `display` scris pe clasă. */
.dashboard-settings [hidden] {
  display: none;
}

.dashboard-settings__blurb,
.dashboard-panel__header .dashboard-settings__blurb {
  margin: 0.35rem 0 0;
  max-width: 68ch;
  color: var(--color-dark-grey);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
  text-transform: none;
}

.dashboard-settings > .dashboard-form-layout .dashboard-settings__panel > .dashboard-settings__blurb {
  margin: 0;
}

.dashboard-settings__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  align-items: start;
  gap: 1rem;
}

.dashboard-settings__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.dashboard-settings__stat {
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  background: rgba(184, 212, 227, 0.16);
  border: 1px solid rgba(155, 169, 181, 0.16);
}

.dashboard-settings__stat small {
  display: block;
  color: var(--color-medium-grey);
  font-size: 0.8rem;
  font-weight: 700;
}

.dashboard-settings__stat strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-charcoal);
  font-size: 0.98rem;
}

.dashboard-settings__inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
  margin: 0.8rem 0;
}

.dashboard-settings__inline-form .dashboard-field {
  flex: 1 1 18rem;
}

.dashboard-settings__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.dashboard-settings__pages {
  display: grid;
  gap: 0.15rem;
}

.dashboard-settings__page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.15rem;
  border-bottom: 1px solid rgba(155, 169, 181, 0.14);
  cursor: pointer;
}

.dashboard-settings__page:last-child {
  border-bottom: 0;
}

.dashboard-settings__page strong {
  display: block;
  color: var(--color-charcoal);
  font-size: 0.95rem;
}

.dashboard-settings__page small {
  display: block;
  margin-top: 0.15rem;
  color: #b26a3c;
  font-size: 0.82rem;
  font-weight: 600;
}

.dashboard-settings__page input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.dashboard-settings__warning {
  margin: 0.8rem 0 0;
  padding: 0.6rem 0.8rem;
  border-radius: 0.8rem;
  background: rgba(210, 126, 126, 0.1);
  color: #a2543a;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Câmpuri */

.dashboard-field select {
  width: 100%;
  border: 1px solid rgba(155, 169, 181, 0.24);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.78rem 0.88rem;
  outline: 0;
  color: var(--color-charcoal);
  font: inherit;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.dashboard-field select:focus {
  border-color: rgba(155, 169, 181, 0.46);
  box-shadow: 0 0 0 4px rgba(184, 212, 227, 0.22);
}

.dashboard-field__hint--error {
  color: #b1493f;
}

.dashboard-setting__required {
  color: #b1493f;
  font-style: normal;
}

.dashboard-setting__code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.55;
}

.dashboard-setting__image {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.dashboard-setting__thumb {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgba(155, 169, 181, 0.2);
  /* Tablă de șah, ca o imagine transparentă să nu pară că lipsește. */
  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, rgba(155, 169, 181, 0.14) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(155, 169, 181, 0.14) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(155, 169, 181, 0.14) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(155, 169, 181, 0.14) 75%);
  background-size: 14px 14px;
  background-position:
    0 0,
    0 7px,
    7px -7px,
    -7px 0;
}

.dashboard-setting__thumb--wide {
  width: 10rem;
  height: 5.25rem;
}

.dashboard-setting__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.dashboard-setting__thumb span {
  color: var(--color-medium-grey);
  font-size: 0.72rem;
  font-weight: 600;
}

.dashboard-setting__image-controls {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.dashboard-setting__image-controls input[type="file"] {
  color: var(--color-dark-grey);
  font-size: 0.88rem;
}

.dashboard-setting__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-setting__row input {
  flex: 1 1 auto;
  min-width: 0;
}

/* Cardul de partajare */

.dashboard-share {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.dashboard-share__title {
  margin: 0;
  color: var(--color-charcoal);
  font-size: 0.92rem;
  font-weight: 700;
}

.dashboard-share__card {
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid rgba(155, 169, 181, 0.22);
  background: var(--color-white);
}

.dashboard-share__image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1200 / 630;
  background: rgba(184, 212, 227, 0.18);
}

.dashboard-share__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-share__image span {
  color: var(--color-medium-grey);
  font-size: 0.78rem;
  font-weight: 600;
}

.dashboard-share__card--small {
  display: flex;
  align-items: stretch;
}

.dashboard-share__card--small .dashboard-share__image {
  width: 6rem;
  flex-shrink: 0;
  aspect-ratio: 1;
}

.dashboard-share__copy {
  padding: 0.6rem 0.75rem 0.7rem;
}

.dashboard-share__domain {
  margin: 0;
  color: var(--color-medium-grey);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-share__headline {
  margin: 0.2rem 0 0;
  color: var(--color-charcoal);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.dashboard-share__text {
  margin: 0.2rem 0 0;
  color: var(--color-dark-grey);
  font-size: 0.8rem;
  line-height: 1.45;
}

.dashboard-share__notes {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  color: var(--color-medium-grey);
  font-size: 0.8rem;
  line-height: 1.5;
}

.dashboard-share__notes a {
  color: var(--color-dark-grey);
  font-weight: 700;
}

@media (max-width: 900px) {
  .dashboard-settings__split {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .dashboard-setting__image {
    flex-direction: column;
  }
}

/* --- Editor pagina „Despre” --------------------------------------------- */

.dashboard-about-image {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(155, 169, 181, 0.16);
}

.dashboard-about-image .dashboard-section-eyebrow {
  margin: 0 0 0.6rem;
}

.dashboard-about-rows {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.9rem;
}

.dashboard-about-row {
  display: grid;
  grid-template-columns: minmax(0, 8rem) minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

@media (max-width: 700px) {
  .dashboard-about-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dashboard-post-card__cover {
  width: 4.2rem;
  height: 3.2rem;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(124, 145, 158, 0.14);
}

/* --- Blocuri repetabile din editorul de serviciu ------------------------- */

.dashboard-repeater {
  display: grid;
  gap: 0.7rem;
}

/* Tab-urile de limba dintr-un formular de continut. Aceleasi campuri, o data
   pentru fiecare limba; toate se trimit odata cu formularul. */
.dashboard-lang__tabs {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.25rem;
  margin-bottom: 0.9rem;
  border-radius: var(--radius-pill, 999px);
  border: 1px solid rgba(155, 169, 181, 0.22);
  background: rgba(247, 250, 251, 0.85);
}

/* Bara editoarelor de pagina foloseste legaturi, nu butoane: acolo limba se
   schimba reincarcand pagina. Arata la fel. */
a.dashboard-lang__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.dashboard-lang__tab {
  min-width: 3.1rem;
  padding: 0.5rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-medium-grey);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.dashboard-lang__tab:hover {
  color: var(--color-charcoal);
  background: rgba(184, 212, 227, 0.24);
}

.dashboard-lang__tab.is-active {
  color: var(--color-charcoal);
  background: var(--color-pure-white);
  box-shadow: inset 0 0 0 1px rgba(155, 169, 181, 0.18);
}

.dashboard-lang__hint {
  margin: 0 0 0.75rem;
  color: var(--color-medium-grey);
  font-size: 0.86rem;
}

.dashboard-repeater__row {
  padding: 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgba(155, 169, 181, 0.2);
  background: rgba(247, 250, 251, 0.7);
}

.dashboard-repeater__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.dashboard-repeater__badge {
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-repeater__actions {
  margin-top: 0.8rem;
}

.dashboard-repeater__empty {
  display: none;
  margin: 0;
  color: var(--color-medium-grey);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Mesajul apare doar cât timp blocul chiar este gol. */
[data-repeater].is-empty .dashboard-repeater__empty {
  display: block;
}

[data-repeater-add][disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.dashboard-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.dashboard-gallery__item {
  display: grid;
  gap: 0.5rem;
  padding: 0.7rem;
  border-radius: 1rem;
  border: 1px solid rgba(155, 169, 181, 0.2);
  background: rgba(247, 250, 251, 0.7);
}

.dashboard-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0.7rem;
}
