/**
 * Consultation flow styles.
 *
 * Visual design (2.0.6): card-style answer options, a pill-shaped primary
 * action and a light panel background, built from Pharmacy Advance's own
 * palette rather than a new one — the teal (#4ce1e4) and its navy text
 * (#032940) are lifted directly from the site's own "Add to basket" /
 * "My Account" pill buttons (see `wc_get_formatted_variation` price pill and
 * the theme's own `.button` styling), and the panel navy echoes the site's
 * own header block. No colour here was invented for this plugin.
 *
 * All of it is scoped under `.kod-tc-flow` / `.kod-tc-treatments`, this
 * plugin's own top-level classes. The theme owns everything else on the
 * page, and — see the "Theme bleed defence" block below — has at least one
 * rule (`ul li span`) that would otherwise reach into markup it never
 * anticipated. Every selector added here targets a `.kod-tc-*` class,
 * never a bare element, specifically so it cannot leak the other way and
 * start restyling the theme's own content.
 *
 * @package KOD_Treatment_Consultations
 */

/* Page-title banner ---------------------------------------------------
 *
 * The theme gives every page a full-width navy title banner, fixed at
 * `section.page-title { height: 400px }` in its own stylesheet. That is a
 * lot of screen to scroll past on a multi-step form the patient revisits
 * once per question step, so it is reduced — but *only* on pages this
 * plugin actually renders on.
 *
 * `:has()` on the body, keyed to this plugin's own top-level classes, is
 * what scopes it: those classes exist only in this plugin's output and
 * only when a shortcode actually rendered something, so this rule can
 * never reach another page. The theme's own file is untouched, which
 * matters because that 400px banner is deliberate everywhere else — and
 * the theme already ships its own shorter variant (`.page-title-nhs`,
 * 100px) for pages that want one, so a per-page height is an established
 * pattern here rather than a novel override.
 *
 * No `!important`: two classes plus an element type already outranks the
 * theme's bare `.page-title`, so this wins on the cascade regardless of
 * which stylesheet loads first.
 */
body:has(.kod-tc-flow) section.page-title,
body:has(.kod-tc-treatments) section.page-title,
body:has(.kod-tc-grid) section.page-title {
	height: 120px;
}

.kod-tc-flow,
.kod-tc-treatments,
.kod-tc-grid {
	--kod-tc-teal: #4ce1e4;
	--kod-tc-teal-text: #032940;
	--kod-tc-teal-tint: rgba(76, 225, 228, 0.16);
	--kod-tc-teal-link: #0a6b6e;
	--kod-tc-navy: #003057;
	--kod-tc-bg-panel: #faf8f4;
	--kod-tc-card-bg: #ffffff;
	--kod-tc-border: #e2e2e2;
	--kod-tc-border-hover: #c9c9c9;
	--kod-tc-text: #1c1c1c;
	--kod-tc-text-muted: #6b6b6b;
	--kod-tc-danger: #b32d2e;
	--kod-tc-danger-bg: #fdf0f0;
	--kod-tc-warning: #966b00;
	--kod-tc-warning-bg: #fff4d6;
	--kod-tc-info: #3579b5;
	--kod-tc-info-bg: #eef4fb;
	--kod-tc-radius-lg: 18px;
	--kod-tc-radius-md: 14px;
	--kod-tc-radius-sm: 10px;
	--kod-tc-radius-pill: 999px;
}

.kod-tc-flow {
	background: var(--kod-tc-bg-panel);
	border-radius: var(--kod-tc-radius-lg);
	box-sizing: border-box;
	color: var(--kod-tc-text);
	margin: 0 auto;
	max-width: 46rem;
	padding: 1.75rem 1.75rem 2.5rem;
}

.kod-tc-flow *,
.kod-tc-flow *::before,
.kod-tc-flow *::after {
	box-sizing: border-box;
}

@media (max-width: 640px) {
	.kod-tc-flow {
		border-radius: 0;
		padding: 1.25rem 1rem 2rem;
	}
}

.kod-tc-flow .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	white-space: nowrap;
	width: 1px;
}

.kod-tc-icon {
	display: inline-block;
	flex: 0 0 auto;
	height: 1em;
	width: 1em;
}

