/* IDFC Help & FAQs page (Procurement Rules 1.18.0).
   [idfc_help_search], [idfc_faqs], and three classes for ordinary Avada text on the page:
   .idfc-help-card (add .is-blue for the contact card), .idfc-help-check (the "before you submit" list),
   .idfc-help-trust (the "answers reviewed by" line). Flat: no shadows. Site colours and font. */
.idfc-help-search, .idfc-faqs, .idfc-help-card, .idfc-help-check, .idfc-help-trust {
	--hp-blue: #06549c; --hp-blue-d: #043a6c; --hp-blue-t: #e6eef6; --hp-green: #23863a;
	--hp-ink: #1b2430; --hp-text: #3d4652; --hp-muted: #5d6670; --hp-rule: #dbe3ec; --hp-rule-2: #b9c6d4;
	--hp-font: var(--body_typography-font-family, "Open Sans"), "Open Sans", "Helvetica Neue", Arial, sans-serif;
	font-family: var(--hp-font); color: var(--hp-text); box-sizing: border-box;
}
.idfc-help-search *, .idfc-faqs *, .idfc-help-card *, .idfc-help-check * { box-sizing: border-box; }

/* ---- Search -------------------------------------------------------------- */
.idfc-help-search { display: flex; flex-direction: column; gap: 6px; max-width: 700px; margin: 0; }
.idfc-help-search label { font-size: 14px; font-weight: 600; color: var(--hp-ink); }
.idfc-help-field {
	display: flex; align-items: center; gap: 10px; padding: 0 14px;
	background: #fff; border: 1px solid var(--hp-rule-2); border-radius: 12px; color: var(--hp-muted);
}
.idfc-help-field:focus-within { border-color: var(--hp-blue); outline: 3px solid #7fb0dd; outline-offset: 1px; }
.idfc-help-field svg { flex: none; }
.idfc-help-search input[type="search"] {
	flex: 1; min-width: 0; height: 52px !important; min-height: 52px; margin: 0 !important; padding: 0 !important;
	border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0;
	font: 400 17px/1.3 var(--hp-font) !important; color: var(--hp-ink) !important;
}
.idfc-help-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; color: var(--hp-muted); }
body .idfc-help-chip, body .idfc-help-topic {
	display: inline-flex !important; align-items: center; gap: 6px; margin: 0 !important; cursor: pointer;
	border: 1px solid #c9d3de !important; background: #fff !important; color: var(--hp-ink) !important;
	border-radius: 999px !important; box-shadow: none !important; text-transform: none !important; letter-spacing: normal !important;
}
body .idfc-help-chip { min-height: 36px; padding: 0 14px !important; font: 400 14px/1 var(--hp-font) !important; }
body .idfc-help-chip:hover, body .idfc-help-topic:hover { border-color: var(--hp-blue) !important; }
.idfc-help-sum { font-size: 14px; color: var(--hp-muted); min-height: 1px; }
.idfc-help-sum:empty { display: none; }

