@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&display=swap');
@import url('nav.css');
@import url('footer.css');

/* ==========================================================================
   BidsPilots — Master Typography & Centralized Design Tokens
   Single Source of Truth for Manrope Font Across All Pages
   ========================================================================== */

*, *::before, *::after {
	font-family: 'Manrope', sans-serif;
}

/* ══ Light Theme (Default Tokens) ════════════════════════════════════════ */
:root {
	--font: 'Manrope', sans-serif;
	--font-heading: 'Manrope', sans-serif;

	/* Layout sizing */
	--nav-w: 240px;
	--nav-coll: 64px;
	--nav-t: 0.2s cubic-bezier(.4, 0, .2, 1);
	--r: 14px;
	--r-sm: 8px;

	/* Colors - Light Mode (Tenderkart-Inspired Standard) */
	--bg-base: #f8fafc;
	--bg: #f8fafc;
	--bg2: #ffffff;
	--bg3: #f1f5f9;
	--bg4: #cbd5e1;
	--bg5: #e2e8f0;
	--border: rgba(15, 23, 42, 0.08);
	/* More visible borders in light mode */
	--border2: rgba(15, 23, 42, 0.13);
	--border3: rgba(15, 23, 42, 0.20);

	--text: #0f172a;
	--text2: #1e293b;
	--sub: #334155;
	--sub2: #475569;

	--accent: #4f8ef7;
	--accent-dim: rgba(79, 142, 247, 0.1);
	--accent2: #6366f1;

	--success: #10b981;
	--success-dim: rgba(16, 185, 129, 0.1);
	--warn: #f59e0b;
	--warn-dim: rgba(245, 158, 11, 0.1);
	--danger: #ef4444;
	--danger-dim: rgba(239, 68, 68, 0.1);

	--purple-dim: rgba(99, 102, 241, 0.1);
	--grad: linear-gradient(135deg, #4f8ef7, #6366f1);
	--shadow: 0 8px 30px rgba(15, 23, 42, 0.04);

	/* ── INSTANT SEARCH AUTOCOMPLETE DROPDOWN (TENDERKART STYLE) ── */
	.tk-search-dropdown {
		position: absolute;
		top: calc(100% + 8px);
		left: 0;
		right: 0;
		background: #ffffff;
		border: 1px solid #e2e8f0;
		border-radius: 14px;
		box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
		z-index: 99999;
		max-height: 420px;
		overflow-y: auto;
		padding: 8px 0;
		text-align: left;
	}

	.tk-sug-header {
		padding: 10px 16px 4px;
		font-size: 11px;
		font-weight: 800;
		color: #64748b;
		letter-spacing: 0.8px;
		text-transform: uppercase;
		background: #f8fafc;
		border-top: 1px solid #f1f5f9;
	}

	.tk-sug-header:first-child {
		border-top: none;
	}

	.tk-sug-item {
		padding: 10px 16px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		cursor: pointer;
		transition: background 0.15s ease;
		border-bottom: 1px solid #f8fafc;
	}

	.tk-sug-item:last-child {
		border-bottom: none;
	}

	.tk-sug-item:hover {
		background: #eff6ff;
	}

	.tk-sug-name {
		font-size: 13px;
		font-weight: 600;
		color: #0f172a;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.tk-sug-badge {
		font-size: 11px;
		font-weight: 700;
		padding: 3px 8px;
		border-radius: 100px;
		text-transform: uppercase;
		letter-spacing: 0.5px;
		flex-shrink: 0;
	}

	.tk-hl {
		color: #2563eb;
		font-weight: 700;
		background: rgba(37, 99, 235, 0.08);
		border-radius: 2px;
		padding: 0 2px;
	}

	.tk-sug-empty {
		padding: 20px 16px;
		font-size: 13px;
		color: #64748b;
		text-align: center;
		font-style: italic;
	}

	/* Navigation - Always Dark (theme-independent) */
	--nav-bg: #0d1117;
	--nav-border: rgba(255, 255, 255, 0.07);
	--nav-surface: rgba(255, 255, 255, 0.04);
	--nav-hover: rgba(255, 255, 255, 0.06);
	--nav-active-bg: rgba(99, 91, 255, 0.12);
	--nav-active-bd: rgba(99, 91, 255, 0.35);
	--nav-text: #94a3b8;
	--nav-hi: #f1f5f9;
	--nav-accent: #8075ff;
	--nav-grad: linear-gradient(135deg, #635bff, #8075ff);
	--nav-success: #22c989;
	--nav-warn: #f5a623;
	--nav-danger: #f0526a;
	--nav-logo-text: #ffffff;
}

/* ══ Dark Theme Overrides ════════════════════════════════════════════════ */
[data-theme="dark"] {
	/* Colors - Dark Mode */
	--bg-base: #070912;
	--bg: rgba(7, 9, 18, 0.8);
	--bg2: #121826;
	/* Grayish-slate dark card bg for clear contrast against deep-dark #070912 */
	--bg3: #1a2035;
	--bg4: #222b44;
	--bg5: #2a3554;
	--border: rgba(255, 255, 255, 0.09);
	--border2: rgba(255, 255, 255, 0.15);
	--border3: rgba(255, 255, 255, 0.22);

	--text: #e8edf5;
	--text2: #b0bdd0;
	--sub: #7a8ba0;
	--sub2: #4e5f72;

	--accent: #4f8ef7;
	--accent-dim: rgba(79, 142, 247, 0.12);
	--accent2: #7c5cfc;

	--success: #20c993;
	--success-dim: rgba(32, 201, 147, 0.12);
	--warn: #f5a623;
	--warn-dim: rgba(245, 166, 35, 0.12);
	--danger: #f05270;
	--danger-dim: rgba(240, 82, 112, 0.12);

	--purple-dim: rgba(124, 92, 252, 0.12);
	--grad: linear-gradient(135deg, #4f8ef7, #7c5cfc);
	--shadow: 0 4px 24px rgba(0, 0, 0, 0.35);

	/* Navigation - Dark Mode */
	--nav-bg: #0d1117;
	--nav-border: rgba(255, 255, 255, 0.07);
	--nav-surface: rgba(255, 255, 255, 0.04);
	--nav-hover: rgba(255, 255, 255, 0.06);
	--nav-active-bg: rgba(99, 91, 255, 0.12);
	--nav-active-bd: rgba(99, 91, 255, 0.35);
	--nav-text: #94a3b8;
	--nav-hi: #f1f5f9;
	--nav-accent: #8075ff;
	--nav-grad: linear-gradient(135deg, #635bff, #8075ff);
	--nav-success: #22c989;
	--nav-warn: #f5a623;
	--nav-danger: #f0526a;
	--nav-logo-text: #ffffff;
}

/* ══ Global Scrollbars ══════════════════════════════════════════════════ */
::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
	background: var(--bg4);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--bg5);
}

/* ══ Global Reset & Body ════════════════════════════════════════════════ */
body {
	font-family: var(--font);
	background-color: var(--bg-base);
	color: var(--text);
	margin: 0;
	padding: 0;
}

/* ══ Background Canvas & Grid ══════════════════════════════════════════ */
.bg-canvas {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.bg-canvas::before {
	content: '';
	position: absolute;
	width: 900px;
	height: 900px;
	top: -300px;
	right: -200px;
	background: radial-gradient(circle, rgba(79, 142, 247, .1) 0%, transparent 65%);
	animation: bgp1 12s ease-in-out infinite alternate;
}

.bg-canvas::after {
	content: '';
	position: absolute;
	width: 700px;
	height: 700px;
	bottom: 5%;
	left: -150px;
	background: radial-gradient(circle, rgba(124, 92, 252, .08) 0%, transparent 65%);
	animation: bgp2 15s ease-in-out infinite alternate;
}

.bg-grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(79, 142, 247, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(79, 142, 247, .04) 1px, transparent 1px);
	background-size: 64px 64px;
}

/* Hide bg-grid and blurs in light mode ONLY on post-login pages to ensure a solid background,
   while keeping the beautiful grid and blur effects on the index, login, and register pages. */
html:not([data-theme="dark"]) body:has(.bp-page-content) .bg-grid,
html:not([data-theme="dark"]) body:has(.bp-page-content) .bg-canvas::before,
html:not([data-theme="dark"]) body:has(.bp-page-content) .bg-canvas::after,
html:not([data-theme="dark"]) body:has(.bp-nav) .bg-grid,
html:not([data-theme="dark"]) body:has(.bp-nav) .bg-canvas::before,
html:not([data-theme="dark"]) body:has(.bp-nav) .bg-canvas::after {
	display: none !important;
	background: none !important;
}

@keyframes bgp1 {
	to {
		transform: translate(50px, 80px) scale(1.12);
	}
}

@keyframes bgp2 {
	to {
		transform: translate(-40px, 50px) scale(1.1);
	}
}

/* ── Responsive & Theme Consistency Overrides for Filter Pages ── */

/* 1. allFilters.html - Mobile Table Row Contrast & Alignment */
@media (max-width: 900px) {
	html[data-theme] body .bp-page-content .filter-table .filter-row,
	html[data-theme] body .bp-page-content .filter-table .filter-row:nth-child(even),
	html[data-theme] body .bp-page-content .filter-table .filter-row:nth-child(odd) {
		background: var(--bg2) !important;
		border: 1px solid var(--border) !important;
		box-shadow: var(--shadow) !important;
	}
}

/* 2. Dropdown Lists - Solid Background in Light Mode to Prevent Bleed-Through */
html:not([data-theme="dark"]) .drop {
	background: #ffffff !important;
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08) !important;
}

/* 3. Steps Progress Bar (userFilter.html) on Mobile */
@media (max-width: 640px) {
	.steps {
		gap: 6px !important;
		justify-content: flex-start !important;
	}

	.step-sep {
		display: none !important;
	}
}

/* 4. Card Responsiveness Matching userDashboard */
@media (max-width: 900px) {

	.summary-card,
	.stat-card {
		padding: 14px 16px !important;
		gap: 12px !important;
		height: auto !important;
		min-height: 76px !important;
	}

	.sc-val,
	.stat-num {
		font-size: 18px !important;
	}

	.sc-lbl,
	.stat-label {
		white-space: normal !important;
		word-break: break-word !important;
		line-height: 1.2 !important;
	}
}

@media (max-width: 480px) {

	.summary-card,
	.stat-card {
		padding: 12px 14px !important;
		gap: 10px !important;
	}

	.sc-val,
	.stat-num {
		font-size: 18px !important;
	}

	.sc-lbl,
	.stat-label {
		font-size: 9px !important;
	}
}

@media (max-width: 380px) {

	.sc-val,
	.stat-num {
		font-size: 18px !important;
	}
}

/* 5. tab-bar & tab-btn Responsiveness matching userDashboard stats-grid exactly */
.tab-bar {
	display: grid !important;
	grid-template-columns: repeat(5, 1fr) !important;
	gap: 12px !important;
}

.tab-btn {
	flex: none !important;
	flex-direction: row !important;
	align-items: center !important;
	text-align: left !important;
	height: auto !important;
	min-height: 76px !important;
	padding: 20px 22px !important;
}

.tab-btn .stat-content {
	text-align: left !important;
}

@media (max-width: 1200px) {
	.tab-bar {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 900px) {
	.tab-bar {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 10px !important;
	}

	.tab-btn {
		padding: 14px 16px !important;
		gap: 12px !important;
	}
}

@media (max-width: 640px) {
	.tab-bar {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 8px !important;
	}
}

@media (max-width: 480px) {
	.tab-btn {
		padding: 12px 14px !important;
		gap: 10px !important;
	}
}

@media (max-width: 380px) {
	.tab-bar {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 8px !important;
	}
}

/* 6. summary-grid Responsiveness matching userDashboard stats-grid exactly */
.summary-grid {
	display: grid !important;
	grid-template-columns: repeat(6, 1fr) !important;
	gap: 12px !important;
}

@media (max-width: 1200px) {
	.summary-grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 900px) {
	.summary-grid {
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 10px !important;
	}
}

@media (max-width: 640px) {
	.summary-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 8px !important;
	}
}

@media (max-width: 380px) {
	.summary-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 8px !important;
	}
}

