/* Tabelio Price Table — frontend styles */

.tblio-table {
	--tblio-primary: #2563eb;
	--tblio-radius: 12px;
	--tblio-gap: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: var(--tblio-gap);
	justify-content: center;
	margin: 32px 0;
}

.tblio-notice {
	padding: 12px 16px;
	background: #fff8e5;
	border-left: 4px solid #e0b100;
	color: #664d00;
}

/* --- Layout: simple & toggle (kartu) --- */
.tblio-column {
	flex: 1 1 260px;
	max-width: 320px;
	border: 1px solid #e2e8f0;
	border-radius: var(--tblio-radius);
	padding: 32px 24px;
	position: relative;
	text-align: center;
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tblio-column--featured {
	border: 2px solid var(--tblio-primary);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-8px);
}

.tblio-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--tblio-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
}

.tblio-column__title {
	font-size: 18px;
	font-weight: 700;
	margin: 8px 0 16px;
	color: var(--tblio-font-color, inherit);
}

.tblio-column__price {
	margin-bottom: 16px;
}

.tblio-column__amount {
	font-size: 36px;
	font-weight: 800;
}

.tblio-column__period,
.tblio-column__currency {
	font-size: 14px;
	color: #64748b;
}

.tblio-column__description {
	color: var(--tblio-font-color, #64748b);
	font-size: 14px;
	margin-bottom: 20px;
}

.tblio-column__features {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	text-align: left;
}

.tblio-column__features li {
	padding: 6px 0;
	font-size: 14px;
	color: var(--tblio-font-color, inherit);
}

.tblio-column--featured .tblio-column__title,
.tblio-column--featured .tblio-column__description,
.tblio-column--featured .tblio-column__features li {
	color: var(--tblio-featured-font-color, var(--tblio-font-color, inherit));
}

.tblio-column__features li.is-included::before {
	content: '\2713';
	color: #16a34a;
	font-weight: 700;
	margin-right: 8px;
}

.tblio-column__features li.is-excluded {
	color: #94a3b8;
	text-decoration: line-through;
}

.tblio-column__features li.is-excluded::before {
	content: '\2715';
	color: #cbd5e1;
	margin-right: 8px;
}

.tblio-column__cta {
	display: inline-block;
	width: 100%;
	padding: 12px 0;
	background: var(--tblio-primary);
	color: #fff;
	border-radius: calc(var(--tblio-radius) / 2);
	text-decoration: none;
	font-weight: 600;
}

/* --- Layout: comparison (table) --- */
.tblio-table.tblio-layout-comparison {
	display: block;
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.tblio-comparison-table {
	width: 100%;
	min-width: 480px;
	border-collapse: collapse;
	background: #fff;
}

.tblio-comparison-table th,
.tblio-comparison-table td {
	border: 1px solid #e2e8f0;
	padding: 12px 16px;
	text-align: center;
	white-space: nowrap;
	color: var(--tblio-font-color, inherit);
}

.tblio-comparison-table__feature-col {
	text-align: left !important;
	font-weight: 500;
	white-space: normal;
}

.tblio-comparison-table th.tblio-column--featured {
	color: var(--tblio-featured-font-color, var(--tblio-font-color, inherit));
}

.tblio-comparison-table td.is-included {
	color: #16a34a;
}

.tblio-comparison-table td.is-excluded {
	color: #cbd5e1;
}

@media (max-width: 600px) {
	.tblio-comparison-table th,
	.tblio-comparison-table td {
		padding: 8px 10px;
		font-size: 13px;
	}
}

/* --- Layout: toggle switch --- */
.tblio-table.tblio-layout-toggle {
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.tblio-toggle-switch {
	display: inline-flex;
	background: #eef0f2;
	border-radius: 999px;
	padding: 4px;
	gap: 4px;
	margin: 0 auto 24px;
}

.tblio-toggle-switch__tab {
	border: none;
	background: transparent;
	padding: 10px 24px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.tblio-toggle-switch__tab.is-active {
	background: var(--tblio-primary);
	color: #fff;
}

.tblio-toggle-columns {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tblio-gap, 24px);
	justify-content: center;
	width: 100%;
}

@media (max-width: 600px) {
	.tblio-column {
		max-width: 100%;
	}
}

/* ==========================================================
   Design Presets — selected via the "Design Preset" dropdown in admin.
   The class is added automatically by TBLIO_Render: tblio-preset-{name}.
   The "default" preset needs no override, it's already the base style above.
   ========================================================== */

/* --- Preset: minimal --- */
.tblio-preset-minimal .tblio-column {
	border: none;
	box-shadow: none;
	background: transparent;
	border-bottom: 1px solid #e2e8f0;
	border-radius: 0;
	padding: 24px 16px;
}

.tblio-preset-minimal .tblio-column--featured {
	transform: none;
	border-bottom: 2px solid var(--tblio-primary);
}

.tblio-preset-minimal .tblio-column__cta {
	background: transparent;
	color: var(--tblio-primary);
	border: 1px solid var(--tblio-primary);
}

/* --- Preset: dark --- */
.tblio-preset-dark .tblio-column {
	background: #0f172a;
	border-color: #1e293b;
	color: #e2e8f0;
}

.tblio-preset-dark .tblio-column__period,
.tblio-preset-dark .tblio-column__currency,
.tblio-preset-dark .tblio-column__description {
	color: #94a3b8;
}

.tblio-preset-dark .tblio-column--featured {
	border-color: var(--tblio-primary);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.tblio-preset-dark .tblio-comparison-table,
.tblio-preset-dark .tblio-comparison-table th,
.tblio-preset-dark .tblio-comparison-table td {
	background: #0f172a;
	color: #e2e8f0;
	border-color: #1e293b;
}

/* --- Preset: gradient --- */
.tblio-preset-gradient .tblio-column {
	border: none;
	background: linear-gradient(160deg, color-mix(in srgb, var(--tblio-primary) 12%, #fff), #fff);
}

.tblio-preset-gradient .tblio-column--featured {
	background: linear-gradient(160deg, var(--tblio-primary), color-mix(in srgb, var(--tblio-primary) 60%, #000));
	color: #fff;
	transform: translateY(-8px) scale(1.02);
}

.tblio-preset-gradient .tblio-column--featured .tblio-column__period,
.tblio-preset-gradient .tblio-column--featured .tblio-column__currency,
.tblio-preset-gradient .tblio-column--featured .tblio-column__description {
	color: rgba(255, 255, 255, 0.8);
}

.tblio-preset-gradient .tblio-column--featured .tblio-column__cta {
	background: #fff;
	color: var(--tblio-primary);
}

/* --- Preset: bordered (garis tebal, sudut tegas) --- */
.tblio-preset-bordered .tblio-column {
	border: 3px solid #0f172a;
	border-radius: 4px;
	box-shadow: 6px 6px 0 #0f172a;
}

.tblio-preset-bordered .tblio-column--featured {
	border-color: var(--tblio-primary);
	box-shadow: 6px 6px 0 var(--tblio-primary);
	transform: none;
}

.tblio-preset-bordered .tblio-column__cta {
	border-radius: 4px;
}

.tblio-preset-bordered .tblio-comparison-table {
	border: 3px solid #0f172a;
}

.tblio-preset-bordered .tblio-comparison-table th,
.tblio-preset-bordered .tblio-comparison-table td {
	border-color: #0f172a;
}

/* --- Preset: glass (glassmorphism) --- */
.tblio-preset-glass .tblio-column {
	background: rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.5);
	box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.tblio-preset-glass .tblio-column--featured {
	background: rgba(255, 255, 255, 0.75);
	border-color: var(--tblio-primary);
}

.tblio-preset-glass .tblio-column__cta {
	backdrop-filter: blur(4px);
}

/* --- Preset: neon --- */
.tblio-preset-neon .tblio-column {
	background: #0b0f1a;
	border: 1px solid var(--tblio-primary);
	box-shadow: 0 0 14px var(--tblio-primary);
	color: #e2e8f0;
}

.tblio-preset-neon .tblio-column__title,
.tblio-preset-neon .tblio-column__amount {
	color: #fff;
	text-shadow: 0 0 8px var(--tblio-primary);
}

.tblio-preset-neon .tblio-column__period,
.tblio-preset-neon .tblio-column__currency,
.tblio-preset-neon .tblio-column__description {
	color: #94a3b8;
}

.tblio-preset-neon .tblio-column--featured {
	box-shadow: 0 0 28px var(--tblio-primary);
}

.tblio-preset-neon .tblio-column__cta {
	background: transparent;
	border: 1px solid var(--tblio-primary);
	color: var(--tblio-primary);
	box-shadow: 0 0 10px var(--tblio-primary);
}

.tblio-preset-neon .tblio-comparison-table,
.tblio-preset-neon .tblio-comparison-table th,
.tblio-preset-neon .tblio-comparison-table td {
	background: #0b0f1a;
	color: #e2e8f0;
	border-color: var(--tblio-primary);
}

/* --- Preset: soft (neumorphism) --- */
.tblio-preset-soft .tblio-column {
	background: #eef1f5;
	border: none;
	box-shadow: 8px 8px 16px #d1d4d8, -8px -8px 16px #ffffff;
	border-radius: 20px;
}

.tblio-preset-soft .tblio-column--featured {
	box-shadow: inset 4px 4px 8px #d1d4d8, inset -4px -4px 8px #ffffff;
	transform: none;
}

.tblio-preset-soft .tblio-column__cta {
	box-shadow: 4px 4px 8px #d1d4d8, -4px -4px 8px #ffffff;
	background: #eef1f5;
	color: var(--tblio-primary);
	border: none;
}

.tblio-preset-soft .tblio-column__cta:hover {
	box-shadow: 2px 2px 6px #d1d4d8, -2px -2px 6px #ffffff;
}

/* --- Preset: outline --- */
.tblio-preset-outline .tblio-column {
	background: transparent;
	border: 2px solid var(--tblio-primary);
	box-shadow: none;
}

.tblio-preset-outline .tblio-column--featured {
	background: var(--tblio-primary);
	transform: none;
}

.tblio-preset-outline .tblio-column--featured .tblio-column__title,
.tblio-preset-outline .tblio-column--featured .tblio-column__amount {
	color: #fff;
}

.tblio-preset-outline .tblio-column--featured .tblio-column__period,
.tblio-preset-outline .tblio-column--featured .tblio-column__currency,
.tblio-preset-outline .tblio-column--featured .tblio-column__description {
	color: rgba(255, 255, 255, 0.85);
}

.tblio-preset-outline .tblio-column__cta {
	background: transparent;
	border: 2px solid var(--tblio-primary);
	color: var(--tblio-primary);
}

.tblio-preset-outline .tblio-column--featured .tblio-column__cta {
	background: #fff;
	color: var(--tblio-primary);
	border-color: #fff;
}

/* --- Preset: earthy (warm serif, sage/terracotta wellness style) --- */
.tblio-preset-earthy .tblio-column {
	background: #faf7f0;
	border: none;
	box-shadow: 0 4px 16px rgba(41, 37, 30, 0.06);
}

.tblio-preset-earthy .tblio-column--featured {
	background: #dde5d0;
	transform: none;
	border: none;
	box-shadow: 0 10px 28px rgba(41, 37, 30, 0.12);
}

.tblio-preset-earthy .tblio-column__title,
.tblio-preset-earthy .tblio-column__amount {
	font-family: Georgia, 'Times New Roman', serif;
	color: #3d3629;
}

.tblio-preset-earthy .tblio-column__currency,
.tblio-preset-earthy .tblio-column__period,
.tblio-preset-earthy .tblio-column__description {
	color: #8a8271;
}

.tblio-preset-earthy .tblio-badge {
	background: var(--tblio-primary);
	top: -18px;
	text-transform: uppercase;
	font-size: 11px;
	letter-spacing: 0.06em;
}

.tblio-preset-earthy .tblio-column__cta {
	background: #6b7c56;
	color: #fff;
	border-radius: 999px;
	font-weight: 600;
}

.tblio-preset-earthy .tblio-column__cta::after {
	content: ' \2192';
}

.tblio-preset-earthy .tblio-column--featured .tblio-column__cta {
	background: var(--tblio-primary);
}

.tblio-preset-earthy .tblio-column__features li.is-included {
	color: #4a4636;
}

.tblio-preset-earthy .tblio-column__features li.is-included::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1.5px solid #8a9a72;
	color: #5c6b48;
	font-size: 10px;
	margin-right: 8px;
}

.tblio-preset-earthy .tblio-column__features li.is-excluded {
	color: #a39c8a;
}

.tblio-preset-earthy .tblio-column__features li.is-excluded::before {
	color: #c14b3f;
	margin-right: 8px;
}

.tblio-preset-earthy .tblio-toggle-switch {
	background: #ece5d6;
}

.tblio-preset-earthy .tblio-toggle-switch__tab {
	color: #6b6152;
}

/* --- Preset: retro (vintage warm palette, bold offset border) --- */
.tblio-preset-retro .tblio-column {
	background: #fdf6e3;
	border: 3px solid #2d2a26;
	border-radius: 6px;
	box-shadow: 5px 5px 0 #2d2a26;
}

.tblio-preset-retro .tblio-column--featured {
	background: var(--tblio-primary);
	transform: none;
	box-shadow: 5px 5px 0 #2d2a26;
}

.tblio-preset-retro .tblio-column--featured .tblio-column__title,
.tblio-preset-retro .tblio-column--featured .tblio-column__amount,
.tblio-preset-retro .tblio-column--featured .tblio-column__description,
.tblio-preset-retro .tblio-column--featured .tblio-column__period,
.tblio-preset-retro .tblio-column--featured .tblio-column__currency {
	color: #fdf6e3;
}

.tblio-preset-retro .tblio-column__title {
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-family: Georgia, 'Times New Roman', serif;
}

.tblio-preset-retro .tblio-column__cta {
	background: #2d2a26;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 700;
}

.tblio-preset-retro .tblio-column--featured .tblio-column__cta {
	background: #fdf6e3;
	color: #2d2a26;
}

/* --- Preset: corporate (clean, professional B2B look) --- */
.tblio-preset-corporate .tblio-column {
	background: #fff;
	border: 1px solid #dbe1e8;
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.tblio-preset-corporate .tblio-column--featured {
	border-color: var(--tblio-primary);
	border-width: 2px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
	transform: none;
}

.tblio-preset-corporate .tblio-column__title {
	color: #1e293b;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 15px;
	letter-spacing: 0.04em;
}

.tblio-preset-corporate .tblio-column__cta {
	border-radius: 4px;
	font-weight: 600;
}

.tblio-preset-corporate .tblio-column__features li {
	text-align: left;
	border-bottom: 1px solid #f1f5f9;
}

/* --- Preset: pastel (soft candy colors, extra rounded) --- */
.tblio-preset-pastel .tblio-column {
	background: #fdf2f8;
	border: none;
	border-radius: 24px;
	box-shadow: 0 6px 20px rgba(236, 72, 153, 0.1);
}

.tblio-preset-pastel .tblio-column--featured {
	background: #ede9fe;
	transform: none;
	box-shadow: 0 10px 26px rgba(139, 92, 246, 0.16);
}

.tblio-preset-pastel .tblio-column__title {
	color: #831843;
	font-weight: 700;
}

.tblio-preset-pastel .tblio-column__cta {
	background: var(--tblio-primary);
	color: #fff;
	border-radius: 999px;
	font-weight: 600;
}

/* --- Preset: monochrome (pure black & white, sharp lines) --- */
.tblio-preset-monochrome .tblio-column {
	background: #fff;
	border: 1px solid #000;
	border-radius: 0;
	box-shadow: none;
}

.tblio-preset-monochrome .tblio-column--featured {
	background: #000;
	transform: none;
}

.tblio-preset-monochrome .tblio-column--featured .tblio-column__title,
.tblio-preset-monochrome .tblio-column--featured .tblio-column__amount,
.tblio-preset-monochrome .tblio-column--featured .tblio-column__description,
.tblio-preset-monochrome .tblio-column--featured .tblio-column__period,
.tblio-preset-monochrome .tblio-column--featured .tblio-column__currency,
.tblio-preset-monochrome .tblio-column--featured .tblio-column__features li {
	color: #fff;
}

.tblio-preset-monochrome .tblio-column__cta {
	background: #000;
	color: #fff;
	border-radius: 0;
}

.tblio-preset-monochrome .tblio-column--featured .tblio-column__cta {
	background: #fff;
	color: #000;
}

/* --- Preset: material (Google Material-style elevation) --- */
.tblio-preset-material .tblio-column {
	background: #fff;
	border: none;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 8px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tblio-preset-material .tblio-column:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.tblio-preset-material .tblio-column--featured {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.tblio-preset-material .tblio-column__cta {
	border-radius: 4px;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 0.03em;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* --- Preset: luxury (black & gold, elegant) --- */
.tblio-preset-luxury .tblio-column {
	background: #0a0a0a;
	border: 1px solid #d4af37;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.tblio-preset-luxury .tblio-column__title,
.tblio-preset-luxury .tblio-column__amount {
	color: #d4af37;
	font-family: Georgia, 'Times New Roman', serif;
}

.tblio-preset-luxury .tblio-column__currency,
.tblio-preset-luxury .tblio-column__period,
.tblio-preset-luxury .tblio-column__description,
.tblio-preset-luxury .tblio-column__features li {
	color: #e5e5e5;
}

.tblio-preset-luxury .tblio-column--featured {
	border: 2px solid #d4af37;
	box-shadow: 0 12px 32px rgba(212, 175, 55, 0.25);
	transform: none;
}

.tblio-preset-luxury .tblio-column__cta {
	background: #d4af37;
	color: #0a0a0a;
	border-radius: 2px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* --- Preset: sunset (warm full-card gradient) --- */
.tblio-preset-sunset .tblio-column {
	background: linear-gradient(160deg, #ff9a56, #ff6b9d);
	border: none;
	border-radius: 16px;
	box-shadow: 0 12px 28px rgba(255, 107, 157, 0.25);
}

.tblio-preset-sunset .tblio-column__title,
.tblio-preset-sunset .tblio-column__amount,
.tblio-preset-sunset .tblio-column__currency,
.tblio-preset-sunset .tblio-column__period,
.tblio-preset-sunset .tblio-column__description,
.tblio-preset-sunset .tblio-column__features li {
	color: #fff;
}

.tblio-preset-sunset .tblio-column--featured {
	background: linear-gradient(160deg, #ff6b9d, #c44569);
	transform: translateY(-8px) scale(1.02);
}

.tblio-preset-sunset .tblio-column__cta {
	background: #fff;
	color: #c44569;
	border-radius: 999px;
	font-weight: 700;
}

/* --- Preset: editorial (newspaper/print style) --- */
.tblio-preset-editorial .tblio-column {
	background: #fff;
	border: none;
	border-top: 4px solid #111111;
	border-radius: 0;
	box-shadow: none;
	padding-top: 24px;
}

.tblio-preset-editorial .tblio-column__title {
	font-family: Georgia, 'Times New Roman', serif;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 16px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 12px;
}

.tblio-preset-editorial .tblio-column--featured {
	border-top-color: var(--tblio-primary);
	transform: none;
}

.tblio-preset-editorial .tblio-column__cta {
	background: #111111;
	border-radius: 0;
	font-family: Georgia, 'Times New Roman', serif;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.tblio-preset-editorial .tblio-column__features li {
	border-bottom: 1px dotted #ccc;
	text-align: left;
}

/* --- Preset: ocean (deep teal/blue gradient) --- */
.tblio-preset-ocean .tblio-column {
	background: linear-gradient(160deg, #0f2027, #203a43, #2c5364);
	border: none;
	border-radius: 14px;
	box-shadow: 0 10px 26px rgba(15, 32, 39, 0.3);
}

.tblio-preset-ocean .tblio-column__title,
.tblio-preset-ocean .tblio-column__amount,
.tblio-preset-ocean .tblio-column__currency,
.tblio-preset-ocean .tblio-column__period,
.tblio-preset-ocean .tblio-column__description,
.tblio-preset-ocean .tblio-column__features li {
	color: #e0f7fa;
}

.tblio-preset-ocean .tblio-column--featured {
	box-shadow: 0 14px 34px rgba(44, 83, 100, 0.45);
	border: 1px solid #4dd0e1;
}

.tblio-preset-ocean .tblio-column__cta {
	background: #4dd0e1;
	color: #0f2027;
	border-radius: 999px;
	font-weight: 700;
}

/* --- Preset: frame (ultra minimal, thin outline, generous whitespace) --- */
.tblio-preset-frame .tblio-column {
	background: transparent;
	border: 1px solid #d4d4d8;
	border-radius: 2px;
	box-shadow: none;
	padding: 40px 24px;
}

.tblio-preset-frame .tblio-column--featured {
	border: 1px solid #000;
	transform: none;
}

.tblio-preset-frame .tblio-column__title {
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: 13px;
	color: #71717a;
}

.tblio-preset-frame .tblio-column__amount {
	font-weight: 300;
}

.tblio-preset-frame .tblio-column__cta {
	background: transparent;
	border: 1px solid #000;
	color: #000;
	border-radius: 0;
	font-weight: 400;
	letter-spacing: 0.05em;
}

.tblio-preset-frame .tblio-column--featured .tblio-column__cta {
	background: #000;
	color: #fff;
}
