/**
 * Driving Mock Test Portal — Multi-Step Purchase Shortcode CSS.
 * Clean, sober, and modern UI design for multi-step purchase flow.
 */

@import "checkout.css";

.dmtp-purchase-wrap {
	max-width: 960px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
	color: #334155;
}

.dmtp-wc-progress-wrap {
	margin-top: 24px;
	margin-bottom: 28px;
}

/* ── PROGRESS BAR CONTAINER ──────────────────────────────────────────────── */
.dmtp-progress-bar-container {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 16px;
	padding: 24px 36px 20px;
	box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
	margin-bottom: 28px;
}

.dmtp-progress-steps {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	width: 100%;
}

.dmtp-step-node {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	cursor: default;
}

.dmtp-step-title {
	font-size: 13.5px;
	font-weight: 500;
	color: #94a3b8;
	margin-bottom: 12px;
	white-space: nowrap;
	letter-spacing: -0.01em;
	transition: all 0.25s ease;
}

.dmtp-step-node.active .dmtp-step-title {
	color: #0f172a;
	font-weight: 700;
	transform: translateY(-1px);
}

.dmtp-step-node.completed .dmtp-step-title {
	color: #475569;
	font-weight: 600;
}

/* Step Circle */
.dmtp-step-circle {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background-color: #f8fafc;
	border: 2px solid #e2e8f0;
	color: #94a3b8;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.dmtp-step-circle .step-check {
	display: none;
	font-size: 14px;
}

/* Active Step Circle (Warm Amber / Gold Glow) */
.dmtp-step-node.active .dmtp-step-circle {
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
	border-color: #f59e0b;
	color: #0f172a;
	color: #ffffff;
	box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.18), 0 4px 12px rgba(245, 158, 11, 0.25);
	transform: scale(1.06);
}

