/* Advanced v2 styling - modern, responsive */
.tenders-advanced-wrap.v2 { --accent:#2c7fb8; --muted:#6b7280; font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; color:#111; }
.container { max-width:1200px; margin:0 auto; padding:0 18px; }
.v2-hero { background: linear-gradient(180deg, rgba(44,127,184,0.08), rgba(255,255,255,0)); padding:48px 0 36px; text-align:center; }
.v2-hero h1{ color:var(--accent); font-size:40px; margin:0 0 8px; letter-spacing:0.5px; }
.v2-hero p{ color:var(--muted); font-size:18px; margin:0 0 18px; }

.v2-search { display:flex; gap:12px; align-items:center; justify-content:center; margin:0 auto; max-width:920px; }
.v2-search input, .v2-search select { padding:14px 16px; border-radius:8px; border:1px solid #e6e6e9; background:#fff; font-size:15px; box-shadow: 0 1px 2px rgba(16,24,40,0.03); }
.v2-search input { flex:1; min-width:140px; }
.v2-search select { width:220px; }
.v2-search button.primary { background:var(--accent); color:#fff; border:none; padding:12px 18px; border-radius:8px; cursor:pointer; box-shadow: 0 6px 18px rgba(44,127,184,0.12); }

.toggle-filters{ display:inline-block; margin-top:10px; color:var(--accent); text-decoration:none; font-weight:600; font-size:13px; }

.v2-content { display:flex; gap:24px; margin-top:24px; align-items:flex-start; }
.v2-sidebar { width:300px; background:linear-gradient(180deg,#fbfdff,#f8fafc); border-radius:10px; padding:18px; box-shadow: 0 6px 18px rgba(16,24,40,0.02); position:sticky; top:20px; height:fit-content; }
.v2-main { flex:1; }

.filter-block strong{ display:block; margin-bottom:6px; color:#111; font-size:14px; }
.filter-block label{ display:block; font-size:14px; color:var(--muted); margin-bottom:6px; }

.primary{ background:var(--accent); color:#fff; border:none; padding:10px 14px; border-radius:8px; cursor:pointer; }
.muted{ background:#fff; color:var(--muted); border:1px solid #e6e6e6; padding:10px 14px; border-radius:8px; cursor:pointer; }

.tender-card.v2-card{ display:flex; justify-content:space-between; gap:12px; padding:18px; border-radius:10px; background:#fff; box-shadow: 0 6px 24px rgba(15,23,42,0.04); border:1px solid rgba(15,23,42,0.03); margin-bottom:14px; align-items:center; }
.tender-left{ flex:1; min-width:0; }
.tender-left h3{ margin:0 0 8px; font-size:18px; color:#0f172a; }
.tender-left .excerpt{ margin:0 0 12px; color:#334155; font-size:14px; line-height:1.45; }
.meta { display:flex; gap:10px; flex-wrap:wrap; font-size:13px; color:var(--muted); }
.meta .dl, .meta .val, .meta .loc{ background:#f8fafc; padding:6px 10px; border-radius:6px; }

.tender-right{ display:flex; flex-direction:column; align-items:flex-end; gap:8px; min-width:160px; }
.tender-right .btn{ display:inline-block; padding:8px 12px; border-radius:8px; text-decoration:none; background:#fff; color:var(--accent); border:1px solid rgba(44,127,184,0.12); }
.tender-right .view{ background:#fff; color:var(--accent); border:1px solid rgba(44,127,184,0.12); }
.tender-right .bid{ background:var(--accent); color:#fff; border:none; padding:10px 16px; border-radius:8px; cursor:pointer; }
.tender-right .days{ font-size:13px; color:#fff; background:linear-gradient(90deg,#ff7a7a,#ffb86b); padding:6px 10px; border-radius:999px; }

.tenders-pagination{ padding:18px 0; text-align:center; }
.tenders-pagination button{ margin:0 6px; padding:8px 12px; border-radius:8px; border:1px solid #e6e6e6; background:#fff; cursor:pointer; }

.no-results{ padding:40px; text-align:center; background:#fff; border-radius:12px; box-shadow: 0 6px 18px rgba(15,23,42,0.02); color:var(--muted); }

/* Responsive */
@media (max-width: 991px){
	.v2-content{ flex-direction:column; }
	.v2-sidebar{ width:100%; position:relative; top:auto; order:2; }
	.v2-main{ order:1; }
	.tender-right{ align-items:flex-start; justify-content:flex-start; min-width:0; }
	.v2-search { flex-direction:column; align-items:stretch; }
	.v2-search select{ width:100%; }
	.v2-search button.primary{ width:100%; }
}

/* Mobile compact */
@media (max-width: 520px){
	.v2-hero h1{ font-size:22px; }
	.v2-hero p{ font-size:14px; }
	.tender-card.v2-card{ flex-direction:column; align-items:flex-start; }
	.tender-right{ width:100%; flex-direction:row; justify-content:space-between; margin-top:8px; }
	.tender-left h3{ font-size:16px; }
}