/* Theme bleed defence ------------------------------------------------
 *
 * This plugin renders inside whatever page template the site provides.
 * Pharmacy Advance's theme styles bare `ul li span` for its own numbered-
 * bullet badges:
 *
 *   .service-single-section .service-single-content ul li span {
 *       background: #00a600; width: 28px; height: 28px;
 *       border-radius: 30px; color: #fff; position: absolute; … }
 *
 * The 2.0.6 redesign's option/consent/product markup no longer uses
 * `<ul><li>` at all (it's `<label>`/`<div>` cards now), so that specific
 * rule can no longer reach it — but the reset stays as cheap insurance
 * against whatever the *next* theme rule turns out to be, and the
 * treatment-listing shortcode still does use `<ul><li>` for its cards.
 *
 * The `:not([class*=…])` exclusions matter, and matter as a pattern, not
 * just for one class: this selector's three classes plus one element type
 * outrank any *single*-class rule for one of this component's own named
 * parts — `.kod-tc-card-option__indicator`, `.kod-tc-product__price`, and
 * so on all lose that fight on specificity alone, silently reset back to
 * `color: inherit` / `border-radius: 0` / `width: auto` regardless of what
 * their own rule says, load order notwithstanding. A first pass here
 * excluded only the indicator and left the product name/price/badge
 * spans still losing. Excluding by class-name *pattern* rather than
 * enumerating each part means the next `.kod-tc-card-option__whatever` or
 * `.kod-tc-product__whatever` this component grows is covered
 * automatically, instead of silently re-introducing the same bug.
 */
.kod-tc-flow .kod-tc-card-option span:not([class*="kod-tc-card-option__"]):not([class*="kod-tc-product__"]),
.kod-tc-treatments .kod-tc-treatments__list .kod-tc-treatment-card span {
	background: none;
	border-radius: 0;
	color: inherit;
	height: auto;
	left: auto;
	line-height: inherit;
	position: static;
	text-align: inherit;
	top: auto;
	width: auto;
}

.kod-tc-treatments .kod-tc-treatments__list li.kod-tc-treatment-card {
	list-style: none;
}

/* Progress ------------------------------------------------------------
 *
 * Rendered first, directly under the surrounding page's own header — this
 * is the top of the plugin's own content block, not a full-viewport-width
 * bleed past the theme's page container (see the README's Phase 3 notes on
 * why this plugin never fights the theme for layout it doesn't own).
 */

.kod-tc-progress {
	margin: -0.25rem -0.25rem 1.75rem;
}

.kod-tc-progress__bar {
	background: rgba(0, 48, 87, 0.1);
	border-radius: var(--kod-tc-radius-pill);
	height: 6px;
	overflow: hidden;
}

.kod-tc-progress__fill {
	background: var(--kod-tc-teal);
	display: block;
	height: 100%;
	transition: width 0.25s ease;
}

.kod-tc-progress__label {
	color: var(--kod-tc-text-muted);
	font-size: 0.8rem;
	font-weight: 500;
	margin: 0.5rem 0 0;
}

/* Preview banner ------------------------------------------------------ */

.kod-tc-preview-banner {
	background: var(--kod-tc-warning-bg);
	border: 1px solid #e0b400;
	border-radius: var(--kod-tc-radius-sm);
	color: var(--kod-tc-warning);
	font-size: 0.88rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
	padding: 0.75rem 1rem;
}

/* Header row / back navigation ----------------------------------------- */

.kod-tc-flow__header-row {
	margin-bottom: 1rem;
}

.kod-tc-back-btn {
	align-items: center;
	background: none;
	border: 0;
	color: var(--kod-tc-navy);
	cursor: pointer;
	display: inline-flex;
	font-weight: 600;
	gap: 0.3rem;
	padding: 0.4rem 0.4rem 0.4rem 0;
}

.kod-tc-back-btn .kod-tc-icon {
	height: 1.1em;
	width: 1.1em;
}

.kod-tc-back-btn:hover,
.kod-tc-back-btn:focus-visible {
	color: var(--kod-tc-teal-text);
}

/* Card option (radio / checkbox / consent / product) -------------------
 *
 * One component, four call sites: question radio/checkbox options, the
 * terms consent tick, and each medication. Keeping them on one class means
 * a change to how "selected" looks never needs making four times.
 */

