/* Appointment picker. Uses the ngms-ui colour tokens so it follows light/dark automatically. */
.ngs { display: block; text-align: right; }
.ngs-label { font-weight: 500; margin: 14px 0 8px; font-size: 15px; }
.ngs-label:first-child { margin-top: 0; }
.ngs-label small { font-weight: 400; opacity: .75; font-size: 13px; }
.ngs-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.ngs-day { flex: 0 0 auto; scroll-snap-align: center; min-width: 84px; padding: 8px 10px; display: flex; flex-direction: column; align-items: center; gap: 2px; border: 1px solid var(--ngms-line); border-radius: 10px; background: transparent; color: inherit; font: inherit; cursor: pointer; transition: background-color .2s, border-color .2s, transform .15s; }
.ngs-day .w { font-size: 12px; opacity: .8; }
.ngs-day b { font-weight: 500; font-size: 15px; white-space: nowrap; }
.ngs-day .n { font-size: 12px; color: var(--ngms-primary-text); }
.ngs-day:hover:not(:disabled) { border-color: var(--ngms-primary); }
.ngs-day.on { background: var(--ngms-primary); border-color: var(--ngms-primary); color: #fff; }
.ngs-day.on .n, .ngs-day.on .w { color: #fff; opacity: .95; }
.ngs-day.off { opacity: .45; cursor: not-allowed; }
.ngs-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.ngs-time { min-height: 42px; border: 1px solid var(--ngms-line); border-radius: 8px; background: transparent; color: inherit; font: inherit; font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.ngs-time:hover:not(:disabled) { border-color: var(--ngms-primary); }
.ngs-time.on { background: var(--ngms-primary); border-color: var(--ngms-primary); color: #fff; }
.ngs-time.taken { text-decoration: line-through; opacity: .45; cursor: not-allowed; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(128,128,128,.14) 6px 8px); }
.ngs-day:focus-visible, .ngs-time:focus-visible, .ngs-cta:focus-visible, .ngs-link:focus-visible { outline: 2px solid var(--ngms-primary-text); outline-offset: 2px; }
.ngs-legend { display: flex; gap: 16px; flex-wrap: wrap; margin: 12px 0 0; font-size: 12.5px; opacity: .85; }
.ngs-legend span { display: inline-flex; align-items: center; gap: 6px; }
.ngs-legend i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--ngms-line); display: inline-block; }
.ngs-legend i.b { background: var(--ngms-primary); border-color: var(--ngms-primary); }
.ngs-legend i.c { background: repeating-linear-gradient(135deg, transparent 0 3px, rgba(128,128,128,.4) 3px 4px); }
.ngs-foot { margin-top: 16px; }
.ngs-cta { width: 100%; min-height: 46px; }
.ngs-cta:disabled { opacity: .55; cursor: not-allowed; }
.ngs-msg { padding: 14px; border: 1px dashed var(--ngms-line); border-radius: 10px; text-align: center; }
.ngs-msg.is-err { border-style: solid; border-color: var(--ngms-danger, #c0392b); }
.ngs-link { background: none; border: 0; color: var(--ngms-primary-text); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; }
.ngs-skel { display: grid; gap: 10px; }
.ngs-skel i { display: block; height: 44px; border-radius: 10px; background: linear-gradient(90deg, rgba(128,128,128,.12), rgba(128,128,128,.22), rgba(128,128,128,.12)); background-size: 200% 100%; animation: ngs-sh 1.2s linear infinite; }
@keyframes ngs-sh { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .ngs-skel i { animation: none; } .ngs-day, .ngs-time { transition: none; } }
@media (max-width: 480px) {
	.ngs-times { grid-template-columns: repeat(3, 1fr); }
	.ngs-day { min-width: 78px; }
}

/* ===== public coach page: «درخواست برنامه» box ===== */
.ngcr { margin: 8px 0 28px; text-align: right; }
.ngcr .ngcr-card { background: transparent; border: 0; border-radius: 14px; padding: 22px; max-width: 920px; margin: 0 auto; }
.ngcr .ngcr-step { display: flex; align-items: center; gap: 10px; font-weight: 500; margin: 0 0 10px; }
.ngcr .ngcr-step + .ngcr-seg, .ngcr .ngcr-step + .ngcr-modes { margin-bottom: 18px; }
.ngcr .ngcr-step i { width: 26px; height: 26px; border-radius: 50%; background: var(--ngms-primary); color: #fff; display: inline-grid; place-items: center; font-style: normal; font-size: 13px; }
.ngcr .ngcr-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--ngms-line); }
.ngcr button.ngcr-k { min-height: 40px; padding: 0 22px; border-radius: 999px; border: 0; background: transparent; color: inherit; font: inherit; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.ngcr button.ngcr-k.on { background: var(--ngms-primary); color: #fff; }
.ngcr button.ngcr-k:hover:not(.on) { background: rgba(128,128,128,.16); color: inherit; }
.ngcr .ngcr-card { container-type: inline-size; }
.ngcr .ngcr-modes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.ngcr button.ngcr-m { text-align: right; display: block; width: 100%; min-width: 0; box-sizing: border-box; white-space: normal; padding: 14px 16px; border: 1.5px solid var(--ngms-line); border-radius: 12px; background: transparent; color: inherit; font: inherit; cursor: pointer; transition: border-color .2s, background-color .2s; }
.ngcr button.ngcr-m b { display: block; font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.ngcr button.ngcr-m span { display: block; white-space: normal; font-size: 13.5px; line-height: 1.8; opacity: .85; }
.ngcr button.ngcr-m em { display: inline-block; margin-top: 8px; font-style: normal; font-weight: 500; color: var(--ngms-primary-text); }
.ngcr button.ngcr-m:hover:not(:disabled) { border-color: var(--ngms-primary); color: inherit; background: transparent; }
.ngcr button.ngcr-m.on { border-color: var(--ngms-primary); background: rgba(48,77,157,.22); }
.ngcr button.ngcr-m:disabled { opacity: .5; cursor: not-allowed; }
.ngcr [hidden] { display: none !important; }
.ngcr .ngcr-panel { margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--ngms-line); }
.ngcr .ngcr-panel p { margin: 0 0 14px; line-height: 1.9; }
.ngcr .ngcr-panel .ngms-btn { min-height: 46px; padding: 0 28px; }
.ngcr button:focus-visible { outline: 2px solid var(--ngms-primary-text); outline-offset: 2px; }
.ngcr .ngs button.ngs-day, .ngcr .ngs button.ngs-time { box-shadow: none; text-transform: none; letter-spacing: 0; }
.ngcr .ngs button.ngs-day.on, .ngcr .ngs button.ngs-time.on { color: #fff; }
@container (max-width: 400px) { .ngcr .ngcr-modes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
	.ngcr .ngcr-card { padding: 16px; border-radius: 12px; }
	.ngcr .ngcr-modes { grid-template-columns: 1fr; }
	.ngcr .ngcr-seg { display: flex; }
	.ngcr button.ngcr-k { flex: 1; padding: 0 8px; }
	.ngcr .ngcr-panel .ngms-btn { width: 100%; }
}

/* Coach page: the glow behind the photo + form (Elementor container background) is blue, not red. The form itself has no panel of its own. */
.e-con:has(> .elementor-widget-shortcode .ngcr)::before { filter: blur(40px) hue-rotate(215deg) saturate(1.3) !important; }

/* ===== public coach page: comments ===== */
.ngcm { max-width: 920px; margin: 8px auto 28px; text-align: right; color: inherit; }
.ngcm .ngcm-title { margin: 0 0 16px; font-size: 22px; font-weight: 700; color: inherit; }
.ngcm .ngcm-row { display: block; margin: 0 0 12px; }
.ngcm .ngcm-row[hidden], .ngcm .ngcm-more[hidden] { display: none !important; }
.ngcm .ngcm-in { display: block; width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1.5px solid var(--ngms-line, rgba(255,255,255,.28)); border-radius: 10px; background: rgba(255,255,255,.04); color: inherit; font: inherit; line-height: 1.8; transition: border-color .2s, background-color .2s; }
.ngcm textarea.ngcm-in { resize: vertical; min-height: 120px; }
.ngcm .ngcm-in::placeholder { color: inherit; opacity: .55; }
.ngcm .ngcm-in:focus { outline: 0; border-color: var(--ngms-primary, #304d9d); background: rgba(48,77,157,.12); }
.ngcm .ngcm-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ngcm button.ngcm-send { min-height: 46px; padding: 0 32px; border: 0; border-radius: 10px; background: var(--ngms-primary, #304d9d); color: #fff; font: inherit; font-weight: 500; cursor: pointer; transition: filter .2s; }
.ngcm button.ngcm-send:hover:not(:disabled) { filter: brightness(1.15); color: #fff; }
.ngcm button.ngcm-send:disabled { opacity: .6; cursor: wait; }
.ngcm button.ngcm-send:focus-visible, .ngcm button.ngcm-more:focus-visible { outline: 2px solid var(--ngms-primary-text, #9db4ff); outline-offset: 2px; }
.ngcm .ngcm-msg { min-height: 0; margin: 0 0 12px; line-height: 1.8; }
.ngcm .ngcm-msg.is-ok { color: #8fe0b4; }
.ngcm .ngcm-msg.is-err { color: #ffb4b4; }
.ngcm .ngcm-list { margin-top: 26px; display: grid; gap: 12px; }
.ngcm .ngcm-item { padding: 14px 16px; border: 1px solid var(--ngms-line, rgba(255,255,255,.2)); border-radius: 12px; background: rgba(255,255,255,.03); }
.ngcm .ngcm-item header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 14px; }
.ngcm .ngcm-item time { opacity: .65; font-size: 13px; white-space: nowrap; }
.ngcm .ngcm-item p, .ngcm .ngcm-empty { margin: 0; line-height: 1.95; white-space: pre-wrap; word-break: break-word; }
.ngcm .ngcm-empty { opacity: .7; text-align: center; padding: 8px 0; }
.ngcm button.ngcm-more { display: block; margin: 16px auto 0; padding: 10px 26px; border: 1.5px solid var(--ngms-line, rgba(255,255,255,.3)); border-radius: 999px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.ngcm button.ngcm-more:hover { border-color: var(--ngms-primary, #304d9d); color: inherit; background: transparent; }
/* the glow behind the comment section: blue */
.e-con:has(> .elementor-widget-shortcode .ngcm)::before, .e-con.ngcm-glow::before { filter: blur(40px) hue-rotate(215deg) saturate(1.3) !important; }