/* Completed Step Circle (Clean Emerald Checkmark) */
.dmtp-step-node.completed .dmtp-step-circle {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	border-color: #10b981;
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.dmtp-step-node.completed .step-num {
	display: none;
}

.dmtp-step-node.completed .step-check {
	display: inline-block;
}

/* Connector Lines */
.dmtp-step-line {
	flex: 1 1 auto;
	height: 3px;
	background-color: #e2e8f0;
	margin: 25px 12px 0;
	position: relative;
	z-index: 1;
	transition: background-color 0.35s ease;
	border-radius: 4px;
}

.dmtp-step-line.active {
	background: linear-gradient(90deg, #10b981 0%, #f59e0b 100%);
	background-color: #f59e0b;
}

/* ── CARD CONTAINER ──────────────────────────────────────────────────────── */
.dmtp-purchase-card {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 16px;
	box-shadow: 0 8px 30px -6px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
	padding: 40px 44px;
}

/* ── STEP HEADER ─────────────────────────────────────────────────────────── */
.dmtp-step-header {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1.5px solid #f1f5f9;
}

.dmtp-step-header-icon {
	width: 44px;
	height: 44px;
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.dmtp-step-header-icon svg {
	width: 22px;
	height: 22px;
	stroke: #0f172a;
}

.dmtp-step-main-title {
	font-size: 1.4rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.03em;
	margin: 0 0 4px;
	line-height: 1.3;
}

.dmtp-step-subtitle {
	font-size: 14px;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

/* ── FIELD GROUPS ────────────────────────────────────────────────────────── */
.dmtp-field-group {
	margin-bottom: 24px;
}

.dmtp-field-label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 10px;
	letter-spacing: 0.01em;
}

.dmtp-required {
	color: #ef4444;
	margin-left: 2px;
	font-weight: 700;
}

.dmtp-optional {
	font-size: 11.5px;
	color: #94a3b8;
	font-weight: 500;
	margin-left: 6px;
}

/* ── CATEGORY TABS ───────────────────────────────────────────────────────── */
.dmtp-cat-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.dmtp-cat-tab {
	padding: 8px 18px;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	color: #475569;
	cursor: pointer;
	background: #ffffff;
	transition: all 0.18s ease;
	margin: 0;
}

.dmtp-cat-tab:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
}

.dmtp-cat-tab.is-active,
.dmtp-cat-tab:has(input:checked) {
	border-color: #f59e0b;
	background: #fffbeb;
	color: #92400e;
	font-weight: 700;
}

/* ── PACKAGE CARDS ───────────────────────────────────────────────────────── */
.dmtp-pack-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dmtp-pack-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	background: #ffffff;
	cursor: pointer;
	transition: all 0.18s ease;
	margin: 0;
}

.dmtp-pack-card:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.dmtp-pack-card:has(input:checked) {
	border-color: #f59e0b;
	background: #fffbeb;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

/* Radio Dot */
.dmtp-pack-radio-dot {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid #cbd5e1;
	flex-shrink: 0;
	position: relative;
	transition: all 0.15s ease;
}

.dmtp-pack-card:has(input:checked) .dmtp-pack-radio-dot {
	border-color: #f59e0b;
	background: #f59e0b;
}

.dmtp-pack-card:has(input:checked) .dmtp-pack-radio-dot::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffffff;
}

/* Package Info */
.dmtp-pack-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.dmtp-pack-name {
	font-size: 14.5px;
	font-weight: 600;
	color: #0f172a;
}

.dmtp-pack-desc {
	font-size: 12.5px;
	color: #64748b;
	line-height: 1.4;
}

/* Popular Badge */
.dmtp-pack-badge {
	font-size: 10px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #ffffff;
	background: linear-gradient(135deg, #0f172a, #1e293b);
	padding: 3px 10px;
	border-radius: 20px;
	white-space: nowrap;
	flex-shrink: 0;
}

/* Price */
.dmtp-pack-price {
	font-size: 16px;
	font-weight: 800;
	color: #d97706;
	white-space: nowrap;
	flex-shrink: 0;
}

/* Empty State */
.dmtp-empty-state {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 20px;
	background: #f8fafc;
	border-radius: 10px;
	font-size: 13.5px;
	color: #94a3b8;
	font-style: italic;
}

.dmtp-empty-state svg {
	width: 20px;
	height: 20px;
	stroke: #94a3b8;
	flex-shrink: 0;
}

/* ── RECIPIENT OPTIONS (Myself / Someone Else) ────────────────────────────── */
.dmtp-recipient-options {
	display: flex;
	gap: 10px;
}

.dmtp-recipient-opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	cursor: pointer;
	background: #ffffff;
	transition: all 0.18s ease;
	margin: 0;
}

.dmtp-recipient-opt:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
}

.dmtp-recipient-opt:has(input:checked) {
	border-color: #f59e0b;
	background: #fffbeb;
}

.dmtp-recipient-radio-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #cbd5e1;
	flex-shrink: 0;
	position: relative;
	transition: all 0.15s ease;
}

.dmtp-recipient-opt:has(input:checked) .dmtp-recipient-radio-dot {
	border-color: #f59e0b;
	background: #f59e0b;
}

.dmtp-recipient-opt:has(input:checked) .dmtp-recipient-radio-dot::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ffffff;
}

.dmtp-recipient-label {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
}

/* ── LOGGED IN CARD ─────────────────────────────────────────────────────── */
.dmtp-logged-in-card {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	padding: 18px 22px;
	margin-bottom: 24px;
}

.dmtp-logged-in-avatar {
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, #10b981, #059669);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	flex-shrink: 0;
}

.dmtp-logged-in-avatar svg {
	width: 24px;
	height: 24px;
	stroke: #ffffff;
}

.dmtp-logged-in-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.dmtp-logged-in-badge {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #059669;
	display: inline-flex;
	align-items: center;
}

.dmtp-logged-in-name {
	font-size: 15.5px;
	font-weight: 700;
	color: #0f172a;
}

.dmtp-logged-in-email {
	font-size: 13.5px;
	color: #64748b;
}

/* ── AUTH NAV SWITCHER (LOG IN / REGISTER) ───────────────────────────────── */
.dmtp-auth-nav {
	display: flex;
	gap: 8px;
	background: #f1f5f9;
	padding: 5px;
	border-radius: 10px;
	margin-bottom: 24px;
}

.dmtp-auth-nav-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border: none;
	border-radius: 7px;
	background: transparent;
	font-size: 13.5px;
	font-weight: 600;
	color: #64748b;
	cursor: pointer;
	transition: all 0.18s ease;
}