.kod-tc-card-options {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 0.5rem;
}

.kod-tc-card-option {
	align-items: center;
	background: var(--kod-tc-card-bg);
	border: 1.5px solid var(--kod-tc-border);
	border-radius: var(--kod-tc-radius-md);
	cursor: pointer;
	display: flex;
	gap: 0.85rem;
	padding: 20px 22px;
	position: relative;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.kod-tc-card-option:hover {
	border-color: var(--kod-tc-border-hover);
}

.kod-tc-card-option:has(.kod-tc-card-option__input:checked),
.kod-tc-card-option.is-selected {
	background: #f2fdfd;
	border-color: var(--kod-tc-teal);
	border-width: 2px;
	padding: 19.5px 21.5px;
}

.kod-tc-card-option:has(.kod-tc-card-option__input:focus-visible) {
	outline: 2px solid var(--kod-tc-teal);
	outline-offset: 2px;
}

.kod-tc-card-option--disabled {
	background: #f6f6f4;
	cursor: not-allowed;
	opacity: 0.65;
	pointer-events: none;
}

.kod-tc-card-option__input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.kod-tc-card-option__indicator {
	align-items: center;
	background: #fff;
	border: 2px solid var(--kod-tc-border-hover);
	border-radius: 50%;
	display: inline-flex;
	flex: 0 0 auto;
	height: 24px;
	justify-content: center;
	position: relative;
	width: 24px;
}

.kod-tc-card-option--checkbox .kod-tc-card-option__indicator {
	border-radius: 7px;
}

.kod-tc-card-option:has(.kod-tc-card-option__input:checked) .kod-tc-card-option__indicator,
.kod-tc-card-option.is-selected .kod-tc-card-option__indicator {
	background: var(--kod-tc-teal);
	border-color: var(--kod-tc-teal);
}

.kod-tc-card-option__indicator::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12' fill='none'%3E%3Cpath d='M1.5 6.5L5.5 10.5L14.5 1.5' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	height: 10px;
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.12s ease, transform 0.12s ease;
	width: 13px;
}

.kod-tc-card-option:has(.kod-tc-card-option__input:checked) .kod-tc-card-option__indicator::after,
.kod-tc-card-option.is-selected .kod-tc-card-option__indicator::after {
	opacity: 1;
	transform: scale(1);
}

.kod-tc-card-option--disabled .kod-tc-card-option__indicator {
	background: #ececea;
	border-color: #d8d8d6;
}

.kod-tc-card-option__label {
	color: var(--kod-tc-text);
	flex: 1 1 auto;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
}

.kod-tc-card-option--disabled .kod-tc-card-option__label {
	color: var(--kod-tc-text-muted);
}

/* "Or" divider, above a checkbox question's exclusive option ("None of
 * these") — see KOD_TC_Flow_Renderer::is_exclusive_option(). */

.kod-tc-option-divider {
	align-items: center;
	color: var(--kod-tc-text-muted);
	display: flex;
	font-size: 0.78rem;
	font-weight: 600;
	gap: 0.75rem;
	letter-spacing: 0.04em;
	margin: 2px 0 0;
	text-transform: uppercase;
}

.kod-tc-option-divider::before,
.kod-tc-option-divider::after {
	background: var(--kod-tc-border);
	content: "";
	flex: 1;
	height: 1px;
}

/* Questions ------------------------------------------------------------ */

.kod-tc-question {
	margin-bottom: 1.75rem;
}

.kod-tc-question:last-of-type {
	margin-bottom: 0.5rem;
}

.kod-tc-question[hidden],
.kod-tc-question__group[hidden] {
	display: none;
}

.kod-tc-question__text {
	font-weight: 600;
	margin-bottom: 0.6rem;
}

.kod-tc-question__required {
	color: var(--kod-tc-danger);
	margin-left: 0.15rem;
}

.kod-tc-question__description {
	color: var(--kod-tc-text-muted);
	font-size: 0.92rem;
	margin-bottom: 0.75rem;
}

.kod-tc-question__group {
	border-top: 2px solid var(--kod-tc-navy);
	color: var(--kod-tc-navy);
	margin: 2rem 0 1rem;
	padding-top: 1rem;
}