/* 7. Modal Dialogs - Solid Premium Backgrounds to Prevent Bleed-Through */
html:not([data-theme="dark"]) .modal {
	background: #ffffff !important;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08) !important;
	border-color: var(--border2) !important;
}

html[data-theme="dark"] .modal {
	background: #111827 !important;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25) !important;
	border-color: rgba(255, 255, 255, 0.08) !important;
}

/* 8. Standalone Inputs inside Modals (allFilters.html) */
.modal input[type="text"],
.modal .search-inp {
	width: 100% !important;
	padding: 10px 14px !important;
	background: var(--bg3) !important;
	border: 1px solid var(--border) !important;
	border-radius: var(--r-sm) !important;
	color: var(--text) !important;
	font-family: var(--font) !important;
	font-size: 13px !important;
	outline: none !important;
	box-sizing: border-box !important;
	transition: border-color 0.15s ease !important;
}

.modal input[type="text"]:focus,
.modal .search-inp:focus {
	border-color: rgba(79, 142, 247, 0.5) !important;
}

/* 9. Modal Responsiveness & Buttons Stacking on Mobile */
.modal {
	max-width: 400px !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

@media (max-width: 480px) {
	.modal {
		padding: 20px 16px !important;
		margin: 0 16px !important;
		max-width: calc(100% - 32px) !important;
	}
}

@media (max-width: 400px) {
	.modal-actions {
		flex-direction: column-reverse !important;
		align-items: stretch !important;
		gap: 8px !important;
	}
	.modal-actions button,
	.modal-actions a {
		width: 100% !important;
		justify-content: center !important;
		text-align: center !important;
		padding: 10px 16px !important;
		box-sizing: border-box !important;
	}
}

/* ── INSTANT SEARCH AUTOCOMPLETE DROPDOWN (TENDERKART EXACT MATCH) ── */
.tk-search-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	left: 50%;
	transform: translateX(-50%);
	width: min(1350px, 96vw);
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 18px;
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
	z-index: 99999;
	max-height: 520px;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 12px 0;
	text-align: left;
	box-sizing: border-box;
}