.dmtp-auth-nav-btn svg {
	width: 16px;
	height: 16px;
	stroke: #64748b;
}

.dmtp-auth-nav-btn.is-active {
	background: #ffffff;
	color: #0f172a;
	font-weight: 700;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.dmtp-auth-nav-btn.is-active svg {
	stroke: #f59e0b;
}

/* ── AUTH ALERT MESSAGES ─────────────────────────────────────────────────── */
.dmtp-auth-alert {
	padding: 12px 18px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 500;
	margin-bottom: 20px;
	line-height: 1.5;
}

.dmtp-auth-alert.is-error {
	background: #fef2f2;
	border: 1px solid #fee2e2;
	color: #b91c1c;
}

.dmtp-auth-alert.is-success {
	background: #f0fdf4;
	border: 1px solid #dcfce7;
	color: #15803d;
}

/* ── INLINE INPUT BUTTON (SEND CODE) ─────────────────────────────────────── */
.dmtp-input-inline-btn {
	display: flex;
	gap: 8px;
}

.dmtp-input-inline-btn .dmtp-input {
	flex: 1;
}

.dmtp-btn-inline {
	padding: 0 18px;
	height: 46px;
	background: #0f172a;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.18s ease;
}

.dmtp-btn-inline:hover:not(:disabled) {
	background: #1e293b;
}

.dmtp-btn-inline:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.dmtp-helper-text {
	font-size: 12px;
	color: #64748b;
	margin-top: 6px;
}

/* ── OTP INPUT ───────────────────────────────────────────────────────────── */
.dmtp-input-otp {
	font-family: "Courier New", monospace;
	font-size: 18px !important;
	font-weight: 700;
	letter-spacing: 0.35em;
	text-align: center;
}

/* ── 2-COLUMN GRID FOR FORM FIELDS ───────────────────────────────────────── */
.dmtp-field-grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.dmtp-auth-footer-link {
	font-size: 13px;
	color: #64748b;
	text-align: center;
	margin-top: 18px;
}

.dmtp-auth-footer-link a {
	color: #d97706;
	font-weight: 700;
	text-decoration: underline;
	margin-left: 4px;
	cursor: pointer;
}

/* ── RECIPIENT CARD (GIFT PURCHASES) ─────────────────────────────────────── */
.dmtp-recipient-card {
	background: #fffbeb;
	border: 1.5px solid #fef3c7;
	border-radius: 14px;
	padding: 24px;
	margin-top: 16px;
}

.dmtp-recipient-card-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 700;
	color: #92400e;
	margin-bottom: 6px;
}

.dmtp-recipient-card-title svg {
	width: 18px;
	height: 18px;
	stroke: #d97706;
}

.dmtp-recipient-card-desc {
	font-size: 13px;
	color: #78350f;
	margin-bottom: 20px;
	line-height: 1.5;
}

/* ── RECIPIENT DIVIDER ──────────────────────────────────────────────────── */
.dmtp-recipient-divider {
	display: flex;
	align-items: center;
	margin: 28px 0 20px;
}

.dmtp-recipient-divider::before,
.dmtp-recipient-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e2e8f0;
}

.dmtp-recipient-divider span {
	padding: 0 14px;
	font-size: 13px;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

/* ── ACTION BUTTONS ──────────────────────────────────────────────────────── */
.dmtp-action-row {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1.5px solid #f1f5f9;
	display: flex;
	justify-content: center;
}

.dmtp-action-row--split {
	justify-content: space-between;
}

.dmtp-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	color: #0f172a;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	font-size: 15px;
	padding: 14px 36px;
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
	transition: all 0.18s ease;
	cursor: pointer;
	letter-spacing: -0.01em;
}

.dmtp-btn-primary svg {
	width: 16px;
	height: 16px;
	stroke: #0f172a;
}

.dmtp-btn-primary:hover:not(:disabled) {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	transform: translateY(-1.5px);
	box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}

.dmtp-btn-primary:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.dmtp-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: transparent;
	color: #475569;
	border: 1.5px solid #e2e8f0;
	border-radius: 10px;
	font-weight: 600;
	font-size: 14.5px;
	padding: 13px 24px;
	transition: all 0.18s ease;
	cursor: pointer;
}

