/* stylelint-disable font-weight-notation, no-descending-specificity */
/* stylelint-disable selector-class-pattern, max-line-length */

/* Shared card styles for TMS Full & Short Description Writer */

.dash-text-center {
	text-align: center;
}

.dash-text-left {
	text-align: left;
}

.dash-text-right {
	text-align: right;
}

.dash-nowrap {
	white-space: nowrap;
}

.dash-text-muted {
	opacity: 0.8;
}

.dash-text-small {
	font-size: 12px;
	color: #555;
}

.dash-description-card-lazy {
	min-height: 42px;
	width: 100%;
}

.dash-description-card-lazy__placeholder {
	align-items: center;
	background: linear-gradient(90deg, rgba(248, 250, 252, 0.7), rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.7));
	border: 1px solid rgba(226, 232, 240, 0.85);
	border-radius: 8px;
	display: flex;
	justify-content: center;
	min-height: 42px;
	overflow: hidden;
	position: relative;
}

.dash-description-card-lazy__placeholder::before {
	animation: dash-card-lazy-shimmer 1.25s ease-in-out infinite;
	background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.16), transparent);
	content: "";
	inset: 0;
	position: absolute;
	transform: translateX(-100%);
}

.dash-description-card-lazy__spinner {
	border: 2px solid rgba(255, 153, 0, 0.2);
	border-top-color: #f90;
	border-radius: 999px;
	height: 18px;
	position: relative;
	width: 18px;
	animation: dash-card-lazy-spin 0.75s linear infinite;
}

.dash-description-card-lazy--error .dash-description-card-lazy__placeholder {
	background: #fff7ed;
	border-color: rgba(251, 146, 60, 0.42);
}

@keyframes dash-card-lazy-shimmer {
	100% {
		transform: translateX(100%);
	}
}

@keyframes dash-card-lazy-spin {
	100% {
		transform: rotate(360deg);
	}
}

.dash-mt-0 {
	margin-top: 0;
}

.dash-mt-5 {
	margin-top: 5px;
}

.dash-mt-6 {
	margin-top: 6px;
}

.dash-mt-8 {
	margin-top: 8px;
}

.dash-mt-10 {
	margin-top: 10px;
}

.dash-mt-12 {
	margin-top: 12px;
}

.dash-mt-14 {
	margin-top: 14px;
}

.dash-mt-16 {
	margin-top: 16px;
}

.dash-mt-18 {
	margin-top: 18px;
}

.dash-mt-20 {
	margin-top: 20px;
}

.dash-mt-22 {
	margin-top: 22px;
}

.dash-mt-25 {
	margin-top: 25px;
}

.dash-mt-30 {
	margin-top: 30px;
}

.dash-mt-35 {
	margin-top: 35px;
}

.dash-mt-40 {
	margin-top: 40px;
}

.dash-mt-45 {
	margin-top: 45px;
}

.dash-mt-50 {
	margin-top: 50px;
}

.dash-mt-55 {
	margin-top: 55px;
}

.dash-mt-60 {
	margin-top: 60px;
}

.dash-mt-75 {
	margin-top: 75px;
}

.dash-mt-100 {
	margin-top: 100px;
}

.dash-mt-125 {
	margin-top: 125px;
}

.dash-mb-0 {
	margin-bottom: 0;
}

.dash-mb-1 {
	margin-bottom: 1px;
}

.dash-mb-4 {
	margin-bottom: 4px;
}

.dash-mb-6 {
	margin-bottom: 6px;
}

.dash-mb-8 {
	margin-bottom: 8px;
}

.dash-mb-10 {
	margin-bottom: 10px;
}

.dash-mb-12 {
	margin-bottom: 12px;
}

.dash-mb-14 {
	margin-bottom: 14px;
}

.dash-mb-16 {
	margin-bottom: 16px;
}

.dash-mb-18 {
	margin-bottom: 18px;
}

.dash-mb-22 {
	margin-bottom: 22px;
}

.dash-mb-24 {
	margin-bottom: 24px;
}

.dash-mb-45 {
	margin-bottom: 45px;
}

.dash-ml-8 {
	margin-left: 8px;
}

.dash-section-title {
	color: #333 !important;
	font-size: 16px !important;
	margin: 45px 0 1px;
}

.dash-section-title--sm {
	font-size: 15px !important;
	margin-top: 35px;
}

.dash-section-title--lg {
	margin-top: 55px;
}

.dash-section-title--compact {
	margin-bottom: 8px;
}

.dash-section-title--setup {
	margin: 50px 0 8px;
}

.dash-section-title,
.dash-card-title,
.dash-cta-title,
.dash-hero-title,
.dash-lifecycle-title,
.dash-lifecycle-subtitle {
	font-weight: 700;
}

.dash-card {
	margin: 45px 0 0;
	padding: 16px;
	border: 1px solid #e0e0e0;
	background: #fafafa;
	border-radius: 8px;
}