.tk-sug-grid-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 16px;
	padding: 12px 18px 18px;
	width: 100%;
	box-sizing: border-box;
	overflow-x: auto;
}

.tk-sug-col {
	flex: 1 1 0px;
	min-width: 170px;
	background: transparent;
	border: none;
	border-radius: 0;
	border-right: 1.5px dashed #cbd5e1;
	padding-right: 14px;
	display: flex;
	flex-direction: column;
	box-shadow: none;
	overflow: visible;
	box-sizing: border-box;
}

.tk-sug-col:last-child {
	border-right: none;
	padding-right: 0;
}

.tk-sug-header-main {
	padding: 10px 18px 4px;
	font-size: 11px;
	font-weight: 800;
	color: #94a3b8;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-bottom: 1px solid #f1f5f9;
}

.tk-sug-col .tk-sug-header {
	background: transparent;
	border: none;
	border-bottom: 2px solid #2563eb;
	padding: 4px 4px 6px;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 800;
	color: #1e293b;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.tk-sug-col .tk-sug-item {
	padding: 8px 10px;
	border-radius: 8px;
	border-bottom: none;
	cursor: pointer;
	transition: background 0.15s ease;
	overflow: visible;
	box-sizing: border-box;
}

.tk-sug-col .tk-sug-item:hover {
	background: #eff6ff;
}

.tk-sug-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	width: 100%;
	overflow: visible;
	box-sizing: border-box;
}

.tk-sug-title {
	font-size: 13px;
	font-weight: 500;
	color: #1e293b;
	white-space: normal;
	word-break: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
	line-height: 1.45;
	overflow: visible;
	text-overflow: clip;
}

.tk-sug-sub {
	font-size: 11px;
	font-weight: 500;
	color: #64748b;
}

.tk-sug-cat {
	color: #2563eb;
	font-weight: 600;
}

.tk-hl {
	color: #2563eb;
	font-weight: 700;
}

.tk-sug-empty {
	padding: 20px 18px;
	font-size: 13px;
	color: #64748b;
	text-align: center;
	font-style: italic;
}

/* ==========================================================================
   BidsPilots — Universal In-Page Login Modal Popup Styles
   ========================================================================== */
.bp-login-overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.bp-login-overlay.active {
	opacity: 1;
	visibility: visible;
}

.bp-login-card {
	position: relative;
	overflow-x: hidden !important;
	overflow-y: auto;
	width: 100%;
	max-width: 420px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
	padding: 32px 28px;
	transform: scale(0.95) translateY(12px);
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	font-family: 'Manrope', sans-serif;
	box-sizing: border-box;
}

/* ── Clean Razorpay Corner Ribbon ── */
.bp-card-banner-wrap {
	position: absolute;
	top: 0;
	right: 0;
	width: 140px;
	height: 140px;
	overflow: hidden;
	pointer-events: none;
	z-index: 10;
	border-top-right-radius: 12px;
}

.bp-corner-ribbon {
	position: absolute;
	top: 30px;
	right: -42px;
	width: 180px;
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	color: #1d4ed8;
	font-size: 11px;
	font-weight: 800;
	font-family: 'Manrope', sans-serif;
	text-align: center;
	padding: 6px 0;
	transform: rotate(35deg);
	white-space: nowrap;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	box-shadow: none;
}

[data-theme="dark"] .bp-corner-ribbon {
	background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
	color: #93c5fd;
	box-shadow: none;
}