.kod-tc-question input[type="text"],
.kod-tc-question input[type="date"],
.kod-tc-question input[type="number"],
.kod-tc-question select,
.kod-tc-question textarea {
	background: var(--kod-tc-card-bg);
	border: 1.5px solid var(--kod-tc-border);
	border-radius: var(--kod-tc-radius-sm);
	color: var(--kod-tc-text);
	font-size: 1rem;
	max-width: 100%;
	padding: 12px 14px;
	width: 100%;
}

.kod-tc-question input[type="text"]:focus-visible,
.kod-tc-question input[type="date"]:focus-visible,
.kod-tc-question input[type="number"]:focus-visible,
.kod-tc-question select:focus-visible,
.kod-tc-question textarea:focus-visible {
	border-color: var(--kod-tc-teal);
	box-shadow: 0 0 0 3px rgba(76, 225, 228, 0.3);
	outline: none;
}

.kod-tc-measurement {
	align-items: center;
	display: inline-flex;
	gap: 0.6rem;
	max-width: 14rem;
}

.kod-tc-measurement__unit {
	color: var(--kod-tc-text-muted);
	font-weight: 500;
}

.kod-tc-question--error .kod-tc-card-options .kod-tc-card-option,
.kod-tc-question--error input,
.kod-tc-question--error select,
.kod-tc-question--error textarea {
	border-color: var(--kod-tc-danger);
}

.kod-tc-question__error {
	color: var(--kod-tc-danger);
	font-size: 0.9rem;
	font-weight: 500;
	margin: 0.6rem 0 0;
}

.kod-tc-question__trigger-message {
	background: var(--kod-tc-warning-bg);
	border-radius: var(--kod-tc-radius-sm);
	color: var(--kod-tc-warning);
	font-size: 0.92rem;
	margin: 0.75rem 0 0;
	padding: 0.7rem 0.95rem;
}

.kod-tc-question__trigger-message[hidden] {
	display: none;
}

.kod-tc-question__unsupported {
	background: var(--kod-tc-info-bg);
	border-radius: var(--kod-tc-radius-sm);
	color: var(--kod-tc-info);
	font-size: 0.92rem;
	padding: 0.75rem 1rem;
}

.kod-tc-bmi {
	color: var(--kod-tc-navy);
	font-size: 0.92rem;
	font-weight: 600;
	margin: 0.6rem 0 0;
}

/* Consent ---------------------------------------------------------- */

.kod-tc-consent {
	background: var(--kod-tc-card-bg);
	border: 1px solid var(--kod-tc-border);
	border-radius: var(--kod-tc-radius-md);
	margin-bottom: 1.25rem;
	padding: 1.5rem;
}

.kod-tc-consent__title {
	color: var(--kod-tc-navy);
	margin-top: 0;
}

.kod-tc-consent__list {
	margin-bottom: 0;
	padding-left: 1.2rem;
}

.kod-tc-consent__list li {
	margin-bottom: 0.5rem;
}

.kod-tc-consent__agree {
	margin-top: 1.25rem;
	padding: 16px 18px;
}

/* Products ----------------------------------------------------------- */

.kod-tc-card-option--product {
	align-items: center;
}

.kod-tc-product__name {
	font-weight: 600;
}

.kod-tc-product__price {
	color: var(--kod-tc-navy);
	flex: 0 0 auto;
	font-weight: 700;
}

.kod-tc-product__badge {
	border-radius: var(--kod-tc-radius-pill);
	flex: 0 0 auto;
	font-size: 0.78rem;
	font-weight: 600;
	padding: 0.3rem 0.75rem;
	text-transform: uppercase;
}

.kod-tc-product__badge--outofstock {
	background: #e9e9e6;
	color: var(--kod-tc-text-muted);
}

/* Blocked ----------------------------------------------------------- */

.kod-tc-flow--blocked .kod-tc-blocked__message {
	background: var(--kod-tc-danger-bg);
	border-left: 4px solid var(--kod-tc-danger);
	border-radius: 0 var(--kod-tc-radius-sm) var(--kod-tc-radius-sm) 0;
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
}

.kod-tc-blocked__reference {
	color: var(--kod-tc-text-muted);
	font-size: 0.9rem;
}

/* Notices ----------------------------------------------------------- */