.dmtp-btn-secondary svg {
	width: 15px;
	height: 15px;
	stroke: #64748b;
}

.dmtp-btn-secondary:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
	color: #334155;
}

/* ── REDIRECT SCREEN ─────────────────────────────────────────────────────── */
.dmtp-redirect-screen {
	text-align: center;
	padding: 60px 20px;
}

.dmtp-redirect-spinner {
	width: 48px;
	height: 48px;
	margin: 0 auto 20px;
	animation: dmtpSpin 1s linear infinite;
}

.dmtp-redirect-spinner svg {
	width: 48px;
	height: 48px;
}

@keyframes dmtpSpin {
	to { transform: rotate(360deg); }
}

.dmtp-redirect-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 8px;
}

.dmtp-redirect-sub {
	font-size: 14px;
	color: #64748b;
	margin: 0;
}

/* Keep legacy classes for backward compat */
.dmtp-section-heading { font-size: 1.35rem; font-weight: 700; color: #0f172a; letter-spacing: -0.02em; }
.dmtp-sub-heading { font-size: 1.1rem; font-weight: 600; color: #1e293b; }
.dmtp-btn-yellow {
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
	color: #0f172a !important;
	border: none !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	padding: 13px 44px !important;
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3) !important;
	transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease !important;
}
.dmtp-btn-yellow:hover:not(:disabled) {
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
	transform: translateY(-1.5px);
	box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4) !important;
}
.dmtp-btn-yellow:disabled {
	opacity: 0.5 !important;
	cursor: not-allowed !important;
	transform: none !important;
	box-shadow: none !important;
}

/* ── RESPONSIVE MEDIA QUERIES ────────────────────────────────────────────── */
@media (max-width: 768px) {
	.dmtp-progress-bar-container {
		padding: 16px 14px 14px;
		border-radius: 12px;
	}

	.dmtp-step-title {
		font-size: 11px;
		margin-bottom: 8px;
	}

	.dmtp-step-circle {
		width: 30px;
		height: 30px;
		font-size: 12px;
	}

	.dmtp-step-line {
		margin-top: 19px;
		margin-left: 6px;
		margin-right: 6px;
	}

	.dmtp-purchase-card {
		padding: 24px 18px !important;
		border-radius: 12px;
	}

	.dmtp-step-header {
		flex-direction: column;
		gap: 12px;
	}

	.dmtp-step-main-title {
		font-size: 1.2rem;
	}

	.dmtp-cat-tabs {
		gap: 6px;
	}

	.dmtp-cat-tab {
		padding: 7px 14px;
		font-size: 12.5px;
	}

	.dmtp-pack-card {
		padding: 14px 16px;
	}

	.dmtp-recipient-options {
		flex-direction: column;
	}

	.dmtp-action-row--split {
		flex-direction: column;
		gap: 10px;
	}

	.dmtp-btn-primary,
	.dmtp-btn-secondary,
	.dmtp-btn-yellow {
		width: 100%;
		padding: 13px 20px !important;
	}
}