/* ---- Topics -------------------------------------------------------------- */
.idfc-faqs { display: flex; flex-direction: column; gap: 24px; }
.idfc-help-topics { display: flex; flex-wrap: wrap; gap: 8px; }
body .idfc-help-topic { min-height: 44px; padding: 0 16px !important; font: 600 15px/1 var(--hp-font) !important; }
body .idfc-help-topic [data-count] { font-weight: 400; opacity: .75; }
body .idfc-help-topic[aria-pressed="true"] { background: var(--hp-blue) !important; border-color: var(--hp-blue) !important; color: #fff !important; }
body .idfc-help-chip:focus-visible, body .idfc-help-topic:focus-visible, .idfc-faq-q button:focus-visible, .idfc-faq-tools a:focus-visible {
	outline: 3px solid #7fb0dd !important; outline-offset: 2px;
}

/* ---- Questions ----------------------------------------------------------- */
.idfc-faq-group { display: flex; flex-direction: column; gap: 10px; }
.idfc-faq-group[hidden], .idfc-faq[hidden] { display: none; }
.idfc-faqs .idfc-faq-gh {
	margin: 0 !important; font: 700 13px/1.4 var(--hp-font) !important; letter-spacing: .08em !important;
	text-transform: uppercase !important; color: var(--hp-green) !important;
}
.idfc-faq-list { border: 1px solid var(--hp-rule); border-radius: 16px; overflow: hidden; background: #fff; }
.idfc-faq + .idfc-faq { border-top: 1px solid #e3e8ee; }
.idfc-faqs .idfc-faq-q { margin: 0 !important; padding: 0 !important; font-size: 17px !important; line-height: 1.45 !important; }
body .idfc-faq-q button {
	width: 100%; display: flex !important; align-items: flex-start; justify-content: space-between; gap: 16px; text-align: left;
	margin: 0 !important; padding: 18px 22px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important;
	box-shadow: none !important; font: 600 17px/1.45 var(--hp-font) !important; color: var(--hp-ink) !important;
	text-transform: none !important; letter-spacing: normal !important; cursor: pointer;
}
body .idfc-faq-q button:hover { background: #f7f9fb !important; }
.idfc-faq-sign {
	flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--hp-blue-t); position: relative;
}
.idfc-faq-sign::before, .idfc-faq-sign::after {
	content: ""; position: absolute; left: 8px; right: 8px; top: 13px; height: 2px; border-radius: 1px; background: var(--hp-blue);
}
.idfc-faq-sign::after { transform: rotate(90deg); transition: transform .15s ease; }
.idfc-faq-q button[aria-expanded="true"] .idfc-faq-sign::after { transform: rotate(0deg); }
.idfc-faq-a { padding: 0 22px 20px; font-size: 16px; line-height: 1.6; }
.idfc-faq-a[hidden] { display: none; }
.idfc-faq-a > *:not(.idfc-faq-tools) { max-width: 70ch; }
.idfc-faq-a p { margin: 0 0 10px !important; }
.idfc-faq-a ul, .idfc-faq-a ol { margin: 0 0 10px 1.2em !important; padding: 0 !important; }
.idfc-faq-a a { color: var(--hp-blue); }
.idfc-faqs p.idfc-faq-tools { margin: 6px 0 0 !important; display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.idfc-faq-tools a { color: var(--hp-muted) !important; }
.idfc-help-empty { border: 1px dashed var(--hp-rule-2); border-radius: 16px; padding: 28px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.idfc-help-empty[hidden] { display: none; }
.idfc-help-empty b { color: var(--hp-ink); }

/* ---- Content blocks for Avada text on the page --------------------------- */
.idfc-help-trust { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--hp-text); }
.idfc-help-trust::before {
	content: ""; flex: none; width: 18px; height: 18px; background: var(--hp-green);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8.3 8 9 4.6-.7 8-4.5 8-9V6z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8.3 8 9 4.6-.7 8-4.5 8-9V6z'/%3E%3Cpath d='m8.5 12 2.5 2.5 4.5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.idfc-help-card { margin: 0 0 16px; border: 1px solid var(--hp-rule); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; background: #fff; font-size: 15px; line-height: 1.55; }
.idfc-help-card h2, .idfc-help-card h3 { margin: 0 0 2px !important; font: 700 18px/1.3 var(--hp-font) !important; color: var(--hp-ink) !important; }
.idfc-help-card p { margin: 0 !important; }
.idfc-help-card a { color: var(--hp-blue); font-weight: 600; }
.idfc-help-card .is-big { font-size: 18px; font-weight: 700; }
.idfc-help-card .is-muted { color: var(--hp-muted); font-size: 14px; }
.idfc-help-card.is-blue { background: var(--hp-blue); border-color: var(--hp-blue); color: #d4e2f0; }
.idfc-help-card.is-blue h2, .idfc-help-card.is-blue h3 { font-size: 20px !important; color: #fff !important; }
.idfc-help-card.is-blue a { color: #fff; }
.idfc-help-card a.idfc-help-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 6px; padding: 0 16px;
	border-radius: 10px; background: #fff; color: var(--hp-blue) !important; font-weight: 600; text-decoration: none;
}
.idfc-help-card.is-blue a:focus-visible, .idfc-help-card a:focus-visible { outline: 3px solid #7fb0dd; outline-offset: 2px; }
.idfc-help-card .idfc-help-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.idfc-help-card .idfc-help-links li { margin: 0; padding: 0; }
.idfc-help-card .idfc-help-links li::before { content: none; }
ol.idfc-help-check {
	list-style: none !important; margin: 0 !important; padding: 0 !important; counter-reset: hc;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px;
}
ol.idfc-help-check > li {
	counter-increment: hc; margin: 0 !important; padding: 18px !important; background: #fff; border: 1px solid var(--hp-rule); border-radius: 14px;
	display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5;
}
ol.idfc-help-check > li::before { content: none !important; }
ol.idfc-help-check > li > strong, ol.idfc-help-check > li > b { color: var(--hp-ink); font-size: 16px; }
ol.idfc-help-check > li > strong::before, ol.idfc-help-check > li > b::before { content: counter(hc) ". "; }

/* Phones: the topics are one row you swipe, not a tall stack. */
@media (max-width: 640px) {
	.idfc-help-topics { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
	body .idfc-help-topic { flex: none; scroll-snap-align: start; }
	.idfc-faq-a { padding: 0 18px 18px; }
	body .idfc-faq-q button { padding: 16px 18px !important; }
}

@media (prefers-reduced-motion: reduce) {
	.idfc-faq-sign::after { transition: none; }
}
