/**
 * CSS پرتال پرستاری — طب تو
 */
.nur-page {
  margin: 0;
  font-family: "Vazirmatn", "Tahoma", sans-serif;
  background:
    radial-gradient(ellipse 60% 35% at 100% 0%, rgba(45, 212, 191, 0.12), transparent 55%),
    linear-gradient(180deg, #ecfdf5 0%, #f8fafc 42%, #fff 100%);
  color: #0f172a;
  min-height: 100vh;
}

.nur-site-nav .brand-logo {
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.nur-hero {
  padding: 2.5rem 0 2rem;
  background: radial-gradient(circle at 20% 20%, #99f6e4 0%, transparent 45%),
    linear-gradient(135deg, #0f766e 0%, #115e59 55%, #134e4a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.nur-hero--photo {
  min-height: clamp(22rem, 48vw, 30rem);
  display: flex;
  align-items: center;
  padding: 3rem 0 2.75rem;
  background: #0f3f3a;
  overflow: hidden;
}

.nur-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  border-radius: 0;
  min-height: 0;
  height: auto;
  box-shadow: none;
  border: 0;
  background: #0a3d38;
  overflow: hidden;
}

.nur-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.nur-hero-veil {
  display: block;
  position: absolute;
  inset: 0;
  /* متن راست (RTL): تیره روی راست؛ تصویر پرستار چپ شفاف‌تر */
  background:
    linear-gradient(
      90deg,
      rgba(6, 48, 44, 0.18) 0%,
      rgba(6, 48, 44, 0.22) 28%,
      rgba(6, 48, 44, 0.62) 52%,
      rgba(6, 48, 44, 0.88) 72%,
      rgba(6, 48, 44, 0.94) 100%
    ),
    linear-gradient(180deg, rgba(6, 48, 44, 0.28) 0%, transparent 38%, rgba(6, 48, 44, 0.35) 100%);
}

.nur-hero-grid {
  position: relative;
  z-index: 2;
  display: block;
}

.nur-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  /* RTL: شروع = راست → متن روی فضای خالی، نه روی پرستار */
  margin-inline-start: 0;
  margin-inline-end: auto;
  text-align: right;
}

.nur-hero--illustrated { min-height: 280px; }
.nur-hero-art {
  position: absolute; inset: 0; pointer-events: none; color: #fff; z-index: 1;
}
.nur-hero-art--compact .nur-vec { opacity: .85; }
.nur-vec { position: absolute; color: #fff; }
.nur-vec-cross { width: 110px; height: 110px; left: 8%; top: 18%; animation: nur-float 7s ease-in-out infinite; }
.nur-vec-heart { width: 180px; height: 80px; left: 28%; bottom: 12%; opacity: .7; }
.nur-vec-nurse { width: 200px; height: 220px; right: 4%; bottom: -10px; }
.nur-vec-home { width: 90px; height: 80px; right: 22%; top: 16%; animation: nur-float 9s ease-in-out infinite reverse; }
@keyframes nur-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.nur-hero h1 {
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  margin: 0.45rem 0 0.85rem;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}
.nur-lead {
  opacity: 0.94;
  max-width: 34rem;
  line-height: 1.75;
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
}
.nur-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
}
.nur-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}
.nur-hero--photo .nur-btn-primary {
  background: #fff;
  color: #0f766e;
  font-weight: 700;
}
.nur-hero--photo .nur-btn-primary:hover { background: #ecfdf5; color: #115e59; }
.nur-back, .nur-brand { color: inherit; text-decoration: none; font-weight: 600; }
.nur-back { opacity: 0.85; display: inline-block; margin-bottom: 1rem; }
.nur-stats {
  opacity: 0.88;
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.nur-footer {
  border-top: 1px solid #d1fae5;
  background: #f0fdfa;
  padding: 1.35rem 0;
  margin-top: 0.5rem;
}
.nur-footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: #475569;
  font-size: 0.92rem;
}
.nur-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}
.nur-footer-brand img {
  border-radius: 6px;
  object-fit: cover;
  background: #fff;
}
.nur-footer a { color: #0f766e; }
.nur-footer p { margin: 0; }
.nur-section-title { display: flex; align-items: center; gap: 0.45rem; margin-top: 0; color: #115e59; }
.nur-hint { margin: 0.35rem 0 0; font-size: 0.85rem; }
.nur-hint a { color: #0f766e; }
.nur-top { background: #fff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 20; }
.nur-top--simple .nur-top-inner { justify-content: space-between; }
.nur-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; }
.nur-top-link { color: #0f766e; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nur-nav { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.nur-nav a { color: #334155; text-decoration: none; font-size: 0.95rem; }
.nur-nav a.is-active { color: #0f766e; font-weight: 700; }
.nur-main { padding: 1.5rem 0 3rem; }
.nur-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.nur-landing-search { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: stretch; }
.nur-landing-search .nur-search-wrap { flex: 1; min-width: min(100%, 240px); }
.nur-search-wrap--solid {
  background: #f8fafc; border: 1px solid #cbd5e1; color: #0f172a;
}
.nur-action-grid {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 0.85rem;
}
.nur-action-grid--compact { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.nur-action-tile {
  display: flex; gap: 0.75rem; align-items: flex-start;
  text-decoration: none; color: inherit;
  border: 1px solid #e2e8f0; border-radius: 14px; padding: 0.95rem 1rem;
  background: #f8fafc; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.nur-action-tile:hover { border-color: #99f6e4; box-shadow: 0 8px 20px rgba(15,118,110,.08); transform: translateY(-1px); }
.nur-action-tile--primary { background: linear-gradient(135deg, #ecfdf5, #fff); border-color: #5eead4; }
.nur-action-tile--active { border-color: #0f766e; box-shadow: 0 0 0 1px #0f766e; }
.nur-action-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 12px; flex: 0 0 auto;
  display: grid; place-items: center; background: #ecfdf5; color: #0f766e; font-size: 1.05rem;
}
.nur-action-body { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.nur-action-body strong { color: #115e59; }
.nur-action-body span { color: #64748b; font-size: 0.86rem; line-height: 1.4; }
.nur-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.06);
  margin-bottom: 1rem;
}
.nur-card h1, .nur-card h2 { margin-top: 0; color: #115e59; }
.nur-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 10px; padding: 0.55rem 1rem;
  text-decoration: none; cursor: pointer; font: inherit; background: #e2e8f0; color: #0f172a;
}
.nur-btn-primary { background: #0f766e; color: #fff; }
.nur-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.nur-btn-sm { padding: 0.35rem 0.65rem; font-size: 0.85rem; }
.nur-form-row { margin-bottom: 0.9rem; display: flex; flex-direction: column; gap: 0.35rem; }
.nur-form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.nur-form-row label { font-weight: 600; font-size: 0.9rem; }
.nur-form-row input, .nur-form-row select, .nur-form-row textarea,
.nur-inline select, .nur-filter select {
  border: 1px solid #cbd5e1; border-radius: 10px; padding: 0.55rem 0.7rem; font: inherit;
}
.nur-table { width: 100%; border-collapse: collapse; }
.nur-table th, .nur-table td { padding: 0.55rem 0.4rem; border-bottom: 1px solid #e2e8f0; text-align: right; font-size: 0.92rem; }
.nur-pill {
  display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px;
  background: #ecfdf5; color: #115e59; font-size: 0.8rem; font-weight: 600;
}
.nur-pill.status-completed { background: #dcfce7; color: #166534; }
.nur-pill.status-cancelled { background: #fee2e2; color: #991b1b; }
.nur-pill.status-in_progress, .nur-pill.status-dispatched { background: #dbeafe; color: #1e40af; }
.nur-muted { color: #64748b; }
.nur-msg { margin-top: 0.75rem; color: #0f766e; font-weight: 600; }
.nur-msg.is-error { color: #b91c1c; }
.nur-alert { background: #fef3c7; border: 1px solid #f59e0b; padding: 0.85rem 1rem; border-radius: 12px; margin-bottom: 1rem; }
.nur-steps { margin: 0; padding-right: 1.2rem; line-height: 1.9; }
.nur-list { margin: 0; padding-right: 1.1rem; line-height: 1.9; }
.nur-ops-item { border: 1px solid #e2e8f0; border-radius: 12px; padding: 0.9rem; margin-bottom: 0.75rem; }
.nur-ops-head { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.35rem; }
.nur-ops-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-top: 0.6rem; }
.nur-inline { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; }
.nur-chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.nur-chip { background: #f1f5f9; color: #334155; text-decoration: none; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.82rem; }
.nur-chip.is-active { background: #0f766e; color: #fff; }

/* کاتالوگ گرافیکی */
.nur-catalog-hero {
  padding: 2rem 0 1.5rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(153, 246, 228, 0.45) 0%, transparent 40%),
    linear-gradient(145deg, #0f766e 0%, #134e4a 70%);
  color: #fff;
}
.nur-catalog-hero h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 0.35rem 0 0.5rem; }
.nur-catalog-toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.1rem; }
.nur-setting-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.nur-setting-tab {
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1);
  color: #fff; border-radius: 999px; padding: 0.4rem 0.85rem; font: inherit; cursor: pointer;
}
.nur-setting-tab.is-active { background: #fff; color: #0f766e; font-weight: 700; }
.nur-search-wrap {
  display: flex; align-items: center; gap: 0.45rem; background: #fff; color: #0f172a;
  border-radius: 12px; padding: 0.45rem 0.75rem; min-width: min(100%, 280px); flex: 1;
}
.nur-search-wrap input { border: 0; outline: 0; width: 100%; font: inherit; background: transparent; }
.nur-catalog-groups {
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  margin-bottom: 1.25rem;
}
.nur-group-tile {
  appearance: none; border: 1px solid #e2e8f0; background: #fff; border-radius: 16px;
  padding: 1rem 0.85rem; text-align: center; cursor: pointer; font: inherit;
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
}
.nur-group-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 118, 110, 0.12); }
.nur-group-tile.is-active { border-color: var(--nur-g, #0f766e); box-shadow: 0 0 0 2px var(--nur-g, #0f766e); }
.nur-group-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--nur-g, #0f766e) 16%, #fff); color: var(--nur-g, #0f766e); font-size: 1.15rem;
}
.nur-group-title { font-weight: 700; font-size: 0.92rem; color: #0f172a; line-height: 1.35; }
.nur-group-count { font-size: 0.78rem; color: #64748b; }
.nur-catalog-panel {
  scroll-margin-top: 1.25rem;
}
.nur-catalog-panel-head h2 { margin: 0; }
.nur-service-grid {
  display: grid; gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.nur-service-card {
  border: 1px solid #e2e8f0; border-radius: 14px; padding: 1rem; background: #f8fafc;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.nur-service-card h3 { margin: 0; font-size: 1rem; color: #115e59; line-height: 1.45; }
.nur-service-top { display: flex; justify-content: space-between; gap: 0.5rem; align-items: center; }
.nur-service-code { margin: 0; font-size: 0.78rem; }
.nur-pill.setting-HOM { background: #ecfdf5; color: #047857; }
.nur-pill.setting-CLIN { background: #eff6ff; color: #1d4ed8; }
.nur-pill.setting-ORG { background: #f5f3ff; color: #6d28d9; }

.nur-map-box {
  width: 100%; border-radius: 14px; overflow: hidden;
  border: 1px solid #cbd5e1; background: #e2e8f0; min-height: 200px;
}
.nur-checklist {
  display: grid; gap: 0.35rem; margin: 0.5rem 0;
  font-size: 0.9rem;
}
.nur-checklist label { display: flex; align-items: center; gap: 0.45rem; }
.nur-feedback-row { display: inline-flex; gap: 0.35rem; align-items: center; }
.nur-rating { border: 1px solid #cbd5e1; border-radius: 8px; padding: 0.25rem 0.4rem; font: inherit; }
.nur-page--mobile .nur-nurse-main { padding-bottom: 4.5rem; }
.nur-page--mobile .nur-ops-item { padding: 1rem; }
.nur-page--mobile .nur-btn { min-height: 2.5rem; }

@media (max-width: 991.98px) {
  .nur-hero--photo {
    min-height: 20rem;
    padding: 2.25rem 0 2rem;
  }
  .nur-hero-copy {
    max-width: none;
    margin-inline-end: 0;
  }
  .nur-hero-veil {
    background:
      linear-gradient(180deg, rgba(6, 48, 44, 0.55) 0%, rgba(6, 48, 44, 0.78) 45%, rgba(6, 48, 44, 0.92) 100%);
  }
  .nur-hero-img { object-position: left center; }
}

@media (max-width: 640px) {
  .nur-form-2 { grid-template-columns: 1fr; }
  .nur-top-inner { flex-direction: row; align-items: center; }
  .nur-catalog-toolbar { flex-direction: column; align-items: stretch; }
  .nur-vec-nurse { width: 140px; height: 160px; right: -10px; opacity: .55; }
  .nur-vec-home { display: none; }
  .nur-landing-search { flex-direction: column; }
  .nur-map-box { min-height: 180px; }
  .nur-hero--photo {
    min-height: 18rem;
    padding: 1.75rem 0 1.5rem;
  }
  .nur-cta-row .nur-btn { flex: 1 1 auto; justify-content: center; }
  .nur-page--landing .nur-footer { display: none; }
  .nur-page--landing .nur-main { padding-bottom: 2rem; }
}

@media (max-width: 767.98px) {
  .nur-catalog-groups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
  }
  .nur-group-tile {
    padding: 0.55rem 0.3rem;
    border-radius: 12px;
    gap: 0.25rem;
  }
  .nur-group-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    font-size: 0.9rem;
  }
  .nur-group-title {
    font-size: 0.68rem;
    line-height: 1.3;
  }
  .nur-group-count {
    font-size: 0.62rem;
  }
  .nur-page--landing .nur-footer,
  .nur-page--landing .footer,
  .nur-page--landing .teb-footer {
    display: none !important;
  }
}