.dash-card--compact {
	margin-top: 22px;
}

.dash-card--info {
	margin: 18px 0;
	padding: 15px;
	border: 1px solid #cfe3ff;
	background: #f5f9ff;
	border-radius: 8px;
}

.dash-card--muted {
	margin-top: 30px;
	border-color: #ccc;
	background: #f8f8f8;
}

.dash-card-title {
	color: #333 !important;
	font-size: 16px !important;
	margin: 0 0 22px 0;
	line-height: 1.35;
}

.dash-card-title--tight {
	margin-bottom: 10px;
}

.dash-card-title--mb-4 {
	margin-bottom: 4px;
}

.dash-card-text {
	margin: 0;
	line-height: 1.55;
}

.dash-card-explainer {
	font-size: 13px;
	line-height: 1.6;
	color: #555;
	margin: 0;
}

.dash-legend {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: #555;
}

/* CTA panel + button aligned with the TMS design system:
   light inner-panel recipe, orange top accent, solobar button recipe. */
.dash-cta {
	position: relative;
	overflow: hidden;
	margin-top: 30px;
	padding: 22px 24px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background-color: #f8fafc;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
	text-align: center;
}

.dash-cta::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #ff7a00, #ff9900 40%, rgba(255, 153, 0, 0.25) 80%, transparent);
}

.dash-cta--compact {
	margin: 16px 0 24px;
}

.dash-cta-title {
	color: #0f172a !important;
	font-size: 18px !important;
	font-weight: 800;
	margin: 0 0 6px 0;
	line-height: 1.3;
}

.dash-cta-text {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: #475569;
}

