/* ================= Post a Requirement ================= */
.pr-page { background: #f7f8fa; padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); }

.pr-head { max-width: 640px; margin: 0 0 22px; }

.pr-title { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.03em; color: #0f1523; margin: 0 0 8px; }
.pr-lead { color: #5b6472; font-size: clamp(14.5px, 1vw, 16px); line-height: 1.6; margin: 0; max-width: 58ch; }

.pr-panel {
	background: #fff; border: 1px solid rgba(16, 24, 40, .08);
	border-radius: 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}
.pr-panel-pad { padding: clamp(20px, 2.4vw, 32px); }

.pr-progress { padding: 20px clamp(20px, 2.4vw, 32px); border-bottom: 1px solid rgba(16, 24, 40, .07); }
.pr-steps { display: flex; align-items: center; gap: 10px; }
.pr-step { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.pr-step-num {
	display: inline-flex; align-items: center; justify-content: center;
	width: 30px; height: 30px; border-radius: 50%;
	border: 1px solid rgba(16, 24, 40, .14); background: #fff;
	color: #98a2b3; font-size: 12.5px; font-weight: 700;
	transition: all .2s ease;
}
.pr-step-label { font-size: 13.5px; font-weight: 500; color: #98a2b3; white-space: nowrap; transition: color .2s ease; }
.pr-step.is-active .pr-step-num { background: #101828; border-color: #101828; color: #fff; }
.pr-step.is-active .pr-step-label { color: #101828; font-weight: 600; }
.pr-step.is-done .pr-step-num { background: rgba(18, 183, 106, .12); border-color: rgba(18, 183, 106, .3); color: #027a48; }
.pr-step.is-done .pr-step-label { color: #475467; }
.pr-step-line { flex: 1 1 auto; height: 1px; background: rgba(16, 24, 40, .12); min-width: 14px; }

.pr-bar { height: 4px; border-radius: 999px; background: rgba(16, 24, 40, .08); overflow: hidden; margin-top: 16px; }
.pr-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--primary, #FD2692); transition: width .35s ease; }
.pr-count { margin-top: 8px; font-size: 12.5px; color: #98a2b3; }

.pr-q-title { font-size: clamp(19px, 2vw, 23px); font-weight: 600; letter-spacing: -.015em; color: #0f1523; margin: 0 0 6px; }
.pr-q-hint { font-size: 13.5px; color: #98a2b3; margin: 0 0 20px; }
.pr-required { color: var(--primary, #FD2692); }

.pr-options { display: grid; gap: 10px; }
@media (min-width: 576px) { .pr-options.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.pr-option { position: relative; margin: 0; cursor: pointer; }
.pr-option input { position: absolute; opacity: 0; width: 0; height: 0; }

.pr-option-face {
	position: relative;
	display: flex; align-items: center; gap: 12px;
	padding: 15px 17px;
	border: 1px solid rgba(16, 24, 40, .12);
	border-radius: 14px; background: #fff;
	font-size: 15px; color: #344054; line-height: 1.4;
	transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.pr-option-face::before {
	content: ""; flex: 0 0 auto;
	width: 22px; height: 22px;
	border: 1.5px solid rgba(16, 24, 40, .22);
	background: #fff;
	transition: all .18s ease;
}
.pr-option.is-radio .pr-option-face::before { border-radius: 50%; }
.pr-option.is-check .pr-option-face::before { border-radius: 7px; }

.pr-option:hover .pr-option-face { border-color: rgba(16, 24, 40, .26); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(16, 24, 40, .06); }

.pr-option input:checked + .pr-option-face {
	border-color: var(--primary, #FD2692);
	background: rgba(253, 38, 150, .045);
	box-shadow: 0 0 0 1px var(--primary, #FD2692) inset;
}
.pr-option.is-radio input:checked + .pr-option-face::before {
	border-color: var(--primary, #FD2692);
	background: var(--primary, #FD2692);
	box-shadow: inset 0 0 0 3px #fff;
}
.pr-option.is-check input:checked + .pr-option-face::before {
	border-color: var(--primary, #FD2692);
	background: var(--primary, #FD2692);
}
.pr-option.is-check input:checked + .pr-option-face::after {
	content: "";
	position: absolute;
	left: 25px; top: 50%;
	width: 6px; height: 11px;
	border: solid #fff;
	border-width: 0 2.5px 2.5px 0;
	transform: translateY(-60%) rotate(45deg);
	pointer-events: none;
}
.pr-option input:focus-visible + .pr-option-face { outline: 2px solid var(--primary, #FD2692); outline-offset: 2px; }

.pr-field .form-control, .pr-field .form-select {
	height: 52px; border-radius: 12px; border-color: rgba(16, 24, 40, .12); font-size: 15px;
}
.pr-field textarea.form-control { height: auto; min-height: 120px; }
.pr-field .form-control:focus, .pr-field .form-select:focus {
	border-color: var(--primary, #FD2692); box-shadow: 0 0 0 4px rgba(253, 38, 150, .1);
}
.pr-other { margin-top: 10px; }

.pr-actions { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(16, 24, 40, .07); }
.pr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 50px; padding: 0 26px; border-radius: 12px;
	font-size: 15px; font-weight: 600; border: 0; text-decoration: none; transition: all .2s ease;
}
.pr-btn-primary { background: var(--primary, #FD2692); color: #fff; box-shadow: 0 6px 18px rgba(253, 38, 150, .28); }
.pr-btn-primary:hover:not(:disabled) { background: #e0157d; color: #fff; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(253, 38, 150, .34); }
.pr-btn-primary:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }
.pr-btn-ghost { background: #fff; color: #344054; border: 1px solid rgba(16, 24, 40, .14); }
.pr-btn-ghost:hover { border-color: rgba(16, 24, 40, .3); color: #101828; }
.pr-actions .ms-auto { margin-left: auto; }

.pr-error { display: none; margin-top: 14px; padding: 11px 14px; border-radius: 10px; background: rgba(240, 68, 56, .08); color: #b42318; font-size: 13.5px; }
.pr-error.is-shown { display: block; }

.pr-aside { display: flex; flex-direction: column; gap: 18px; }
.pr-aside-title { font-size: 16px; font-weight: 600; color: #0f1523; margin: 0 0 16px; letter-spacing: -.01em; }

.pr-flow { list-style: none; margin: 0; padding: 0; }
.pr-flow li { position: relative; display: flex; gap: 13px; padding-bottom: 20px; }
.pr-flow li:last-child { padding-bottom: 0; }
.pr-flow li::before {
	content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px;
	width: 1px; background: rgba(16, 24, 40, .1);
}
.pr-flow li:last-child::before { display: none; }
.pr-flow-num {
	flex: 0 0 auto; z-index: 1;
	display: inline-flex; align-items: center; justify-content: center;
	width: 31px; height: 31px; border-radius: 50%;
	background: rgba(253, 38, 150, .09); color: var(--primary, #FD2692);
	font-size: 12.5px; font-weight: 700;
}
.pr-flow-body strong { display: block; font-size: 14.5px; font-weight: 600; color: #101828; margin-bottom: 2px; }
.pr-flow-body span { font-size: 13.5px; color: #667085; line-height: 1.55; }

.pr-why { list-style: none; margin: 0; padding: 0; }
.pr-why li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: #475467; }
.pr-why li + li { margin-top: 11px; }
.pr-why i { color: #12b76a; font-size: 17px; flex: 0 0 auto; }

.pr-success { text-align: center; padding: clamp(34px, 5vw, 56px) 24px; }
.pr-success-mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 70px; height: 70px; margin-bottom: 20px; border-radius: 50%;
	background: rgba(18, 183, 106, .1); color: #12b76a; font-size: 36px;
}
.pr-success h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; letter-spacing: -.02em; color: #0f1523; margin: 0 0 10px; }
.pr-success p { color: #5b6472; font-size: 15.5px; line-height: 1.65; max-width: 46ch; margin: 0 auto 26px; }
.pr-success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.pr-status-line {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 16px; margin: 0 auto 24px; border-radius: 999px;
	background: rgba(245, 165, 36, .1); color: #b54708;
	font-size: 13.5px;
}
.pr-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #f5a524; }

.pr-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 46px 0; color: #667085; font-size: 14.5px; }

@media (max-width: 991.98px) {
	.pr-aside { margin-top: 22px; }
	.pr-actions { flex-wrap: wrap; }
	.pr-actions .pr-btn { flex: 1 1 auto; }
	.pr-step-label { display: none; }
	.pr-step-line { min-width: 8px; }
}

/* =====================================================================
   Find a Provider — question number, review step and success receipt.

   Added for the guided flow: each question states where it sits, the
   answers are reviewed before submitting, and the success screen carries
   the real requirement record rather than static copy.
   ===================================================================== */

/* ---- Question number ---- */
.pr-q-step {
	display: inline-block; margin-bottom: 10px;
	padding: 4px 11px; border-radius: 999px;
	background: rgba(253, 38, 146, .08); color: var(--ts-brand, #fd2692);
	font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

/* ---- Review ---- */
.pr-review {
	margin: 20px 0 4px;
	border: 1px solid var(--ts-line, rgba(16, 24, 40, .09)); border-radius: 14px;
	background: #fbfcfd; overflow: hidden;
}
.pr-review-row {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 14px; align-items: start;
	padding: 14px 18px;
	border-bottom: 1px solid var(--ts-line, rgba(16, 24, 40, .09));
}
.pr-review-row:last-child { border-bottom: 0; }

.pr-review-q {
	font-size: 13.5px; font-weight: 600; line-height: 1.5;
	color: var(--ts-body, #475467);
}
.pr-review-a { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-review-value {
	padding: 5px 12px; border-radius: 8px;
	border: 1px solid rgba(253, 38, 146, .2); background: rgba(253, 38, 146, .06);
	font-size: 13px; font-weight: 550; color: #b0136a;
}

/* ---- Success receipt ---- */
.pr-receipt {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	gap: 16px 20px; margin: 24px 0 0; padding: 18px 20px;
	border: 1px solid var(--ts-line, rgba(16, 24, 40, .09)); border-radius: 14px;
	background: #fbfcfd; text-align: left;
}
.pr-receipt dt {
	margin-bottom: 4px; font-size: 10.5px; font-weight: 700;
	letter-spacing: .1em; text-transform: uppercase; color: var(--ts-faint, #98a2b3);
}
.pr-receipt dd {
	margin: 0; font-size: 14.5px; font-weight: 650;
	color: var(--ts-ink, #101828); font-variant-numeric: tabular-nums;
}
.pr-receipt-status {
	display: inline-block; padding: 3px 11px; border-radius: 999px;
	background: rgba(10, 103, 242, .1); color: #0a4fbc;
	font-size: 12px; font-weight: 650;
}

/* ---- What happens next ----
   One connected row of four short steps. The earlier grid wrapped into a
   ragged 3 + 1 with uneven card heights, which read as leftovers rather
   than a sequence. */
.pr-next-wrap {
	margin-top: 24px; padding: 20px;
	border: 1px solid var(--ts-line, rgba(16, 24, 40, .09)); border-radius: 14px;
	background: #fbfcfd; text-align: left;
}
.pr-next-title {
	display: block; margin-bottom: 16px;
	font-size: 11px; font-weight: 700; letter-spacing: .1em;
	text-transform: uppercase; color: var(--ts-faint, #98a2b3);
}
.pr-next {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
}
.pr-next li {
	position: relative;
	display: flex; flex-direction: column; align-items: flex-start; gap: 9px;
	padding: 0 16px 0 0;
}
.pr-next li:last-child { padding-right: 0; }

/* The rule that joins the steps, drawn from each number to the next. */
.pr-next li:not(:last-child)::after {
	content: ""; position: absolute; left: 34px; right: 8px; top: 13px;
	height: 2px; background: rgba(253, 38, 146, .16); border-radius: 2px;
}
.pr-next-num {
	position: relative; z-index: 1; flex: 0 0 auto;
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--ts-brand, #fd2692); color: #fff;
	font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.pr-next-label {
	font-size: 13px; line-height: 1.45; font-weight: 550;
	color: var(--ts-body, #475467); max-width: 20ch;
}

@media (max-width: 767px) {
	.pr-next { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
	.pr-next li:nth-child(2n)::after { display: none; }
}

@media (max-width: 419px) {
	.pr-next { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.pr-next li { flex-direction: row; align-items: center; padding-right: 0; }
	.pr-next li::after { display: none; }
	.pr-next-label { max-width: none; }
}

@media (max-width: 575px) {
	.pr-review-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

/* ---- Draft notices: expired, and restored after signing in ---- */
.pr-notice {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 14px 16px; margin-bottom: 18px;
	border: 1px solid rgba(247, 144, 9, .3); border-radius: 12px;
	background: rgba(247, 144, 9, .07);
}
.pr-notice.is-good {
	border-color: rgba(18, 183, 106, .3);
	background: rgba(18, 183, 106, .07);
}
.pr-notice-icon {
	flex: 0 0 auto;
	display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; border-radius: 10px;
	background: rgba(247, 144, 9, .14); color: var(--ts-amber, #f79009);
	font-size: 18px;
}
.pr-notice.is-good .pr-notice-icon {
	background: rgba(18, 183, 106, .14); color: var(--ts-green, #12b76a);
}
.pr-notice-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pr-notice-text strong {
	font-size: 14px; font-weight: 650; color: var(--ts-ink, #101828);
}
.pr-notice-text span {
	font-size: 13.5px; line-height: 1.5; color: var(--ts-body, #475467);
}

/* ---- Providers shown on the submission screen ----
   The requirement page and this screen render the same card partial, so the
   provider styles come from my-requirements.css; only the surrounding block
   is defined here. */
.pr-providers { margin-top: 26px; text-align: left; }
.pr-providers-head { margin-bottom: 14px; }
.pr-providers-head h3 {
	margin: 0 0 3px; font-size: 17px; font-weight: 650;
	letter-spacing: -.015em; color: var(--ts-ink, #101828);
}
.pr-providers-head p {
	margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ts-body, #475467);
}
.pr-providers .fp-providers { padding: 0; }

.pr-providers-empty {
	margin-top: 26px; padding: 30px 22px; text-align: center;
	border: 1px solid var(--ts-line, rgba(16, 24, 40, .09)); border-radius: 14px;
	background: #fbfcfd;
}
.pr-providers-empty-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; margin-bottom: 12px; border-radius: 13px;
	background: rgba(16, 24, 40, .05); color: var(--ts-faint, #98a2b3); font-size: 23px;
}
.pr-providers-empty h3 {
	margin: 0 0 5px; font-size: 16px; font-weight: 650; color: var(--ts-ink, #101828);
}
.pr-providers-empty p {
	margin: 0 auto; max-width: 44ch;
	font-size: 13.5px; line-height: 1.55; color: var(--ts-body, #475467);
}