.kod-tc-notice {
	border-left: 4px solid #ccc;
	border-radius: 0 var(--kod-tc-radius-sm) var(--kod-tc-radius-sm) 0;
	margin-bottom: 1.5rem;
	padding: 0.85rem 1.15rem;
}

.kod-tc-notice p:first-child {
	margin-top: 0;
}

.kod-tc-notice p:last-child {
	margin-bottom: 0;
}

.kod-tc-notice--error {
	background: var(--kod-tc-danger-bg);
	border-left-color: var(--kod-tc-danger);
	color: var(--kod-tc-danger);
}

.kod-tc-notice--warning {
	background: var(--kod-tc-warning-bg);
	border-left-color: #e0b400;
	color: var(--kod-tc-warning);
}

.kod-tc-notice--info {
	background: var(--kod-tc-info-bg);
	border-left-color: var(--kod-tc-info);
	color: var(--kod-tc-info);
}

/* Primary action / actions row --------------------------------------
 *
 * Sticky to the bottom of the viewport while the form is taller than the
 * screen — harmless on a short form (Terms, a two-question step): with
 * nothing to scroll past, `position: sticky` never visibly "sticks", it
 * just sits in its normal place in the flow.
 */

.kod-tc-flow__actions {
	background: linear-gradient(to top, var(--kod-tc-bg-panel) 65%, transparent);
	bottom: 0;
	margin-top: 2rem;
	padding: 1.25rem 0 0.25rem;
	position: sticky;
	z-index: 2;
}

.kod-tc-btn-primary {
	align-items: center;
	background: var(--kod-tc-teal);
	border: 0;
	border-radius: var(--kod-tc-radius-pill);
	color: var(--kod-tc-teal-text);
	cursor: pointer;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 600;
	gap: 0.5rem;
	justify-content: center;
	padding: 15px 30px;
	text-decoration: none;
	transition: filter 0.15s ease, transform 0.05s ease;
	width: 100%;
}

.kod-tc-btn-primary:hover,
.kod-tc-btn-primary:focus-visible {
	color: var(--kod-tc-teal-text);
	filter: brightness(0.94);
}

.kod-tc-btn-primary:active {
	transform: scale(0.98);
}

.kod-tc-btn-primary .kod-tc-icon {
	height: 1.05em;
	width: 1.05em;
}

/* Treatment listing ------------------------------------------------- */

.kod-tc-treatments__category {
	color: var(--kod-tc-navy);
	margin-bottom: 1rem;
}

.kod-tc-treatments__list {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
	list-style: none;
	margin: 0 0 2.5rem;
	padding: 0;
}

.kod-tc-treatment-card {
	background: var(--kod-tc-card-bg);
	border: 1px solid var(--kod-tc-border);
	border-radius: var(--kod-tc-radius-md);
	padding: 1rem;
	text-align: center;
	transition: border-color 0.15s ease;
}

.kod-tc-treatment-card:has(.kod-tc-treatment-card__link:hover) {
	border-color: var(--kod-tc-teal);
}

.kod-tc-treatment-card__link {
	color: inherit;
	display: block;
	text-decoration: none;
}

.kod-tc-treatment-card__icon {
	display: block;
	height: auto;
	margin: 0 auto 0.75rem;
	max-width: 4rem;
}

.kod-tc-treatment-card__name {
	display: block;
	font-weight: 600;
}

.kod-tc-treatment-card__flag {
	color: var(--kod-tc-text-muted);
	display: block;
	font-size: 0.8rem;
	margin-top: 0.5rem;
}