.dash-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 14px;
	min-height: 58px;
	padding: 0 32px;
	background: linear-gradient(180deg, #ff9900 0%, #ff7a00 100%);
	color: #fff !important;
	border: 1px solid rgba(255, 153, 0, 0.94);
	border-radius: 9px;
	box-shadow: 0 12px 22px rgba(255, 122, 0, 0.24);
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
	text-decoration: none;
	font-size: 15px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
	transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.dash-cta-button:hover {
	transform: translateY(-1px);
	filter: brightness(1.03);
	box-shadow: 0 16px 26px rgba(255, 122, 0, 0.32);
}

.dash-cta-button:focus-visible {
	outline: 3px solid #d97200;
	outline-offset: 2px;
}

.dash-cta-button--dark {
	background: linear-gradient(180deg, #151923 0%, #07080a 100%);
	border-color: rgba(239, 147, 36, 0.35);
}

.dash-cta-button:visited,
.dash-cta-button:hover,
.dash-cta-button:focus,
.dash-cta-button:active,
.dash-cta-button--dark:visited,
.dash-cta-button--dark:hover,
.dash-cta-button--dark:focus,
.dash-cta-button--dark:active {
	color: #fff !important;
}

@media (max-width: 640px) {
	.dash-cta-button {
		width: 100%;
		white-space: normal;
	}
}

/* Disclaimer in the soft orange note-strip recipe */
.dash-disclaimer {
	margin-top: 30px;
	padding: 14px 16px;
	border: 1px solid rgba(255, 153, 0, 0.22);
	background-color: rgba(255, 153, 0, 0.07);
	border-radius: 10px;
	color: #475569;
	font-size: 13px;
	line-height: 1.55;
}

.dash-disclaimer strong {
	color: #d97200;
}

.dash-disclaimer--compact {
	margin-top: 18px;
}

.dash-disclaimer--tight {
	margin-top: 12px;
}

.dash-disclaimer p {
	font-size: 12px;
	margin: 8px 0 0;
}

.dash-disclaimer p:first-of-type {
	margin-top: 5px;
}

.dash-chip-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	row-gap: 10px;
	margin: 10px 0 16px;
}

.dash-chip {
	display: inline-block;
	padding: 6px 10px;
	border: 1px solid #e0e0e0;
	background: #fff;
	color: #1c1f20 !important;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
}

.dash-chip:visited,
.dash-chip:hover,
.dash-chip:focus,
.dash-chip:active {
	color: #1c1f20 !important;
}

.dash-table-wrap {
	margin: 16px 0;
	border: 1px solid #e6e6e6;
	background: #fff;
	border-radius: 8px;
	padding: 0;
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.dash-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.dash-table--auto {
	display: inline-table !important;
	width: auto !important;
	table-layout: auto !important;
}

.dash-table th {
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid #e6e6e6;
}

.dash-table td {
	vertical-align: top;
	padding: 12px 14px;
	border-bottom: 1px solid #f3f3f3;
}

.dash-table--nowrap th,
.dash-table--nowrap td {
	white-space: nowrap !important;
	width: 1% !important;
	word-break: keep-all;
	overflow-wrap: normal;
}

.dash-th-nowrap {
	white-space: nowrap;
}

.dash-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.dash-body-text {
	font-size: 14px;
	line-height: 1.65;
	color: #444;
}

.dash-body-text--md {
	font-size: 15px;
	line-height: 1.6;
	color: #333;
}

.dash-list-indent {
	margin: 8px 0 0 18px;
	color: #333;
	line-height: 1.55;
}

.dash-list-indent--tight {
	margin: 0 0 18px 18px;
}

.dash-list-loose {
	margin: 14px 0 0 20px;
	line-height: 1.75;
}

.dash-list-item {
	margin-bottom: 18px;
}

.dash-li-compact {
	margin: 8px 0;
}

.dash-list-ordered {
	margin: 12px auto 0;
	text-align: left;
}

.dash-link-underline {
	text-decoration: underline;
}

.dash-alert {
	padding: 15px;
	border-radius: 8px;
}

.dash-alert--danger {
	border: 1px solid #f56c6c;
	background-color: #fdecec;
}

.dash-alert--warning {
	border: 1px solid #ffdd57;
	background-color: #fffbec;
}

.dash-alert p {
	font-size: 12px;
	margin: 8px 0 0;
}

.dash-alert p:first-of-type {
	margin-top: 5px;
}


/* Setup & operating cooling chip */
.dash-cooling-chip {
	display: inline-block;
	padding: 4px 10px;
	border: 1px solid var(--dash-chip-border, #e0e0e0);
	background: var(--dash-chip-bg, #fff);
	color: var(--dash-chip-fg, #333);
	border-radius: 999px;
	font-weight: 600;
}

/* Delivery quick cards grid */
.dash-cards-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 14px 0 8px;
}

.dash-card-col {
	flex: 1 1 calc(33.333% - 14px);
	min-width: 260px;
}

.dash-card-text-fixed {
	min-height: 88px;
}

/* Hero card (already classed) */
.dash-hero-card {
	margin: 30px 0 0;
	padding: 16px;
	border: none;
	background: #f8f8f8;
	border-radius: 8px;
}

.dash-hero-title {
	text-align: center;
	margin: 0 0 12px;
}

.dash-hero-card h3 {
	font-weight: 700;
}

/* Hosting section wrappers */



.dash-spacer {
	display: block;
	height: 30px;
}

.dash-spacer--sm {
	height: 16px;
}

.dash-spacer--50 {
	height: 50px;
}

.dash-spacer--md {
	height: 45px;
}

.dash-spacer--lg {
	height: 75px;
}

.dash-spacer--xl {
	height: 100px;
}

.dash-spacer--xxl {
	height: 125px;
}

/* Lifespan card */
.dash-lifecycle-progress {
	margin-top: 16px;
	border-radius: 8px;
	overflow: hidden;
	font-size: 15px;
	display: block;
	height: 28px;
	line-height: 28px;
	position: relative;
	border: 1px solid var(--dash-lifecycle-border, #e0e0e0);
	background: var(--dash-lifecycle-bg, #f3f4f6);
}

.dash-lifecycle-progress__fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: calc(var(--dash-lifecycle-pct, 0) * 1%);
	background: var(--dash-lifecycle-fill, #27ae60);
}

.dash-lifecycle-progress__label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	color: var(--dash-lifecycle-text, #111827);
	text-shadow: var(--dash-lifecycle-shadow, 0 1px 0 rgba(255, 255, 255, 0.65), 0 0 2px rgba(255, 255, 255, 0.55));
}

.dash-lifecycle-card {
	margin-top: 20px;
	padding: 15px;
	border-radius: 8px;
	border: 2px solid #ddd;
	background: #fff;
}

.dash-lifecycle-card--completed {
	filter: blur(0.6px);
	opacity: 0.65;
}

.dash-lifecycle-card--active.dash-lifecycle-card--dawn {
	border-color: #6ecf8e;
	background: #e9f9ef;
}

.dash-lifecycle-card--active.dash-lifecycle-card--day,
.dash-lifecycle-card--active.dash-lifecycle-card--dusk {
	border-color: #f0c419;
	background: #fff8e6;
}

.dash-lifecycle-card--active.dash-lifecycle-card--end-of-life {
	border-color: #f56c6c;
	background: #fdecec;
}

.dash-lifecycle-title {
	color: #333 !important;
	font-size: 16px !important;
	margin: 0 0 6px;
}

.dash-lifecycle-subtitle {
	color: #333 !important;
	font-size: 14px !important;
	margin: 0 0 6px;
}

.dash-lifecycle-note {
	margin: 10px 0 0;
}

.dash-lifecycle-note--dawn {
	color: #37884a;
}

.dash-lifecycle-note--day,
.dash-lifecycle-note--dusk {
	color: #a67c00;
}

.dash-lifecycle-note--end-of-life {
	color: #b73232;
}

/* Warranty table column sizing */
.dash-col-220 {
	width: 220px;
}

.dash-col-520 {
	width: 520px;
}