[data-theme="dark"] .bp-login-card {
	background: #111827;
	border-color: rgba(255, 255, 255, 0.12);
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.bp-login-overlay.active .bp-login-card {
	transform: scale(1) translateY(0);
}

@media (max-width: 480px) {
	.bp-login-overlay {
		padding: 10px !important;
	}
	.bp-login-card {
		padding: 24px 16px !important;
		border-radius: 10px !important;
	}
	.bp-login-title {
		font-size: 16px !important;
	}
}

@media (max-width: 320px) {
	.bp-login-overlay {
		padding: 6px !important;
	}
	.bp-login-card {
		padding: 18px 10px !important;
		border-radius: 8px !important;
	}
	.bp-login-title {
		font-size: 15px !important;
	}
	.bp-field {
		padding: 9px 32px 9px 32px !important;
		font-size: 11px !important;
	}
}

.bp-login-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #f1f5f9;
	border: none;
	color: #64748b;
	font-size: 15px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

[data-theme="dark"] .bp-login-close {
	background: rgba(255, 255, 255, 0.08);
	color: #94a3b8;
}

.bp-login-close:hover {
	background: #e2e8f0;
	color: #0f172a;
	transform: rotate(90deg);
}

[data-theme="dark"] .bp-login-close:hover {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

.bp-login-header {
	text-align: center;
	margin-bottom: 24px;
}

/* ── Razorpay-Style Tilted Badge Tag ── */
.bp-tilted-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
	font-size: 11px;
	font-weight: 800;
	padding: 5px 14px;
	border-radius: 20px;
	letter-spacing: 0.3px;
	transform: rotate(-2.5deg);
	box-shadow: none;
	margin: 4px 0 10px;
	transition: transform 0.2s ease;
	font-family: 'Manrope', sans-serif;
}

.bp-tilted-badge:hover {
	transform: rotate(0deg) scale(1.04);
}

[data-theme="dark"] .bp-tilted-badge {
	background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(29, 78, 216, 0.3) 100%);
	color: #60a5fa;
	border-color: rgba(96, 165, 250, 0.3);
}

.bp-login-logo {
	width: 68px;
	height: 68px;
	margin: 0 auto 14px;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: none;
}

[data-theme="dark"] .bp-login-logo {
	background: transparent;
}

.bp-login-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bp-login-title {
	font-size: 18px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 4px 0;
	letter-spacing: -0.3px;
}

[data-theme="dark"] .bp-login-title {
	color: #f8fafc;
}

