/* ==========================================================================
   Pakistan Fuel Price Calculator Pro — Frontend Styles
   ========================================================================== */

.fpp-wrap {
	--fpp-primary: #0F766E;
	--fpp-secondary: #0B4F49;
	--fpp-button: #0D9488;
	--fpp-accent: #14B8A6;
	--fpp-up: #DC2626;
	--fpp-down: #16A34A;
	--fpp-radius: 18px;
	--fpp-text-dark: #0B1F2E;
	--fpp-bg-soft: #F4F8F8;

	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	box-sizing: border-box;
	position: relative;
	color: var(--fpp-text-dark);
	-webkit-font-smoothing: antialiased;
}
.fpp-wrap *, .fpp-wrap *::before, .fpp-wrap *::after { box-sizing: inherit; }
.fpp-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* ---------- Section headings ---------- */
.fpp-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin: 0 0 8px; letter-spacing: -0.5px; }
.fpp-title-sm { font-size: clamp(24px, 3vw, 32px); margin-bottom: 24px; }
.fpp-section-heading { text-align: center; margin-bottom: 40px; }
.fpp-updated-date { display: inline-flex; align-items: center; gap: 8px; color: #5C7599; font-weight: 500; font-size: 14px; }
.fpp-empty-msg { text-align: center; color: #6b7f9c; padding: 30px; }

/* ==========================================================================
   CARDS SECTION
   ========================================================================== */
.fpp-cards-section {
	padding: 70px 0;
	background: linear-gradient(135deg, #06211E 0%, var(--fpp-secondary) 55%, var(--fpp-primary) 100%);
	overflow: hidden;
}
.fpp-cards-section .fpp-title,
.fpp-cards-section .fpp-updated-date { color: #fff; }
.fpp-cards-section .fpp-updated-date { color: rgba(255,255,255,0.75); }

.fpp-bg-decor { position: absolute; inset: 0; overflow: hidden; z-index: 1; pointer-events: none; }
.fpp-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35; }
.fpp-blob-1 { width: 320px; height: 320px; background: var(--fpp-accent); top: -80px; left: -80px; animation: fppFloat 9s ease-in-out infinite; }
.fpp-blob-2 { width: 260px; height: 260px; background: #38bdf8; bottom: -60px; right: 5%; animation: fppFloat 11s ease-in-out infinite reverse; }
.fpp-blob-3 { width: 200px; height: 200px; background: #ffffff; top: 40%; right: 30%; animation: fppFloat 13s ease-in-out infinite; opacity: 0.12; }
@keyframes fppFloat {
	0%, 100% { transform: translate(0,0) scale(1); }
	50% { transform: translate(20px,-25px) scale(1.08); }
}

.fpp-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 24px;
}

.fpp-card {
	position: relative;
	background: #fff;
	border-radius: var(--fpp-radius);
	padding: 28px 22px;
	text-align: center;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(3, 15, 45, 0.25);
	border: 1px solid rgba(255,255,255,0.5);
	transition: transform .35s ease, box-shadow .35s ease;
	backdrop-filter: blur(6px);
}
.fpp-card::before {
	content: "";
	position: absolute; inset: 0;
	border-radius: inherit;
	padding: 1.5px;
	background: linear-gradient(135deg, var(--fpp-primary), var(--fpp-accent), var(--fpp-primary));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0;
	transition: opacity .35s ease;
}
.fpp-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 22px 45px rgba(3, 15, 45, 0.35), 0 0 0 4px rgba(11,94,215,0.08); }
.fpp-card:hover::before { opacity: 1; }

.fpp-card-shine {
	position: absolute; top: 0; left: -60%;
	width: 40%; height: 100%;
	background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
	transform: skewX(-20deg);
	transition: left .7s ease;
	pointer-events: none;
}
.fpp-card:hover .fpp-card-shine { left: 130%; }

.fpp-card-icon {
	width: 64px; height: 64px; margin: 0 auto 14px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--fpp-primary), var(--fpp-secondary));
	color: #fff; font-size: 26px;
	box-shadow: 0 8px 18px rgba(11,94,215,0.35);
}
.fpp-card-name { font-size: 15px; font-weight: 600; color: #45577a; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .5px; }
.fpp-card-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; }
.fpp-currency { font-size: 16px; font-weight: 600; color: var(--fpp-primary); }
.fpp-counter { font-size: 32px; font-weight: 800; color: var(--fpp-text-dark); }
.fpp-card-unit { display: block; font-size: 12px; color: #8194b3; margin-bottom: 12px; }

.fpp-card-delta { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 30px; margin-bottom: 10px; }
.fpp-delta-up { background: rgba(229,62,62,0.1); color: var(--fpp-up); }
.fpp-delta-down { background: rgba(22,163,74,0.1); color: var(--fpp-down); }
.fpp-delta-same { background: #f1f3f7; color: #7a879c; }

.fpp-card-footer { font-size: 11px; color: #9aa8bf; display: flex; align-items: center; justify-content: center; gap: 6px; border-top: 1px dashed #e6ebf3; padding-top: 10px; margin-top: 6px; }

/* ==========================================================================
   CALCULATOR SECTION
   ========================================================================== */
.fpp-calc-section { padding: 70px 0; background: var(--fpp-bg-soft); }
.fpp-calc-card { background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 55px rgba(11,31,58,0.12); }
.fpp-calc-header {
	padding: 40px 44px;
	background: linear-gradient(120deg, var(--fpp-secondary), var(--fpp-primary));
	color: #fff; position: relative; overflow: hidden;
}
.fpp-calc-header h2 { font-size: clamp(24px,3vw,34px); margin: 14px 0 6px; font-weight: 700; }
.fpp-calc-header p { margin: 0; opacity: .85; max-width: 520px; }
.fpp-calc-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.12); padding: 6px 14px; border-radius: 30px; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.fpp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fpp-accent); box-shadow: 0 0 0 0 rgba(255,122,0,.6); animation: fppPulse 1.6s infinite; }
@keyframes fppPulse { 0% { box-shadow: 0 0 0 0 rgba(255,122,0,.6);} 70% { box-shadow: 0 0 0 10px rgba(255,122,0,0);} 100% { box-shadow: 0 0 0 0 rgba(255,122,0,0);} }

.fpp-calc-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; }
.fpp-calc-form { padding: 36px 44px; border-right: 1px solid #eef1f7; }
.fpp-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.fpp-field label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: #62759a; }
.fpp-field input, .fpp-field select, .fpp-field textarea {
	padding: 13px 15px; border: 1.5px solid #e2e8f3; border-radius: 12px; font-family: inherit; font-size: 15px;
	transition: border-color .25s, box-shadow .25s; background: #fbfcfe; color: var(--fpp-text-dark);
}
.fpp-field input:focus, .fpp-field select:focus, .fpp-field textarea:focus {
	outline: none; border-color: var(--fpp-primary); box-shadow: 0 0 0 4px rgba(11,94,215,0.12); background: #fff;
}
.fpp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.fpp-calc-tabs { display: flex; background: #f1f4fa; border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.fpp-tab-btn { flex: 1; padding: 10px; border: none; background: transparent; border-radius: 9px; font-family: inherit; font-weight: 600; font-size: 13px; color: #6d7f9e; cursor: pointer; transition: all .25s; }
.fpp-tab-btn.active { background: #fff; color: var(--fpp-primary); box-shadow: 0 3px 10px rgba(11,94,215,0.15); }

.fpp-quick-litres { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.fpp-quick-btn { border: 1.5px solid #e2e8f3; background: #fff; border-radius: 9px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--fpp-secondary); cursor: pointer; transition: all .2s; }
.fpp-quick-btn:hover, .fpp-quick-btn.active { background: var(--fpp-primary); color: #fff; border-color: var(--fpp-primary); }

.fpp-calc-actions { display: flex; gap: 12px; margin-top: 24px; }
.fpp-calc-error { color: var(--fpp-up); font-size: 13px; font-weight: 600; margin-top: 12px; min-height: 16px; }

.fpp-calc-result { padding: 36px 44px; background: linear-gradient(160deg, #0B4F49, #0B1F2E); color: #fff; display: flex; flex-direction: column; }
.fpp-result-tag { display: inline-block; background: rgba(255,255,255,0.08); padding: 6px 14px; border-radius: 30px; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; align-self: flex-start; margin-bottom: 16px; color: #9fd8d0; }
.fpp-result-cost { display: flex; align-items: baseline; gap: 8px; font-weight: 800; }
.fpp-result-cost span:first-child { font-size: 16px; opacity: .7; }
.fpp-result-cost .fpp-counter { font-size: 46px; color: #fff; }
.fpp-result-hint { color: #93c9bf; font-size: 13px; margin: 8px 0 26px; }
.fpp-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: auto; }
.fpp-result-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px; }
.fpp-result-box span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #8fc7bb; margin-bottom: 6px; }
.fpp-result-box strong { font-size: 17px; font-weight: 700; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.fpp-btn {
	position: relative; overflow: hidden; cursor: pointer; border: none; font-family: inherit;
	font-weight: 600; font-size: 14.5px; padding: 14px 26px; border-radius: 12px;
	transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.fpp-btn-primary {
	background: linear-gradient(120deg, var(--fpp-button), var(--fpp-secondary));
	background-size: 200% auto;
	color: #fff; box-shadow: 0 10px 25px rgba(11,94,215,0.35);
}
.fpp-btn-primary:hover { background-position: right center; transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 32px rgba(11,94,215,0.45); }
.fpp-btn-ghost { background: #eef2fa; color: var(--fpp-secondary); }
.fpp-btn-ghost:hover { background: #e2e9f7; transform: translateY(-2px); }
.fpp-ripple-effect { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.55); transform: scale(0); animation: fppRipple .6s linear; pointer-events: none; }
@keyframes fppRipple { to { transform: scale(3); opacity: 0; } }

/* ==========================================================================
   RATES SECTION
   ========================================================================== */
.fpp-rates-section { padding: 60px 0; background: #fff; }
.fpp-rates-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fpp-rates-item {
	display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px;
	padding: 16px 20px; border-radius: 14px; background: #f7f9fd; transition: background .25s, transform .25s;
}
.fpp-rates-item:hover { background: #eef4ff; transform: translateX(4px); }
.fpp-rates-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--fpp-primary), var(--fpp-secondary)); color: #fff; display: flex; align-items: center; justify-content: center; }
.fpp-rates-name { font-weight: 600; color: var(--fpp-text-dark); }
.fpp-rates-price { font-weight: 800; font-size: 18px; color: var(--fpp-primary); }
.fpp-rates-price small { font-weight: 500; font-size: 12px; color: #94a5c2; }

/* ==========================================================================
   GRAPH SECTION
   ========================================================================== */
.fpp-graph-section { padding: 60px 0; background: var(--fpp-bg-soft); }
.fpp-graph-card { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 15px 40px rgba(11,31,58,0.08); }
.fpp-graph-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.fpp-graph-header h2 { margin: 0; font-size: 24px; font-weight: 700; }
.fpp-graph-controls { display: flex; gap: 8px; background: #f1f4fa; padding: 4px; border-radius: 10px; }
.fpp-chip { border: none; background: transparent; padding: 8px 16px; border-radius: 8px; font-family: inherit; font-weight: 600; font-size: 13px; color: #6d7f9e; cursor: pointer; transition: all .2s; }
.fpp-chip.active, .fpp-chip:hover { background: #fff; color: var(--fpp-primary); box-shadow: 0 3px 10px rgba(11,94,215,0.15); }
.fpp-graph-canvas-wrap { position: relative; height: 380px; }

/* ==========================================================================
   HISTORY TABLE
   ========================================================================== */
.fpp-history-section { padding: 60px 0; background: #fff; }
.fpp-table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: 0 10px 30px rgba(11,31,58,0.08); }
.fpp-history-table { width: 100%; border-collapse: collapse; background: #fff; }
.fpp-history-table th { background: linear-gradient(120deg, var(--fpp-secondary), var(--fpp-primary)); color: #fff; text-align: left; padding: 14px 18px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.fpp-history-table td { padding: 13px 18px; border-bottom: 1px solid #eef1f7; font-size: 14px; }
.fpp-history-table tbody tr:hover { background: #f7f9ff; }
.fpp-history-table.dataTable { border: none; }

/* ==========================================================================
   ANIMATIONS (scroll reveal)
   ========================================================================== */
[data-fpp-animate] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-fpp-animate].fpp-in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   SUITE — tabbed all-in-one widget (Salary Tax / Fuel / GST / Loan)
   ========================================================================== */
.fpp-suite-section { padding: 60px 0 70px; background: var(--fpp-bg-soft); }

.fpp-suite-tabs {
	display: flex;
	justify-content: center;
	gap: 6px;
	background: #e7f1f0;
	border: 1px solid #d7e8e6;
	border-radius: 16px;
	padding: 6px;
	margin: 0 auto 32px;
	max-width: 720px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.fpp-suite-tabs::-webkit-scrollbar { display: none; }
.fpp-suite-tab {
	flex: 1 0 auto;
	white-space: nowrap;
	display: flex; align-items: center; justify-content: center; gap: 8px;
	border: none; background: transparent; cursor: pointer;
	font-family: inherit; font-weight: 600; font-size: 13.5px; color: #4b6663;
	padding: 12px 18px; border-radius: 11px;
	transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.fpp-suite-tab i { font-size: 13px; opacity: .85; }
.fpp-suite-tab:hover { color: var(--fpp-primary); }
.fpp-suite-tab.active {
	background: #fff; color: var(--fpp-primary);
	box-shadow: 0 6px 16px rgba(15,118,110,0.18);
	transform: translateY(-1px);
}
.fpp-suite-panel { animation: fppPanelIn .45s ease; }
@keyframes fppPanelIn {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ---------- shared "input with Rs prefix" ---------- */
.fpp-input-icon { position: relative; display: flex; align-items: center; }
.fpp-input-icon span {
	position: absolute; left: 14px; font-weight: 700; font-size: 13px; color: var(--fpp-primary);
	pointer-events: none;
}
.fpp-input-icon input { width: 100%; padding-left: 40px !important; }

/* ---------- Salary Tax empty / filled result states ---------- */
.fpp-st-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; height: 100%; padding: 20px 10px; }
.fpp-st-empty-icon {
	width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.18);
	color: #fff; font-weight: 800; font-size: 18px;
	animation: fppFloatSoft 3.6s ease-in-out infinite;
}
@keyframes fppFloatSoft {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}
.fpp-st-empty p { color: #93a6c9; font-size: 13.5px; max-width: 220px; margin: 0; }
.fpp-st-filled { animation: fppPanelIn .4s ease; }

/* ---------- Income tax slabs table ---------- */
.fpp-slabs-block { margin-top: 40px; }
.fpp-slabs-title { font-size: clamp(20px,2.6vw,26px); font-weight: 700; color: var(--fpp-secondary); margin: 0 0 18px; }
.fpp-slabs-table-wrap { background: #fff; }
.fpp-slabs-table { width: 100%; border-collapse: collapse; }
.fpp-slabs-table td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid #eef1f7; }
.fpp-slabs-table tr:last-child td { border-bottom: none; }
.fpp-slabs-table tr:hover td { background: #f2f9f8; }
.fpp-slabs-rate { text-align: right; font-weight: 700; color: var(--fpp-primary); white-space: nowrap; }
.fpp-slabs-note { font-size: 12.5px; color: #8fa3c7; margin-top: 12px; }

/* ---------- GST / EMI tweaks reuse existing result grid/card styles ---------- */

/* ==========================================================================
   EXTRA MICRO-ANIMATIONS
   ========================================================================== */
.fpp-btn-primary { position: relative; }
.fpp-btn-primary::after {
	content: ""; position: absolute; inset: 0; border-radius: inherit;
	box-shadow: 0 0 0 0 rgba(20,184,166,0.45);
	animation: fppBtnGlow 2.6s ease-in-out infinite;
	pointer-events: none;
}
@keyframes fppBtnGlow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(20,184,166,0.35); }
	50% { box-shadow: 0 0 0 8px rgba(20,184,166,0); }
}
.fpp-field input, .fpp-field select { transition: border-color .25s, box-shadow .25s, transform .15s; }
.fpp-field input:focus, .fpp-field select:focus { transform: translateY(-1px); }
.fpp-counter { transition: color .3s ease; }

/* ==========================================================================
   RESPONSIVE — mobile-first, tuned for all devices
   ========================================================================== */
@media (max-width: 1024px) {
	.fpp-container { padding: 0 18px; }
}
@media (max-width: 900px) {
	.fpp-calc-body { grid-template-columns: 1fr; }
	.fpp-calc-form { border-right: none; border-bottom: 1px solid #eef1f7; }
	.fpp-suite-tabs { max-width: 100%; }
}
@media (max-width: 780px) {
	.fpp-cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.fpp-cards-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
	.fpp-field-row { grid-template-columns: 1fr; }
	.fpp-result-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.fpp-calc-header, .fpp-calc-form, .fpp-calc-result { padding: 26px 20px; }
	.fpp-rates-item { grid-template-columns: 36px 1fr; }
	.fpp-rates-price { grid-column: 1 / -1; margin-top: 4px; }
	.fpp-suite-tabs { border-radius: 14px; padding: 5px; gap: 4px; margin-bottom: 24px; }
	.fpp-suite-tab { padding: 10px 14px; font-size: 12.5px; }
	.fpp-suite-tab span { display: inline; }
	.fpp-calc-actions { flex-direction: column; }
	.fpp-calc-actions .fpp-btn { width: 100%; text-align: center; }
	.fpp-calc-card { border-radius: 18px; }
	.fpp-slabs-table td { padding: 12px 14px; font-size: 13px; }
}
@media (max-width: 460px) {
	.fpp-cards-grid { grid-template-columns: 1fr; }
	.fpp-suite-tab span { display: none; }
	.fpp-suite-tab i { font-size: 16px; }
	.fpp-suite-tab { padding: 12px; flex: 1 1 0; }
	.fpp-result-grid { grid-template-columns: 1fr; }
	.fpp-result-cost .fpp-counter { font-size: 36px; }
	.fpp-title { font-size: 24px; }
	.fpp-calc-header h2 { font-size: 20px; }
}
@media (max-width: 380px) {
	.fpp-container { padding: 0 14px; }
	.fpp-calc-header, .fpp-calc-form, .fpp-calc-result { padding: 20px 16px; }
}

/* -----------------------------------------------------------------
 * Single fancy fuel card — [petrol_price_card] / [diesel_price_card] /
 * [fuel_price_card type="..."]
 * ------------------------------------------------------------- */
.fpp-solo-section { padding: 40px 0; }
.fpp-solo-outer { display: flex; justify-content: center; }

.fpp-solo-card {
	position: relative;
	width: 100%;
	max-width: 320px;
	padding: 36px 28px 28px;
	border-radius: 24px;
	text-align: center;
	overflow: hidden;
	color: #fff;
	isolation: isolate;
	box-shadow: 0 20px 45px rgba(3, 15, 45, 0.28);
	transition: transform .3s ease, box-shadow .3s ease;
}
.fpp-solo-card:hover { transform: translateY(-8px) scale(1.015); box-shadow: 0 26px 55px rgba(3, 15, 45, 0.38); }

/* Petrol — teal/green gradient (matches plugin brand + site's teal accents). */
.fpp-solo-petrol {
	background: linear-gradient(150deg, #0F766E 0%, #0B4F49 60%, #06211E 100%);
}

/* Diesel (HSD) — deep charcoal-green to black with a gold accent, matching
   the site's dark hero + gold highlight branding instead of a clashing orange. */
.fpp-solo-hsd {
	background: linear-gradient(150deg, #143028 0%, #0B1F1A 55%, #050B09 100%);
}
.fpp-solo-hsd .fpp-solo-icon { box-shadow: inset 0 0 0 2px rgba(245, 180, 0, 0.4); }
.fpp-solo-hsd .fpp-solo-icon i { color: #F5B400; }
.fpp-solo-hsd .fpp-solo-price .fpp-counter,
.fpp-solo-hsd .fpp-solo-price .fpp-currency { color: #F5C518 !important; }
.fpp-solo-hsd .fpp-solo-ring { border-color: rgba(245, 197, 24, 0.25); }
.fpp-solo-hsd .fpp-solo-glow { background: rgba(245, 197, 24, 0.14); }
.fpp-solo-hsd .fpp-solo-delta { background: rgba(245, 197, 24, 0.14); }

/* Other fuel types get a neutral slate gradient by default. */
.fpp-solo-hobc   { background: linear-gradient(150deg, #6366F1 0%, #3730A3 60%, #1E1B4B 100%); }
.fpp-solo-ldo    { background: linear-gradient(150deg, #0EA5E9 0%, #0369A1 60%, #0C2340 100%); }
.fpp-solo-kerosene { background: linear-gradient(150deg, #F43F5E 0%, #9F1239 60%, #3B0A18 100%); }

.fpp-solo-glow {
	position: absolute;
	inset: -40% -40% auto auto;
	width: 220px;
	height: 220px;
	background: rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	filter: blur(10px);
	z-index: 0;
	animation: fppFloat 7s ease-in-out infinite;
}

.fpp-solo-ring {
	position: absolute;
	bottom: -70px;
	left: -70px;
	width: 180px;
	height: 180px;
	border: 2px dashed rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	z-index: 0;
}

.fpp-solo-icon {
	position: relative;
	z-index: 1;
	width: 68px;
	height: 68px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.fpp-solo-name {
	position: relative;
	z-index: 1;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	margin: 0 0 14px;
	color: #fff !important;
	opacity: .92;
}

.fpp-solo-price {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 5px;
}
.fpp-solo-price .fpp-currency { font-size: 17px; font-weight: 700; color: #fff !important; opacity: .85; }
.fpp-solo-price .fpp-counter { font-size: 40px; font-weight: 800; color: #fff !important; }

.fpp-solo-unit {
	position: relative;
	z-index: 1;
	display: block;
	font-size: 12px;
	color: #fff !important;
	opacity: .78;
	margin-bottom: 14px;
}

.fpp-solo-delta {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 30px;
	margin-bottom: 14px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}
.fpp-solo-delta.fpp-delta-up { color: #FFD1D1; }
.fpp-solo-delta.fpp-delta-down { color: #C8FFD8; }
.fpp-solo-delta.fpp-delta-same { color: #fff; }

.fpp-solo-footer {
	position: relative;
	z-index: 1;
	font-size: 11px;
	color: #fff !important;
	opacity: .75;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border-top: 1px dashed rgba(255, 255, 255, 0.25);
	padding-top: 10px;
	margin-top: 6px;
}

@media (max-width: 380px) {
	.fpp-solo-card { max-width: 100%; padding: 28px 20px 22px; }
	.fpp-solo-price .fpp-counter { font-size: 34px; }
}

/* -----------------------------------------------------------------
 * City-wise price table — [fuel_price_city_table]
 * ------------------------------------------------------------- */
.fpp-city-note {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(15, 118, 110, 0.03));
	border: 1px solid rgba(15, 118, 110, 0.18);
	border-radius: 12px;
	padding: 14px 18px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--fpp-text-dark);
	margin-bottom: 22px;
}
.fpp-city-note i { color: var(--fpp-primary); margin-top: 3px; flex-shrink: 0; }

.fpp-city-table-wrap { border-radius: 14px; overflow: hidden; }

.fpp-city-table thead th {
	background: linear-gradient(120deg, var(--fpp-primary), var(--fpp-secondary));
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .5px;
}

.fpp-city-table tbody tr:nth-child(even) { background: rgba(15, 118, 110, 0.04); }
.fpp-city-table tbody tr:hover { background: rgba(15, 118, 110, 0.09); }

.fpp-city-table td { font-weight: 600; color: var(--fpp-text-dark); }

.fpp-city-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.fpp-city-name i { color: var(--fpp-primary); font-size: 13px; }

.fpp-city-table td:not(:first-child) { color: var(--fpp-primary); font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
	.fpp-wrap *, .fpp-wrap *::before, .fpp-wrap *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}
