/* TIRIDRO Seller Payouts — front-end
   Palette matches the rest of the site. */

.tspay-wrap {
	--tspay-blue: #087fc4;
	--tspay-blue-dark: #075d9a;
	--tspay-sky: #52c6ee;
	--tspay-aqua: #dff8ff;
	--tspay-sand: #fff9ec;
	--tspay-ink: #073b5b;
	--tspay-line: rgba(7, 59, 91, 0.12);
	--tspay-muted: rgba(7, 59, 91, 0.66);
	--tspay-ok: #12805c;
	--tspay-warn: #a86a00;
	--tspay-bad: #b3261e;

	max-width: 780px;
	margin: 0 auto;
	padding: 8px 16px 48px;
	color: var(--tspay-ink);
	box-sizing: border-box;
}

.tspay-wrap *,
.tspay-wrap *::before,
.tspay-wrap *::after {
	box-sizing: border-box;
}

/* ---------- Hero ---------- */

.tspay-hero {
	padding: 24px 0 8px;
}

.tspay-eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tspay-blue);
}

.tspay-h1 {
	margin: 0 0 10px;
	font-size: clamp(26px, 6vw, 38px);
	line-height: 1.15;
	font-weight: 800;
	color: var(--tspay-ink);
}

.tspay-h2 {
	margin: 0 0 14px;
	font-size: 19px;
	font-weight: 700;
	color: var(--tspay-ink);
}

.tspay-lead {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: var(--tspay-muted);
}

/* ---------- Cards ---------- */

.tspay-card {
	background: #fff;
	border: 1px solid var(--tspay-line);
	border-radius: 16px;
	padding: 22px;
	margin: 18px 0;
	box-shadow: 0 2px 10px rgba(7, 59, 91, 0.05);
}

.tspay-card--plain {
	background: #fff;
}

/* ---------- Status ---------- */

.tspay-status {
	border-width: 1px;
	position: relative;
	overflow: hidden;
}

.tspay-status::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: var(--tspay-blue);
}

.tspay-status--not_started::before { background: var(--tspay-warn); }
.tspay-status--pending::before     { background: var(--tspay-sky); }
.tspay-status--active::before      { background: var(--tspay-ok); }

.tspay-status__head {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 10px;
}

.tspay-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--tspay-blue);
	flex: 0 0 auto;
}

.tspay-status--not_started .tspay-dot { background: var(--tspay-warn); }
.tspay-status--pending .tspay-dot     { background: var(--tspay-sky); }
.tspay-status--active .tspay-dot      { background: var(--tspay-ok); }

.tspay-status__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tspay-status__text {
	margin: 0 0 16px;
	font-size: 16px;
	line-height: 1.55;
}

.tspay-missing {
	margin: 0 0 16px;
	padding-left: 20px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--tspay-muted);
}

/* ---------- Figures ---------- */

.tspay-figures {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.tspay-figure {
	flex: 1 1 140px;
	background: var(--tspay-aqua);
	border-radius: 12px;
	padding: 14px 16px;
}

.tspay-figure__value {
	display: block;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.1;
}

.tspay-figure__label {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	color: var(--tspay-muted);
}

/* ---------- Buttons ---------- */

.tspay-btnrow {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.tspay-wrap .tspay-btn {
	display: inline-block;
	padding: 13px 22px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.tspay-wrap .tspay-btn--primary {
	background: var(--tspay-blue);
	color: #fff;
}

.tspay-wrap .tspay-btn--primary:hover,
.tspay-wrap .tspay-btn--primary:focus {
	background: var(--tspay-blue-dark);
	color: #fff;
}

.tspay-wrap .tspay-btn--ghost {
	background: #fff;
	color: var(--tspay-blue-dark);
	border-color: var(--tspay-line);
}

.tspay-wrap .tspay-btn--ghost:hover,
.tspay-wrap .tspay-btn--ghost:focus {
	border-color: var(--tspay-blue);
	color: var(--tspay-blue-dark);
}

.tspay-wrap .tspay-btn:focus-visible {
	outline: 3px solid var(--tspay-sky);
	outline-offset: 2px;
}

.tspay-fineprint {
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--tspay-muted);
}

/* ---------- Steps (the sequence rail) ---------- */

.tspay-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.tspay-step {
	display: flex;
	gap: 16px;
	padding: 0 0 22px 0;
	position: relative;
}

.tspay-step:last-child {
	padding-bottom: 0;
}

/* the spine */
.tspay-step:not(:last-child)::before {
	content: "";
	position: absolute;
	left: 17px;
	top: 38px;
	bottom: 4px;
	width: 2px;
	background: var(--tspay-line);
}

.tspay-step.is-done:not(:last-child)::before {
	background: var(--tspay-sky);
}

.tspay-step__num {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
	background: var(--tspay-aqua);
	color: var(--tspay-blue-dark);
	border: 2px solid transparent;
	position: relative;
	z-index: 1;
}

.tspay-step.is-done .tspay-step__num {
	background: var(--tspay-blue);
	color: #fff;
}

.tspay-step__body {
	padding-top: 4px;
}

.tspay-step__title {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
}

.tspay-step__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--tspay-muted);
}

/* ---------- Alerts ---------- */

.tspay-alert {
	border-radius: 12px;
	padding: 14px 16px;
	margin: 16px 0 0;
	font-size: 15px;
	line-height: 1.5;
}

.tspay-alert--ok {
	background: var(--tspay-aqua);
	color: var(--tspay-ink);
}

.tspay-alert--error {
	background: #fdecea;
	color: var(--tspay-bad);
}

/* ---------- Table ---------- */

.tspay-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.tspay-table th,
.tspay-table td {
	text-align: left;
	padding: 10px 8px;
	border-bottom: 1px solid var(--tspay-line);
}

.tspay-table th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--tspay-muted);
}

.tspay-pill {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: var(--tspay-aqua);
	color: var(--tspay-blue-dark);
}

.tspay-pill--paid    { background: #e3f5ee; color: var(--tspay-ok); }
.tspay-pill--blocked { background: var(--tspay-sand); color: var(--tspay-warn); }
.tspay-pill--failed  { background: #fdecea; color: var(--tspay-bad); }

/* ---------- FAQ ---------- */

.tspay-faq {
	margin: 0;
}

.tspay-faq dt {
	font-weight: 700;
	font-size: 15px;
	margin-top: 14px;
}

.tspay-faq dt:first-child {
	margin-top: 0;
}

.tspay-faq dd {
	margin: 4px 0 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--tspay-muted);
}

/* ---------- Small screens ---------- */

@media (max-width: 480px) {
	.tspay-card {
		padding: 18px 16px;
		border-radius: 14px;
	}

	.tspay-wrap .tspay-btn {
		width: 100%;
		text-align: center;
	}

	.tspay-table th:nth-child(2),
	.tspay-table td:nth-child(2) {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tspay-wrap * {
		transition: none !important;
	}
}
