/* ProxyPrices – full styles (orange-forward, Product Hunt-style list) */

/* =========================================
   Theme variables
========================================= */
:root{
	--primary:#f97316;         /* orange-500 */
	--primary-dark:#ea580c;    /* orange-600 */
	--secondary:#ef4444;       /* red-500 */
	--accent:#fb923c;          /* orange-400 */
	--amber:#f59e0b;
	--ink:#0f172a;
	--muted:#6b7280;
	--paper:#ffffff;
	--bg:#f8fafc;
	--line:#e5e7eb;
	--radius:16px;
	--shadow:0 10px 26px rgba(2,8,23,.08);
	--shadow-lg:0 18px 40px rgba(2,8,23,.12);
}

/* =========================================
   Base
========================================= */
html,body{height:100%}
body{
	min-height:100vh;
	display:flex;flex-direction:column;
	font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
	color:var(--ink);background:var(--bg);
}
main{flex:1}
a{text-decoration:none}

/* =========================================
   Navbar / brand / primary
========================================= */
.bg-primary,
.navbar.bg-primary{
	background:linear-gradient(135deg,var(--primary),var(--secondary)) !important;
}
.navbar-brand{font-weight:700}

/* =========================================
   Hero
========================================= */
.hero{
	background:linear-gradient(135deg, rgba(249,115,22,.98), rgba(239,68,68,.95));
	color:#fff;padding:48px 0 36px;box-shadow:var(--shadow);
}
.hero h1{font-weight:700;margin:0 0 8px}