/* Treatment grid (category cards) -----------------------------------
 *
 * `[kod_tc_treatment_grid]`'s own layout — a card per category, navy
 * header with a teal accent, cream body of icon-led rows, teal footer
 * link. Deliberately not merged into the "Treatment listing" rules above,
 * since it is a visually distinct component with its own card/row markup —
 * but it *is* included in the page-title banner override at the top of
 * this file, alongside `.kod-tc-flow` and `.kod-tc-treatments`. That
 * matters once the grid sits on the same page as `[kod_tc_consultation]`
 * (its intended use on /online-consultation/, replacing the plain picker):
 * without it, the banner would be short while the flow runs but revert to
 * the theme's full 400px height while just browsing the grid, a visible
 * jump exactly when a customer picks a treatment. Checked empirically
 * that this cannot affect /online-treatments/ (an Elementor page some
 * sites may also add the grid to): Elementor replaces the theme header
 * entirely there, so no `section.page-title` element exists on that page
 * for the selector to match. If this grid ever renders inside markup with
 * its own broad `span`/`ul li span` resets (as `.kod-tc-treatments` needed
 * a defence against — see "Theme bleed defence" above), the same
 * class-name-pattern technique applies here; none has been observed yet
 * because this component's rows are `<a>`/`<div>`, not `<li>`.
 *
 * `--kod-tc-teal-link` is a separate, darker variable from `--kod-tc-teal`
 * on purpose: the brand teal (#4ce1e4) is a light, high-luminance accent
 * intended for backgrounds and small graphics, not body-sized text — used
 * directly as link text on the cream card background it falls well short
 * of WCAG AA's 4.5:1 contrast minimum. `--kod-tc-teal-link` (#0a6b6e) is
 * the same hue darkened to ~5.9:1, so the footer link reads as "the same
 * teal" without failing accessibility.
 */
.kod-tc-grid {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	margin: 0 0 2.5rem;
}

.kod-tc-grid-card {
	background: var(--kod-tc-bg-panel);
	border-radius: var(--kod-tc-radius-lg);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.kod-tc-grid-card__header {
	align-items: center;
	background: var(--kod-tc-navy);
	border-bottom: 3px solid var(--kod-tc-teal);
	display: flex;
	gap: 0.6rem;
	padding: 1rem 1.25rem;
}

.kod-tc-grid-card__dot {
	background: var(--kod-tc-teal);
	border-radius: 50%;
	flex-shrink: 0;
	height: 8px;
	width: 8px;
}

.kod-tc-grid-card__title {
	color: #ffffff;
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0;
}

.kod-tc-grid-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.75rem;
}

.kod-tc-grid-card__row {
	align-items: center;
	border-radius: var(--kod-tc-radius-sm);
	color: var(--kod-tc-text);
	display: flex;
	gap: 0.85rem;
	padding: 0.6rem 0.65rem;
	text-decoration: none;
	transition: background-color 0.15s ease;
}

.kod-tc-grid-card__row:hover,
.kod-tc-grid-card__row:focus-visible {
	background: var(--kod-tc-card-bg);
}

.kod-tc-grid-card__row:hover .kod-tc-grid-card__arrow,
.kod-tc-grid-card__row:focus-visible .kod-tc-grid-card__arrow {
	transform: translateX(3px);
}

.kod-tc-grid-card__icon {
	align-items: center;
	background: var(--kod-tc-teal-tint);
	border-radius: var(--kod-tc-radius-sm);
	color: var(--kod-tc-navy);
	display: flex;
	flex-shrink: 0;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.kod-tc-grid-card__icon svg {
	fill: none;
	height: 24px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 24px;
}

.kod-tc-grid-card__icon-img {
	border-radius: inherit;
	height: 100%;
	object-fit: contain;
	padding: 8px;
	width: 100%;
}

.kod-tc-grid-card__name {
	flex: 1;
	font-weight: 500;
}

.kod-tc-grid-card__arrow {
	color: var(--kod-tc-navy);
	flex-shrink: 0;
	transition: transform 0.15s ease;
}

.kod-tc-grid-card__arrow svg {
	display: block;
	fill: none;
	height: 18px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 18px;
}

.kod-tc-grid-card__empty {
	color: var(--kod-tc-text-muted);
	font-size: 0.9rem;
	font-style: italic;
	margin: 0;
	padding: 0.75rem 0.65rem;
}

.kod-tc-grid-card__footer {
	border-top: 1px solid var(--kod-tc-border);
	padding: 0.85rem 1.25rem 1rem;
	text-align: right;
}

.kod-tc-grid-card__footer-link {
	align-items: center;
	color: var(--kod-tc-teal-link);
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 600;
	gap: 0.35rem;
	text-decoration: none;
}

.kod-tc-grid-card__footer-link:hover,
.kod-tc-grid-card__footer-link:focus-visible {
	text-decoration: underline;
}

.kod-tc-grid-card__footer-link svg {
	display: block;
	fill: none;
	height: 14px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
	width: 14px;
}