/* ══════════════════════════════════════════════════════════════════════════
   CONFIRMATION PAGE — Step 4
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Wrapper ─────────────────────────────────────────────────────────────── */
.dmtp-confirm-wrap {
	max-width: 1000px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── Hero Banner ─────────────────────────────────────────────────────────── */
.dmtp-confirm-hero {
	text-align: center;
	padding: 48px 24px 36px;
	background: linear-gradient(160deg, #fffbeb 0%, #ffffff 60%);
	border: 1px solid #fef3c7;
	border-radius: 20px;
	margin-bottom: 28px;
}

.dmtp-confirm-icon-ring {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.dmtp-confirm-icon-ring svg {
	width: 36px;
	height: 36px;
	stroke: #0f172a;
}

.dmtp-confirm-heading {
	font-size: 2rem;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.04em;
	margin: 0 0 10px;
	line-height: 1.2;
}

.dmtp-confirm-subheading {
	font-size: 15px;
	color: #64748b;
	margin: 0;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

/* ── Two-Column Grid ─────────────────────────────────────────────────────── */
.dmtp-confirm-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: flex-start;
}

/* ── Shared Card ─────────────────────────────────────────────────────────── */
.dmtp-confirm-card {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 16px;
	padding: 28px 30px;
	box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
}

.dmtp-confirm-summary {
	flex: 1 1 420px;
}

.dmtp-confirm-nextsteps {
	flex: 1 1 340px;
}

.dmtp-confirm-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.1rem;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.02em;
	padding-bottom: 16px;
	margin-bottom: 20px;
	border-bottom: 1.5px solid #f1f5f9;
}

.dmtp-confirm-card-header svg {
	width: 20px;
	height: 20px;
	stroke: #f59e0b;
	flex-shrink: 0;
}

/* ── Order Meta Grid ─────────────────────────────────────────────────────── */
.dmtp-confirm-meta-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 20px;
	margin-bottom: 22px;
}

.dmtp-confirm-meta-item {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.dmtp-confirm-meta-label {
	font-size: 11px;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.dmtp-confirm-meta-value {
	font-size: 14.5px;
	font-weight: 600;
	color: #0f172a;
}

/* ── Package Row ─────────────────────────────────────────────────────────── */
.dmtp-confirm-package-row {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 16px;
}

.dmtp-confirm-package-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.dmtp-confirm-package-icon svg {
	width: 20px;
	height: 20px;
	stroke: #0f172a;
}

.dmtp-confirm-package-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dmtp-confirm-package-label {
	font-size: 11px;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.dmtp-confirm-package-name {
	font-size: 14.5px;
	font-weight: 700;
	color: #0f172a;
}

.dmtp-confirm-package-price {
	font-size: 16px;
	font-weight: 800;
	color: #d97706;
	white-space: nowrap;
}

/* ── Total Row ───────────────────────────────────────────────────────────── */
.dmtp-confirm-total-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 14px;
	border-top: 2px solid #f1f5f9;
	font-size: 15px;
	font-weight: 600;
	color: #475569;
}

.dmtp-confirm-total-amount {
	font-size: 1.35rem;
	font-weight: 800;
	color: #0f172a;
}

/* ── Next Steps List ─────────────────────────────────────────────────────── */
.dmtp-confirm-steps-list {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.dmtp-confirm-step-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.dmtp-confirm-step-num {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	color: #0f172a;
	font-size: 13px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 1px;
}

.dmtp-confirm-step-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dmtp-confirm-step-content strong {
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	display: block;
}

.dmtp-confirm-step-content span {
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
}

/* ── Action Buttons ──────────────────────────────────────────────────────── */
.dmtp-confirm-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dmtp-confirm-btn-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	color: #0f172a !important;
	font-weight: 700;
	font-size: 15px;
	padding: 13px 20px;
	border-radius: 10px;
	text-decoration: none !important;
	border: none;
	box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
	transition: all 0.18s ease;
}

.dmtp-confirm-btn-primary svg {
	width: 16px;
	height: 16px;
	stroke: #0f172a;
}

.dmtp-confirm-btn-primary:hover {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.dmtp-confirm-btn-secondary {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: transparent;
	color: #475569 !important;
	font-weight: 600;
	font-size: 14.5px;
	padding: 12px 20px;
	border-radius: 10px;
	text-decoration: none !important;
	border: 1.5px solid #e2e8f0;
	transition: all 0.18s ease;
}

.dmtp-confirm-btn-secondary svg {
	width: 15px;
	height: 15px;
	stroke: #64748b;
}

.dmtp-confirm-btn-secondary:hover {
	border-color: #cbd5e1;
	background: #f8fafc;
	color: #334155 !important;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
	.dmtp-confirm-hero {
		padding: 36px 20px 28px;
	}

	.dmtp-confirm-heading {
		font-size: 1.6rem;
	}

	.dmtp-confirm-grid {
		flex-direction: column;
	}

	.dmtp-confirm-summary,
	.dmtp-confirm-nextsteps {
		flex: 1 1 100%;
	}

	.dmtp-confirm-card {
		padding: 22px 18px;
	}

	.dmtp-confirm-meta-grid {
		grid-template-columns: 1fr;
	}
}