/* =========================================
   Cards
========================================= */
.card{border:0;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;background:var(--paper)}
.card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);transition:transform .2s ease, box-shadow .2s ease}
.card-header{background:#fff;border-bottom:1px solid var(--line);font-weight:800}

/* =========================================
   Product Hunt–style table (list as cards)
========================================= */
.table-responsive{border:0 !important}

.table-borderless> :not(caption)>*>*{border:0}
.proxy-table{
	border:0 !important;
	border-collapse:separate !important;
	border-spacing:0 12px !important;
	background:transparent !important;
}
.proxy-table thead{background:transparent}
.proxy-table thead th{
	border:0 !important;
	background:transparent !important;
	color:var(--ink);
	font-weight:700;
	text-transform:none;
	padding:10px 14px;
}
.proxy-table tbody tr{
	background:var(--paper) !important;
	box-shadow:0 8px 22px rgba(2,8,23,.06);
}
.proxy-table tbody td{
	border:0 !important;
	padding:16px 14px !important;
	vertical-align:middle;
}
/* rounded row corners */
.proxy-table tbody tr td:first-child{border-top-left-radius:12px;border-bottom-left-radius:12px}
.proxy-table tbody tr td:last-child{border-top-right-radius:12px;border-bottom-right-radius:12px}
/* hover lift */
.proxy-table tbody tr:hover{
	transform:translateY(-2px);
	box-shadow:0 14px 30px rgba(2,8,23,.10);
	transition:transform .2s ease, box-shadow .2s ease;
}

/* subtle header/body separators if needed */
.proxy-table tbody td{border-top:1px solid var(--line) !important}
.proxy-table thead th{border-bottom:1px solid var(--line) !important}

/* =========================================
   Logo squares (perfect 40×40 and 96×96)
========================================= */
.logo-40{
	width:40px !important;height:40px !important;aspect-ratio:1/1;
	display:inline-grid !important;place-items:center;
	background:#fff;border:1px solid var(--line);border-radius:6px !important;
	padding:0 !important;overflow:hidden;line-height:0;box-sizing:border-box;
}
.logo-40>img,.logo-40>svg{width:100% !important;height:100% !important;object-fit:contain;display:block;border-radius:0 !important}

.logo-96{
	width:96px !important;height:96px !important;aspect-ratio:1/1;
	display:inline-grid !important;place-items:center;
	background:#fff;border:1px solid var(--line);border-radius:14px !important;
	padding:8px !important;overflow:hidden;line-height:0;box-sizing:border-box;
	box-shadow:0 20px 40px rgba(2,8,23,.10);
}
.logo-96>img,.logo-96>svg{width:100% !important;height:100% !important;object-fit:contain;display:block;border-radius:0 !important}

/* Letter avatars – standalone */
.avatar-initials-sm{
	width:40px;height:40px;border-radius:6px;
	display:grid;place-items:center;
	font-size:.9rem;font-weight:800;letter-spacing:.5px;color:#fff;
	background:linear-gradient(135deg,var(--primary),var(--secondary));
}
/* Inside logo-40, force fill square */
.logo-40>.avatar-initials-sm{
	width:100% !important;height:100% !important;border-radius:0 !important;
}

/* Large avatar (inside logo-96 if used) */
.avatar-initials-lg{
	width:100%;height:100%;border-radius:12px;
	display:grid;place-items:center;
	font-size:1.6rem;font-weight:800;letter-spacing:.5px;color:#fff;
	background:linear-gradient(135deg,var(--primary),var(--secondary));
}

/* Colored gradients (deterministic by seed) */
.avatar-c1{background:linear-gradient(135deg,#f97316,#ef4444)!important}
.avatar-c2{background:linear-gradient(135deg,#3b82f6,#6366f1)!important}
.avatar-c3{background:linear-gradient(135deg,#10b981,#14b8a6)!important}
.avatar-c4{background:linear-gradient(135deg,#8b5cf6,#6366f1)!important}
.avatar-c5{background:linear-gradient(135deg,#ec4899,#f43f5e)!important}
.avatar-c6{background:linear-gradient(135deg,#f59e0b,#f97316)!important}
.avatar-c7{background:linear-gradient(135deg,#0ea5e9,#22d3ee)!important}
.avatar-c8{background:linear-gradient(135deg,#22c55e,#84cc16)!important}

/* =========================================
   Prices & badges
========================================= */
.price{color:#111827 !important;font-weight:500 !important}
.badge-chip{
	background:#fff3e8;border:1px solid #fed7aa;color:#9a3412;
	border-radius:999px;padding:.35rem .65rem;font-weight:600
}

/* =========================================
   Sort pills (centered)
========================================= */
.sort-bar{
	display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:center;
	margin:-.25rem 0 1rem
}
.sort-label{color:var(--muted);font-weight:600;margin-right:.25rem}
.sort-pill{
	display:inline-flex;align-items:center;gap:.35rem;
	padding:.45rem .85rem;border-radius:999px;border:1px solid #fed7aa;
	background:#fff;color:#9a3412;font-weight:600;font-size:.9rem;text-decoration:none;
	transition:all .2s ease;
}
.sort-pill i{opacity:.9}
.sort-pill:hover{transform:translateY(-1px);background:#fff3e8}
.sort-pill.active{background:linear-gradient(135deg,var(--primary),var(--secondary));color:#fff;border-color:transparent}

/* =========================================
   Blog cards
========================================= */
.blog-section-title{font-weight:700;margin-bottom:1rem;color:var(--ink)}
.blog-lead{color:var(--muted);margin-bottom:2rem}
.post-card{border:0;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;background:#fff;height:100%}
.post-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);transition:transform .2s ease, box-shadow .2s ease}
.post-media{height:220px;object-fit:cover;width:100%;display:block}
.post-body{padding:1.25rem 1.25rem 0}
.post-footer{padding:0 1.25rem 1.25rem}
.chips{display:flex;gap:.5rem;align-items:center;margin-bottom:.75rem;flex-wrap:wrap}
.chip{display:inline-flex;align-items:center;gap:.4rem;background:#f1f5f9;color:var(--ink);border-radius:999px;padding:.35rem .65rem;font-weight:600;font-size:.8rem}
.chip-primary{background:#fff3e8;border:1px solid #fed7aa;color:#9a3412}
.chip-outline{background:#ffffff;border:1px solid #e5e7eb;color:#374151}
.post-title{margin:.25rem 0 .5rem;font-weight:700;line-height:1.2;color:var(--ink)}
.post-title a{color:inherit}
.post-title a:hover{color:var(--primary)}
.post-excerpt{color:var(--muted);margin:0}
.meta-row{display:flex;justify-content:space-between;align-items:center;margin-top:1rem}
.meta-left{display:flex;align-items:center;gap:.5rem}
.avatar{width:28px;height:28px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:.75rem;color:#fff;background:linear-gradient(135deg,var(--primary),var(--secondary))}
.meta-name{font-weight:600;color:#334155;font-size:.85rem}
.meta-date{color:var(--muted);font-size:.85rem;display:flex;align-items:center;gap:.35rem}

/* =========================================
   Footer
========================================= */
footer{background:#0f172a;color:#cbd5e1}
footer a{color:#e5e7eb}
footer a:hover{color:#fff}

/* =========================================
   Forms polish (used by submit page)
========================================= */
.form-hint{color:var(--muted);font-size:.9rem}

/* =========================================
   Responsive tweaks
========================================= */
@media (max-width:576px){
	.hero{padding:36px 0 28px}
	.post-media{height:180px}
}
/* Provider Key Features — square tags (force override) */
.feature-chip{
	background:#fff !important;
	border:1px solid #e5e7eb !important;
	border-radius:6px !important;     /* square-ish, not pill */
	color:#374151 !important;
	font-weight:600 !important;
	font-size:.9rem !important;
	line-height:1 !important;
	display:inline-flex !important;
	align-items:center !important;
	gap:.45rem !important;
	padding:.35rem .6rem !important;
	box-shadow:0 1px 0 rgba(2,8,23,.04) !important;
	transition:all .15s ease !important;
}
.feature-chip::before{
	content:"";
	width:6px; height:6px;
	border-radius:2px;
	background:linear-gradient(135deg,#f97316,#ef4444);
}
.feature-chip:hover{
	background:#fff8f3 !important;
	border-color:#fed7aa !important;
	transform:translateY(-1px);
}

/* If old markup used Bootstrap badges, normalize them too */
.features .badge,
.card .badge.feature-chip{
	background:#fff !important;
	border:1px solid #e5e7eb !important;
	border-radius:6px !important;
	color:#374151 !important;
	font-weight:600 !important;
	padding:.35rem .6rem !important;
}