.bp-login-sub {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

[data-theme="dark"] .bp-login-sub {
	color: #94a3b8;
}

.bp-login-alert {
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
}

.bp-login-alert-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.bp-login-alert-msg {
	text-align: center;
	line-height: 1.4;
}

.bp-login-alert.error {
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fca5a5;
}

.bp-login-alert.success {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.bp-login-alert.warning {
	background: #fffbeb;
	color: #b45309;
	border: 1px solid #fde68a;
}

.bp-login-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.bp-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.bp-form-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.bp-form-label {
	font-size: 11px;
	font-weight: 700;
	color: #334155;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

[data-theme="dark"] .bp-form-label {
	color: #cbd5e1;
}

.bp-forgot-link {
	font-size: 11px;
	font-weight: 600;
	color: #2563eb;
	text-decoration: none;
	transition: color 0.15s ease;
}

.bp-forgot-link:hover {
	color: #1d4ed8;
	text-decoration: underline;
}

.bp-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.bp-input-icon {
	position: absolute;
	left: 14px;
	width: 17px;
	height: 17px;
	color: #94a3b8;
	pointer-events: none;
}

.bp-field {
	width: 100%;
	padding: 11px 40px 11px 40px;
	background: #f8fafc;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #0f172a;
	font-family: 'Manrope', sans-serif;
	outline: none;
	transition: all 0.2s ease;
	box-sizing: border-box;
}

input[type="password"],
.bp-field[type="password"] {
	letter-spacing: -2.5px !important;
	font-family: 'Manrope', sans-serif !important;
}

/* ── Softer / Lighter Placeholder Styling ── */
input::placeholder,
textarea::placeholder,
.bp-field::placeholder {
	color: #94a3b8 !important;
	font-weight: 400 !important;
	opacity: 0.85 !important;
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder,
[data-theme="dark"] .bp-field::placeholder {
	color: #64748b !important;
	opacity: 0.75 !important;
}

input[type="password"]::placeholder,
.bp-field[type="password"]::placeholder {
	letter-spacing: normal !important;
	font-family: 'Manrope', sans-serif !important;
	color: #94a3b8 !important;
	font-weight: 400 !important;
}

input[type="text"],
.bp-field[type="text"] {
	letter-spacing: normal !important;
	font-family: 'Manrope', sans-serif !important;
}

[data-theme="dark"] .bp-field {
	background: #1e293b;
	border-color: rgba(255, 255, 255, 0.12);
	color: #f8fafc;
}

.bp-field:focus {
	border-color: #2563eb;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

[data-theme="dark"] .bp-field:focus {
	background: #0f172a;
	border-color: #3b82f6;
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro Eye -> EyeOff Password Visibility Toggle Morph Standard
   Framer Motion Eye (Visible) -> EyeOff (Hidden) Spring Icon Morphing
   ========================================================================== */
.bp-pwd-toggle {
	position: absolute !important;
	right: 10px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	background: transparent !important;
	border: none !important;
	color: #64748b !important;
	cursor: pointer !important;
	padding: 4px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease !important;
	user-select: none !important;
	outline: none !important;
}

.bp-pwd-toggle:hover {
	color: #2563eb !important;
	transform: translateY(-50%) scale(1.08) !important;
}

.bp-pwd-toggle:active {
	transform: translateY(-50%) scale(0.94) !important;
}

.eye-icon-wrap {
	position: relative !important;
	width: 16px !important;
	height: 16px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.eye-icon-wrap .icon-eye,
.eye-icon-wrap .icon-eye-off {
	position: absolute !important;
	inset: 0 !important;
	width: 16px !important;
	height: 16px !important;
	transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease !important;
}

.eye-icon-wrap .icon-eye {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
}

.eye-icon-wrap .icon-eye-off {
	opacity: 0 !important;
	transform: scale(0.4) rotate(-30deg) !important;
}

.bp-pwd-toggle.is-visible .eye-icon-wrap .icon-eye {
	opacity: 0 !important;
	transform: scale(0.4) rotate(30deg) !important;
}

.bp-pwd-toggle.is-visible .eye-icon-wrap .icon-eye-off {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
	color: #2563eb !important;
}

.bp-btn-submit {
	width: 100%;
	padding: 9.5px 16px;
	margin-top: 6px;
	background: #2563eb;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	font-family: 'Manrope', sans-serif;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: none !important;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.bp-btn-submit:hover {
	background: #1d4ed8;
	box-shadow: none !important;
	transform: translateY(-1px);
}

.bp-spinner {
	width: 16px;
	height: 16px;
	border: 2.5px solid rgba(255, 255, 255, 0.3);
	border-top-color: #ffffff;
	border-radius: 50%;
	animation: bpSpin 0.7s linear infinite;
}

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

.bp-legal-notice {
	font-size: 11px;
	color: #64748b;
	text-align: center;
	margin: 16px 0 8px;
	line-height: 1.5;
	font-family: 'Manrope', sans-serif;
}

.bp-legal-notice a {
	color: #2563eb;
	text-decoration: underline;
	font-weight: 600;
	transition: color 0.15s ease;
}

.bp-legal-notice a:hover {
	color: #1d4ed8;
}

[data-theme="dark"] .bp-legal-notice {
	color: #94a3b8;
}

[data-theme="dark"] .bp-legal-notice a {
	color: #60a5fa;
}

.bp-login-footer {
	text-align: center;
	margin-top: 20px;
	font-size: 13px;
	color: #64748b;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.bp-signup-link {
	font-weight: 700;
	color: #2563eb;
	text-decoration: none;
}

.bp-signup-link:hover {
	text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro btn-4 Copy Bid Number Micro-Interaction Component Standard
   ========================================================================== */
.bid-num-row {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	flex-wrap: wrap !important;
}

.btn-copy-bid {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px;
	font-size: 11px;
	font-weight: 700;
	font-family: var(--font, 'Manrope', sans-serif);
	color: #475569;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 20px;
	cursor: pointer;
	margin-left: 8px;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	user-select: none;
	vertical-align: middle;
}

.btn-copy-bid:hover {
	background: #e2e8f0;
	color: #0f172a;
	border-color: #94a3b8;
	transform: translateY(-1px);
}

.btn-copy-bid:active {
	transform: translateY(0) scale(0.96);
}

.btn-copy-bid.copied {
	background: #dcfce7 !important;
	color: #15803d !important;
	border-color: #86efac !important;
}

.btn-copy-bid .copy-svg {
	transition: transform 0.2s ease;
}

.btn-copy-bid.copied .copy-svg {
	display: none !important;
}

.btn-copy-bid .check-svg {
	display: none;
}

.btn-copy-bid.copied .check-svg {
	display: inline-block !important;
	animation: springCheck 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes springCheck {
	0% { transform: scale(0) rotate(-30deg); }
	100% { transform: scale(1) rotate(0deg); }
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro btn-6 Share Link Morph Micro-Interaction Component Standard
   Exact Framer Motion Link -> Send Icon Morphing Transition
   ========================================================================== */
.btn-6-share,
.card-act-share {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	height: 32px !important;
	padding: 0 16px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	font-family: var(--font, 'Manrope', sans-serif) !important;
	color: #0f172a !important;
	background: #f8fafc !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 40px !important;
	cursor: pointer !important;
	transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
	position: relative !important;
	overflow: hidden !important;
	user-select: none !important;
	text-decoration: none !important;
}

.btn-6-share:hover,
.card-act-share:hover {
	background: #f1f5f9 !important;
	border-color: #94a3b8 !important;
	color: #0284c7 !important;
	transform: scale(1.02) !important;
}

.btn-6-share:active,
.card-act-share:active {
	transform: scale(0.96) !important;
}

.share-icon-wrap {
	position: relative !important;
	width: 14px !important;
	height: 14px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.share-icon-wrap .icon-link,
.share-icon-wrap .icon-send {
	position: absolute !important;
	inset: 0 !important;
	width: 14px !important;
	height: 14px !important;
	transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease !important;
}

.share-icon-wrap .icon-link {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
}

.share-icon-wrap .icon-send {
	opacity: 0 !important;
	transform: scale(0.4) rotate(-30deg) !important;
}

.btn-6-share:hover .share-icon-wrap .icon-link,
.card-act-share:hover .share-icon-wrap .icon-link {
	opacity: 0 !important;
	transform: scale(0.4) rotate(30deg) !important;
}

.btn-6-share:hover .share-icon-wrap .icon-send,
.card-act-share:hover .share-icon-wrap .icon-send {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
	stroke: #0284c7 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro btn-9 Trash Shake Micro-Interaction Component Standard
   Exact Framer Motion y: [0,-2,0,-2,0], rotate: [0,-10,10,-10,0] Keyframe Shake
   ========================================================================== */
.btn-9-delete,
.card-act-delete {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	height: 32px !important;
	padding: 0 14px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	font-family: var(--font, 'Manrope', sans-serif) !important;
	color: #dc2626 !important;
	background: #fef2f2 !important;
	border: 1px solid #fca5a5 !important;
	border-radius: 40px !important;
	cursor: pointer !important;
	transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
	position: relative !important;
	overflow: hidden !important;
	user-select: none !important;
	text-decoration: none !important;
}

.btn-9-delete:hover,
.card-act-delete:hover {
	background: #fee2e2 !important;
	border-color: #f87171 !important;
	color: #b91c1c !important;
	transform: scale(1.02) !important;
	box-shadow: none !important;
}

.btn-9-delete:active,
.card-act-delete:active {
	transform: scale(0.96) !important;
}

.btn-9-delete svg,
.card-act-delete svg {
	transition: transform 0.2s ease, stroke 0.2s ease !important;
	flex-shrink: 0 !important;
}

.btn-9-delete:hover svg,
.card-act-delete:hover svg {
	animation: trashShake 0.4s ease-in-out infinite !important;
	stroke: #b91c1c !important;
}

@keyframes trashShake {
	0% { transform: translateY(0) rotate(0deg); }
	25% { transform: translateY(-2px) rotate(-10deg); }
	50% { transform: translateY(0) rotate(10deg); }
	75% { transform: translateY(-2px) rotate(-10deg); }
	100% { transform: translateY(0) rotate(0deg); }
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro btn-11 Search Morph Micro-Interaction Component Standard
   Exact Framer Motion Search -> X Icon Morphing Transition
   Preserves button color identity while adding spring scaling & icon morphing
   ========================================================================== */
.btn-11-search,
.tk-search-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	cursor: pointer !important;
	transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
	position: relative !important;
	overflow: hidden !important;
	user-select: none !important;
}

.btn-11-search:hover,
.tk-search-btn:hover {
	transform: scale(1.02) !important;
}

.btn-11-search:active,
.tk-search-btn:active {
	transform: scale(0.96) !important;
}

.search-icon-wrap {
	position: relative !important;
	width: 15px !important;
	height: 15px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.search-icon-wrap .icon-search,
.search-icon-wrap .icon-x {
	position: absolute !important;
	inset: 0 !important;
	width: 15px !important;
	height: 15px !important;
	transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease !important;
}

.search-icon-wrap .icon-search {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
}

.search-icon-wrap .icon-x {
	opacity: 0 !important;
	transform: scale(0.4) rotate(-45deg) !important;
}

.btn-11-search:hover .search-icon-wrap .icon-search,
.tk-search-btn:hover .search-icon-wrap .icon-search {
	opacity: 0 !important;
	transform: scale(0.4) rotate(45deg) !important;
}

.btn-11-search:hover .search-icon-wrap .icon-x,
.tk-search-btn:hover .search-icon-wrap .icon-x {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Tenderkart Hero Search Box Standard (Strict Design Parity across all pages)
   ========================================================================== */
.tk-hero-search-box {
	background: #ffffff !important;
	border: 2px solid #2563eb !important;
	border-radius: 100px !important;
	padding: 3px 3px 3px 18px !important;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	box-shadow: none !important;
	position: relative !important;
	box-sizing: border-box !important;
}

.search-box {
	flex: 1 !important;
	position: relative !important;
	width: 100% !important;
}

.tk-search-input {
	flex: 1 !important;
	border: none !important;
	outline: none !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #0f172a !important;
	background: transparent !important;
	width: 100% !important;
	padding: 4px 0 !important;
	box-shadow: none !important;
}

.tk-search-input::placeholder {
	color: #94a3b8 !important;
}

.tk-search-btn {
	padding: 8px 24px !important;
	background: #2563eb !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 100px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	font-family: var(--font, 'Manrope', sans-serif) !important;
	cursor: pointer !important;
	white-space: nowrap !important;
	width: auto !important;
	box-shadow: none !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro btn-19 Save Later Bookmark Color Morph Component Standard
   Framer Motion Red Hover Accent & Red Fill Morphing Animation
   ========================================================================== */
.btn-19-save,
.card-act-save {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	height: 32px !important;
	padding: 0 14px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	font-family: var(--font, 'Manrope', sans-serif) !important;
	color: #475569 !important;
	background: #f8fafc !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 40px !important;
	cursor: pointer !important;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
	position: relative !important;
	overflow: hidden !important;
	user-select: none !important;
	text-decoration: none !important;
}

.btn-19-save:hover,
.card-act-save:hover {
	background: #fef2f2 !important;
	border-color: #fca5a5 !important;
	color: #dc2626 !important;
	transform: scale(1.02) !important;
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.12) !important;
}

.btn-19-save:active,
.card-act-save:active {
	transform: scale(0.96) !important;
}

.btn-19-save svg,
.card-act-save svg {
	transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), stroke 0.3s ease, fill 0.3s ease !important;
	flex-shrink: 0 !important;
	stroke: currentColor !important;
	fill: transparent !important;
}

.btn-19-save:hover svg,
.card-act-save:hover svg {
	stroke: #dc2626 !important;
	fill: #dc2626 !important;
	transform: scale(1.18) !important;
}

/* SAVED / BOOKMARKED ACTIVE STATE */
.btn-19-save.saved,
.card-act-save.saved {
	background: #fef2f2 !important;
	border-color: #fca5a5 !important;
	color: #dc2626 !important;
}

.btn-19-save.saved svg,
.card-act-save.saved svg {
	stroke: #dc2626 !important;
	fill: #dc2626 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro btn-24 Download Checkmark Morph Micro-Interaction Component Standard
   Exact Framer Motion Download -> Checkmark Icon Morphing Transition
   ========================================================================== */
.btn-24-download,
.pdf-btn-download {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 7px !important;
	cursor: pointer !important;
	transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
	position: relative !important;
	overflow: hidden !important;
	user-select: none !important;
	text-decoration: none !important;
}

.btn-24-download:hover,
.pdf-btn-download:hover {
	transform: scale(1.02) !important;
}

.btn-24-download:active,
.pdf-btn-download:active {
	transform: scale(0.96) !important;
}

.download-icon-wrap {
	position: relative !important;
	width: 15px !important;
	height: 15px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.download-icon-wrap .icon-download,
.download-icon-wrap .icon-check {
	position: absolute !important;
	inset: 0 !important;
	width: 15px !important;
	height: 15px !important;
	transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease !important;
}

.download-icon-wrap .icon-download {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
}

.download-icon-wrap .icon-check {
	opacity: 0 !important;
	transform: scale(0.4) rotate(-30deg) !important;
}

.btn-24-download:hover .download-icon-wrap .icon-download,
.pdf-btn-download:hover .download-icon-wrap .icon-download {
	opacity: 0 !important;
	transform: scale(0.4) rotate(30deg) !important;
}

.btn-24-download:hover .download-icon-wrap .icon-check,
.pdf-btn-download:hover .download-icon-wrap .icon-check {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
	stroke: #22c55e !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro btn-23 Account Profile Morph Micro-Interaction Standard
   Exact Framer Motion User -> UserCheck Icon Morphing Transition
   ========================================================================== */
.btn-23-account {
	position: relative !important;
	transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease !important;
}

.btn-23-account:hover {
	transform: scale(1.02) !important;
}

.btn-23-account:active {
	transform: scale(0.96) !important;
}

.account-icon-wrap {
	position: relative !important;
	width: 18px !important;
	height: 18px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.account-icon-wrap .icon-user,
.account-icon-wrap .icon-user-check {
	position: absolute !important;
	inset: 0 !important;
	width: 18px !important;
	height: 18px !important;
	transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease !important;
}

.account-icon-wrap .icon-user {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
}

.account-icon-wrap .icon-user-check {
	opacity: 0 !important;
	transform: scale(0.4) rotate(-30deg) !important;
}

.btn-23-account:hover .account-icon-wrap .icon-user,
.bp-dock-item:hover .account-icon-wrap .icon-user {
	opacity: 0 !important;
	transform: scale(0.4) rotate(30deg) !important;
}

.btn-23-account:hover .account-icon-wrap .icon-user-check,
.bp-dock-item:hover .account-icon-wrap .icon-user-check {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
	stroke: #2563eb !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro btn-24 Submit Bid Morph Micro-Interaction Standard
   Exact Framer Motion Spring Transition with Existing Submit Bid Icon
   ========================================================================== */
.btn-24-submit {
	position: relative !important;
	transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.btn-24-submit:hover {
	transform: scale(1.02) !important;
}

.btn-24-submit:active {
	transform: scale(0.96) !important;
}

.submit-icon-wrap {
	position: relative !important;
	width: 14px !important;
	height: 14px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.submit-icon-wrap .icon-submit-default,
.submit-icon-wrap .icon-submit-check {
	position: absolute !important;
	inset: 0 !important;
	width: 14px !important;
	height: 14px !important;
	transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease !important;
}

.submit-icon-wrap .icon-submit-default {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
}

.submit-icon-wrap .icon-submit-check {
	opacity: 0 !important;
	transform: scale(0.4) rotate(-30deg) !important;
}

.btn-24-submit:hover .submit-icon-wrap .icon-submit-default {
	opacity: 0 !important;
	transform: scale(0.4) rotate(30deg) !important;
}

.btn-24-submit:hover .submit-icon-wrap .icon-submit-check {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
	stroke: #16a34a !important;
}

.btn-24-submit.submitted .submit-icon-wrap .icon-submit-default {
	opacity: 0 !important;
	transform: scale(0.4) rotate(30deg) !important;
}

.btn-24-submit.submitted .submit-icon-wrap .icon-submit-check {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
	stroke: #16a34a !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro btn-25 Edit Writing Pencil Morph Micro-Interaction Standard
   Exact Framer Motion Pen -> Check Icon Morphing Transition
   ========================================================================== */
.btn-25-edit {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	cursor: pointer !important;
	transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease !important;
	user-select: none !important;
}

.btn-25-edit:hover {
	transform: scale(1.02) !important;
	border-color: #93c5fd !important;
	color: #2563eb !important;
}

.btn-25-edit:active {
	transform: scale(0.96) !important;
}

.edit-icon-wrap {
	position: relative !important;
	width: 14px !important;
	height: 14px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.edit-icon-wrap .icon-pen,
.edit-icon-wrap .icon-check {
	position: absolute !important;
	inset: 0 !important;
	width: 14px !important;
	height: 14px !important;
	transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease !important;
}

.edit-icon-wrap .icon-pen {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
}

.edit-icon-wrap .icon-check {
	opacity: 0 !important;
	transform: scale(0.4) rotate(-30deg) !important;
}

.btn-25-edit:hover .edit-icon-wrap .icon-pen {
	opacity: 0 !important;
	transform: scale(0.4) rotate(30deg) !important;
}

.btn-25-edit:hover .edit-icon-wrap .icon-check {
	opacity: 1 !important;
	transform: scale(1) rotate(0deg) !important;
	stroke: #2563eb !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro btn-9 Universal Trash Shake Delete Button Standard
   Trash Can Shake Keyframe Animation on Hover
   ========================================================================== */
@keyframes amicroTrashShake {
	0% { transform: translateY(0) rotate(0deg); }
	20% { transform: translateY(-2px) rotate(-8deg); }
	40% { transform: translateY(0) rotate(8deg); }
	60% { transform: translateY(-2px) rotate(-8deg); }
	80% { transform: translateY(0) rotate(8deg); }
	100% { transform: translateY(0) rotate(0deg); }
}

.btn-9-delete,
.card-act-delete {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	cursor: pointer !important;
	transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
	user-select: none !important;
}

.btn-9-delete:hover,
.card-act-delete:hover {
	transform: scale(1.02) !important;
	color: #ef4444 !important;
	border-color: #fca5a5 !important;
	background-color: #fef2f2 !important;
}

.btn-9-delete:active,
.card-act-delete:active {
	transform: scale(0.96) !important;
}

.btn-9-delete:hover svg,
.card-act-delete:hover svg {
	animation: amicroTrashShake 0.4s ease-in-out !important;
	stroke: #ef4444 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro btn-28 Expand View Fullscreen Morph Micro-Interaction Standard
   Exact Framer Motion Spring Pop (stiffness: 600, damping: 25) Transition
   ========================================================================== */
.btn-28-expand,
.pdf-btn-expand {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 36px !important;
	padding: 0 16px !important;
	border-radius: 40px !important;
	background: #f8fafc !important;
	border: 1px solid #cbd5e1 !important;
	color: #0f172a !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	letter-spacing: -0.01em !important;
	cursor: pointer !important;
	user-select: none !important;
	text-decoration: none !important;
	transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.btn-28-expand:hover,
.pdf-btn-expand:hover {
	transform: scale(1.02) !important;
	background-color: #eff6ff !important;
	color: #2563eb !important;
	border-color: #93c5fd !important;
}

.btn-28-expand:active,
.pdf-btn-expand:active {
	transform: scale(0.96) !important;
}

.expand-icon-wrap {
	position: relative !important;
	width: 16px !important;
	height: 16px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.expand-icon-wrap .icon-maximize,
.expand-icon-wrap .icon-minimize {
	position: absolute !important;
	inset: 0 !important;
	width: 16px !important;
	height: 16px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	/* Framer Motion Spring Pop (stiffness: 600, damping: 25) */
	transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.expand-icon-wrap .icon-maximize {
	opacity: 1 !important;
	transform: scale(1) !important;
}

.expand-icon-wrap .icon-minimize {
	opacity: 0 !important;
	transform: scale(0.5) !important;
}

.btn-28-expand:hover .expand-icon-wrap .icon-maximize,
.btn-28-expand.is-fullscreen .expand-icon-wrap .icon-maximize,
.pdf-btn-expand:hover .expand-icon-wrap .icon-maximize,
.pdf-btn-expand.is-fullscreen .expand-icon-wrap .icon-maximize {
	opacity: 0 !important;
	transform: scale(0.5) !important;
}

.btn-28-expand:hover .expand-icon-wrap .icon-minimize,
.btn-28-expand.is-fullscreen .expand-icon-wrap .icon-minimize,
.pdf-btn-expand:hover .expand-icon-wrap .icon-minimize,
.pdf-btn-expand.is-fullscreen .expand-icon-wrap .icon-minimize {
	opacity: 1 !important;
	transform: scale(1) !important;
	stroke: #2563eb !important;
}

/* Modal Fullscreen Expansion State & High Z-Index Coverage Fix */
.modal-overlay.is-fullscreen-overlay {
	z-index: 99999999 !important;
	padding: 0 !important;
}

.pdf-modal-card.is-fullscreen {
	position: fixed !important;
	inset: 0 !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	max-width: 100vw !important;
	max-height: 100vh !important;
	border-radius: 0 !important;
	margin: 0 !important;
	z-index: 99999999 !important;
	box-shadow: none !important;
	border: none !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Amicro RotateButton RefreshCw Micro-Interaction Standard
   Exact Framer Motion 180° Spring Rotate (stiffness: 400, damping: 25)
   ========================================================================== */
.btn-reset-filters {
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	padding: 8px 16px !important;
	background: #fef2f2 !important;
	color: #dc2626 !important;
	border: 1px solid #fca5a5 !important;
	border-radius: 10px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	user-select: none !important;
	transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

.btn-reset-filters:hover {
	transform: scale(1.02) !important;
	background: #dc2626 !important;
	color: #ffffff !important;
	border-color: #dc2626 !important;
	box-shadow: none !important;
}

.btn-reset-filters:active {
	transform: scale(0.96) !important;
}

.btn-reset-filters svg,
.btn-reset-filters .icon-refresh-rotate {
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important; /* Spring stiffness: 400, damping: 25 */
}

.btn-reset-filters:hover svg,
.btn-reset-filters:hover .icon-refresh-rotate {
	transform: rotate(180deg) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Universal Tender Card Actions Strict Parity & Equal Dimensions Standard
   Uniform Height (36px), Pill Radius (40px), Alignment & Typography across all buttons
   ========================================================================== */
.card-actions-group {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	flex-wrap: wrap !important;
}

.card-act-btn,
.card-actions-group button,
.card-actions-group .card-act-btn,
.btn-19-save,
.btn-6-share,
.btn-9-delete,
.btn-24-submit,
.btn-25-edit {
	height: 31px !important;
	min-height: 31px !important;
	max-height: 31px !important;
	padding: 0 12px !important;
	border-radius: 24px !important; /* Sleek compact pill curvature */
	font-family: 'Manrope', sans-serif !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	white-space: nowrap !important;
	box-sizing: border-box !important;
	gap: 5px !important;
}

.card-act-btn svg,
.card-actions-group button svg {
	width: 13px !important;
	height: 13px !important;
	flex-shrink: 0 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Universal Modal Overlay & Bid Submission Form Standard
   Strict Parity across all modals (Filter Selection, Price Quote, Details)
   ========================================================================== */
.modal-selection-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	z-index: 99999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.modal-selection-card {
	background: #ffffff;
	border-radius: 16px;
	width: 100%;
	max-width: 1140px;
	max-height: 88vh;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
	overflow: hidden;
	animation: modalPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	border: 1px solid var(--border);
}

[data-theme="dark"] .modal-selection-card {
	background: #121826;
	border-color: rgba(255, 255, 255, 0.12);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

@keyframes modalPopIn {
	from {
		opacity: 0;
		transform: scale(0.96);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.modal-selection-header {
	padding: 18px 24px;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f8fafc;
}

[data-theme="dark"] .modal-selection-header {
	background: #1a2035;
	border-color: rgba(255, 255, 255, 0.08);
}

.modal-selection-title {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	font-family: var(--font);
}

[data-theme="dark"] .modal-selection-title {
	color: #e8edf5;
}

.modal-selection-sub {
	font-size: 13px;
	font-weight: 400;
	color: #64748b;
	margin-top: 2px;
	font-family: var(--font);
}

[data-theme="dark"] .modal-selection-sub {
	color: #7a8ba0;
}

.modal-close-icon {
	background: #f1f5f9;
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	font-size: 15px;
	font-weight: 700;
	color: #64748b;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	line-height: 1;
}

[data-theme="dark"] .modal-close-icon {
	background: #1a2035;
	color: #94a3b8;
}

.modal-close-icon:hover {
	background: #ef4444 !important;
	color: #ffffff !important;
}

.modal-selection-body {
	padding: 24px;
	overflow-y: auto;
	flex: 1;
}

.modal-selection-footer {
	padding: 16px 24px;
	border-top: 1px solid #e2e8f0;
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

[data-theme="dark"] .modal-selection-footer {
	background: #1a2035;
	border-color: rgba(255, 255, 255, 0.08);
}

/* ══════════════════════════════════════════════════════════════════════════
   Strict 3 Universal Button Tiers Standard
   Parity across Modal Action Buttons (Height 38px, Radius 8px)
   ========================================================================== */
.btn-modal-cancel,
.btn-secondary-action {
	height: 38px !important;
	min-height: 38px !important;
	max-height: 38px !important;
	padding: 0 20px !important;
	border: 1px solid #cbd5e1 !important;
	background: #ffffff !important;
	border-radius: 8px !important;
	font-family: 'Manrope', sans-serif !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #334155 !important;
	cursor: pointer !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	line-height: 1 !important;
	box-sizing: border-box !important;
	transition: all 0.15s ease !important;
}

.btn-modal-cancel:hover,
.btn-secondary-action:hover {
	background: #f8fafc !important;
	color: #0f172a !important;
	border-color: #94a3b8 !important;
}

[data-theme="dark"] .btn-modal-cancel,
[data-theme="dark"] .btn-secondary-action {
	background: #121826 !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
	color: #b0bdd0 !important;
}

.btn-modal-apply,
.btn-primary-action {
	height: 38px !important;
	min-height: 38px !important;
	max-height: 38px !important;
	padding: 0 22px !important;
	border: none !important;
	background: #2563eb !important;
	border-radius: 8px !important;
	font-family: 'Manrope', sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #ffffff !important;
	cursor: pointer !important;
	box-shadow: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	line-height: 1 !important;
	box-sizing: border-box !important;
	transition: background 0.2s ease, transform 0.15s ease !important;
}

.btn-modal-apply:hover,
.btn-primary-action:hover {
	background: #1d4ed8 !important;
	transform: translateY(-1px) !important;
}