﻿/* ============================================
   PennyWins - Main Stylesheet
   Font Awesome 6.5.1 Icons
   ============================================ */

/* CSS Variables / Theme */
:root {
	--pw-primary: #0d6efd;
	--pw-primary-dark: #0a58ca;
	--pw-secondary: #6c757d;
	--pw-success: #198754;
	--pw-success-dark: #146c43;
	--pw-warning: #ffc107;
	--pw-danger: #dc3545;
	--pw-info: #0dcaf0;
	--pw-light: #f8f9fa;
	--pw-dark: #212529;
	--pw-bid-green: #28a745;
	--pw-bid-green-dark: #218838;
	--pw-timer-warning: #fd7e14;
	--pw-timer-critical: #dc3545;
	--pw-gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
	--pw-gradient-success: linear-gradient(135deg, #198754 0%, #146c43 100%);
	--pw-gradient-warning: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
	--pw-gradient-dark: linear-gradient(135deg, #343a40 0%, #212529 100%);
	--pw-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
	--pw-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	--pw-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
	--pw-border-radius: 0.5rem;
	--pw-border-radius-lg: 0.75rem;
	--pw-transition: all 0.2s ease-in-out;
	--pw-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Styles */
html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--pw-font-family);
	background-color: #f5f6fa;
	color: var(--pw-dark);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1;
}

a {
	color: var(--pw-primary);
	text-decoration: none;
	transition: var(--pw-transition);
}

	a:hover {
		color: var(--pw-primary-dark);
	}

/* ============================================
   Navigation
   ============================================ */

.navbar {
	box-shadow: var(--pw-shadow-sm);
}

.navbar-brand {
	font-size: 1.5rem;
	font-weight: 700;
}

	.navbar-brand i {
		color: var(--pw-warning);
	}

/* Reserve space for brand images so navbar height is stable before images load */
.navbar-brand img {
    height: 60px;
    width: auto;
    display: inline-block;
}

@media (min-width: 992px) {
    .navbar-brand img { height: 100px; }
}

.navbar-dark .navbar-nav .nav-link {
	color: rgba(255, 255, 255, 0.85);
	padding: 0.5rem 1rem;
	border-radius: var(--pw-border-radius);
	transition: var(--pw-transition);
}

	.navbar-dark .navbar-nav .nav-link:hover,
	.navbar-dark .navbar-nav .nav-link:focus {
		color: #fff;
		background-color: rgba(255, 255, 255, 0.1);
	}

.navbar .dropdown-menu {
	border: none;
	box-shadow: var(--pw-shadow);
	border-radius: var(--pw-border-radius);
}

.navbar .dropdown-item {
	padding: 0.5rem 1rem;
	transition: var(--pw-transition);
}

	.navbar .dropdown-item:hover {
		background-color: var(--pw-light);
	}

	.navbar .dropdown-item i {
		width: 1.25rem;
		text-align: center;
	}

/* Bid Balance Button */
#btnBidBalance {
	font-weight: 600;
	border-radius: 50px;
	padding: 0.5rem 1rem;
}

	#btnBidBalance:hover {
		transform: translateY(-1px);
	}

/* Connection Status */
#connectionStatus .badge {
	font-size: 0.7rem;
	padding: 0.35rem 0.5rem;
}

/* ============================================
   Loading Overlay
   ============================================ */

.loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

/* ============================================
   Cards
   ============================================ */

.card {
	border: none;
	border-radius: var(--pw-border-radius-lg);
	box-shadow: var(--pw-shadow-sm);
	transition: var(--pw-transition);
}

	.card:hover {
		box-shadow: var(--pw-shadow);
	}

.card-header {
	background-color: transparent;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	font-weight: 600;
}

/* ============================================
   Auction Cards
   ============================================ */

.auction-card {
	position: relative;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

	.auction-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--pw-shadow);
	}

	.auction-card .card-img-container {
		position: relative;
		height: 200px;
		overflow: hidden;
		background-color: #f8f9fa;
	}

	.auction-card .card-img-top {
		width: 100%;
		height: 100%;
		object-fit: contain;
		padding: 1rem;
		transition: transform 0.3s ease;
	}

	.auction-card:hover .card-img-top {
		transform: scale(1.05);
	}

	.auction-card .status-badge {
		position: absolute;
		top: 0.75rem;
		left: 0.75rem;
		z-index: 1;
	}

	.auction-card .category-badge {
		position: absolute;
		top: 0.75rem;
		right: 0.75rem;
		z-index: 1;
		font-size: 0.7rem;
		font-weight: 500;
	}

	.auction-card .card-body {
		flex: 1;
		display: flex;
		flex-direction: column;
	}

	.auction-card .card-title {
		font-size: 1rem;
		font-weight: 600;
		margin-bottom: 0.5rem;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		min-height: 2.5rem;
	}

		.auction-card .card-title a {
			color: var(--pw-dark);
		}

			.auction-card .card-title a:hover {
				color: var(--pw-primary);
			}

	/* Timer Styles */
	.auction-card .auction-timer {
		font-size: 1.1rem;
		font-weight: 700;
		font-family: 'Courier New', monospace;
		color: var(--pw-success);
		margin-bottom: 0.5rem;
	}

		.auction-card .auction-timer i {
			font-size: 0.9rem;
		}

		.auction-card .auction-timer.timer-warning {
			color: var(--pw-timer-warning);
		}

		.auction-card .auction-timer.timer-critical {
			color: var(--pw-timer-critical);
			animation: pulse 0.5s ease-in-out infinite;
		}

		.auction-card .auction-timer.timer-ended {
			color: var(--pw-secondary);
		}

	/* Price Display */
	.auction-card .price-container {
		margin-bottom: 0.75rem;
	}

	.auction-card .current-price {
		font-size: 1.5rem;
		font-weight: 700;
		color: var(--pw-bid-green);
	}

	.auction-card .msrp-price {
		font-size: 0.85rem;
		color: var(--pw-secondary);
		text-decoration: line-through;
	}

	.auction-card .savings-badge {
		font-size: 0.75rem;
		font-weight: 600;
		background-color: var(--pw-danger);
		color: white;
		padding: 0.15rem 0.4rem;
		border-radius: 4px;
		margin-left: 0.5rem;
	}

	/* Bid Info */
	.auction-card .bid-info {
		font-size: 0.85rem;
		color: var(--pw-secondary);
		margin-bottom: 0.75rem;
	}

		.auction-card .bid-info i {
			width: 1rem;
			text-align: center;
		}

	.auction-card .last-bidder {
		font-size: 0.8rem;
		color: var(--pw-secondary);
		margin-bottom: 0.75rem;
	}

		.auction-card .last-bidder strong {
			color: var(--pw-dark);
		}

	/* Card Actions */
	.auction-card .card-actions {
		margin-top: auto;
	}

	.auction-card .btn-bid {
		background: var(--pw-gradient-success);
		border: none;
		font-weight: 600;
		padding: 0.6rem 1rem;
		width: 100%;
		transition: var(--pw-transition);
	}

		.auction-card .btn-bid:hover {
			transform: translateY(-2px);
			box-shadow: 0 4px 12px rgba(25, 135, 84, 0.4);
		}

		.auction-card .btn-bid:disabled {
			background: var(--pw-secondary);
			transform: none;
			box-shadow: none;
		}

/* ============================================
   Auction Detail Page
   ============================================ */

.auction-detail-image {
	position: relative;
	background-color: #fff;
	border-radius: var(--pw-border-radius-lg);
	overflow: hidden;
	box-shadow: var(--pw-shadow-sm);
}

	.auction-detail-image .main-image {
		width: 100%;
		height: 400px;
		object-fit: contain;
		padding: 1rem;
	}

	.auction-detail-image .thumbnail-list {
		display: flex;
		gap: 0.5rem;
		padding: 1rem;
		overflow-x: auto;
	}

	.auction-detail-image .thumbnail {
		width: 60px;
		height: 60px;
		object-fit: cover;
		border-radius: 4px;
		cursor: pointer;
		border: 2px solid transparent;
		transition: var(--pw-transition);
	}

		.auction-detail-image .thumbnail:hover,
		.auction-detail-image .thumbnail.active {
			border-color: var(--pw-primary);
		}

/* Large Timer */
.timer-large {
	font-size: 2.5rem;
	font-weight: 700;
	font-family: 'Courier New', monospace;
	color: var(--pw-success);
	text-align: center;
	padding: 1rem;
	background-color: #f8f9fa;
	border-radius: var(--pw-border-radius);
	margin-bottom: 1rem;
}

	.timer-large.timer-warning {
		color: var(--pw-timer-warning);
		background-color: #fff3cd;
	}

	.timer-large.timer-critical {
		color: var(--pw-timer-critical);
		background-color: #f8d7da;
		animation: pulse 0.5s ease-in-out infinite;
	}

	.timer-large i {
		font-size: 1.5rem;
		vertical-align: middle;
	}

/* Large Price */
.current-price-large {
	font-size: 3rem;
	font-weight: 700;
	color: var(--pw-bid-green);
	text-align: center;
	margin-bottom: 0.5rem;
}

/* Large Bid Button */
.btn-bid-large {
	background: var(--pw-gradient-success);
	border: none;
	font-size: 1.25rem;
	font-weight: 700;
	padding: 1rem 2rem;
	width: 100%;
	border-radius: var(--pw-border-radius-lg);
	transition: var(--pw-transition);
}

	.btn-bid-large:hover:not(:disabled) {
		transform: translateY(-2px);
		box-shadow: 0 6px 20px rgba(25, 135, 84, 0.4);
	}

	.btn-bid-large:disabled {
		background: var(--pw-secondary);
	}

/* Buy It Now Button */
.btn-buy-now {
	background: var(--pw-gradient-warning);
	border: none;
	color: var(--pw-dark);
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	width: 100%;
	transition: var(--pw-transition);
}

	.btn-buy-now:hover:not(:disabled) {
		transform: translateY(-2px);
		box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
		color: var(--pw-dark);
	}

/* Bid History Table */
.bid-history-table {
	max-height: 300px;
	overflow-y: auto;
}

	.bid-history-table table {
		margin-bottom: 0;
	}

	.bid-history-table .current-user {
		background-color: rgba(25, 135, 84, 0.1);
	}

	.bid-history-table .bid-type-proxy {
		color: var(--pw-info);
	}

	.bid-history-table .bid-type-direct i {
		color: var(--pw-success);
	}

/* Bid Flash Animation */
.bid-flash {
	animation: bidFlash 0.5s ease-out;
}

@keyframes bidFlash {
	0% {
		background-color: rgba(25, 135, 84, 0.3);
	}

	100% {
		background-color: transparent;
	}
}

/* ============================================
   Proxy Bid Panel
   ============================================ */

.proxy-bid-panel {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: var(--pw-border-radius-lg);
	padding: 1.5rem;
}

	.proxy-bid-panel.active {
		background: linear-gradient(135deg, #d1e7dd 0%, #badbcc 100%);
		border: 2px solid var(--pw-success);
	}

	.proxy-bid-panel h5 {
		font-weight: 600;
		margin-bottom: 1rem;
	}

	.proxy-bid-panel .form-label {
		font-weight: 500;
		font-size: 0.9rem;
	}

/* ============================================
   Buy Bids Page
   ============================================ */

.bid-bundle-card {
	position: relative;
	cursor: pointer;
	transition: var(--pw-transition);
	border: 2px solid transparent;
}

	.bid-bundle-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--pw-shadow);
	}

	.bid-bundle-card.selected {
		border-color: var(--pw-primary);
		box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.2);
	}

	.bid-bundle-card .featured-badge {
		position: absolute;
		top: -10px;
		right: 10px;
		background: var(--pw-gradient-warning);
		color: var(--pw-dark);
		font-size: 0.7rem;
		font-weight: 700;
		padding: 0.25rem 0.75rem;
		border-radius: 50px;
		text-transform: uppercase;
	}

	.bid-bundle-card .bundle-price {
		font-size: 2rem;
		font-weight: 700;
		color: var(--pw-primary);
	}

	.bid-bundle-card .bundle-bids {
		font-size: 1.5rem;
		font-weight: 600;
		color: var(--pw-dark);
	}

	.bid-bundle-card .bonus-bids {
		color: var(--pw-success);
		font-weight: 600;
	}

	.bid-bundle-card .per-bid-cost {
		font-size: 0.85rem;
		color: var(--pw-secondary);
	}

/* ============================================
   Dashboard
   ============================================ */

.stat-card {
	border-radius: var(--pw-border-radius-lg);
	padding: 1.5rem;
	color: white;
	position: relative;
	overflow: hidden;
}

	.stat-card::before {
		content: '';
		position: absolute;
		top: -50%;
		right: -50%;
		width: 100%;
		height: 100%;
		background: rgba(255, 255, 255, 0.1);
		border-radius: 50%;
	}

	.stat-card.bg-primary-gradient {
		background: var(--pw-gradient-primary);
	}

	.stat-card.bg-success-gradient {
		background: var(--pw-gradient-success);
	}

	.stat-card.bg-warning-gradient {
		background: var(--pw-gradient-warning);
		color: var(--pw-dark);
	}

	.stat-card.bg-dark-gradient {
		background: var(--pw-gradient-dark);
	}

	.stat-card .stat-icon {
		font-size: 2.5rem;
		opacity: 0.8;
	}

	.stat-card .stat-value {
		font-size: 2rem;
		font-weight: 700;
	}

	.stat-card .stat-label {
		font-size: 0.9rem;
		opacity: 0.9;
	}

/* ============================================
   Account Pages
   ============================================ */

.account-sidebar {
	position: sticky;
	top: 80px;
}

	.account-sidebar .list-group-item {
		border: none;
		padding: 0.75rem 1rem;
		color: var(--pw-dark);
		border-radius: var(--pw-border-radius);
		margin-bottom: 0.25rem;
		transition: var(--pw-transition);
	}

		.account-sidebar .list-group-item:hover {
			background-color: var(--pw-light);
		}

		.account-sidebar .list-group-item.active {
			background-color: var(--pw-primary);
			color: white;
		}

		.account-sidebar .list-group-item i {
			width: 1.5rem;
			text-align: center;
		}

/* ============================================
   Support Tickets
   ============================================ */

.ticket-priority-low {
	border-left: 4px solid var(--pw-info);
}

.ticket-priority-normal {
	border-left: 4px solid var(--pw-primary);
}

.ticket-priority-high {
	border-left: 4px solid var(--pw-warning);
}

.ticket-priority-urgent {
	border-left: 4px solid var(--pw-danger);
}

.ticket-message {
	padding: 1rem;
	border-radius: var(--pw-border-radius);
	margin-bottom: 1rem;
}

	.ticket-message.customer {
		background-color: #f8f9fa;
		margin-right: 2rem;
	}

	.ticket-message.staff {
		background-color: #e7f3ff;
		margin-left: 2rem;
	}

	.ticket-message .message-header {
		display: flex;
		justify-content: space-between;
		margin-bottom: 0.5rem;
		font-size: 0.85rem;
	}

	.ticket-message .message-author {
		font-weight: 600;
	}

	.ticket-message .message-time {
		color: var(--pw-secondary);
	}

/* ============================================
   Admin Dashboard
   ============================================ */

.admin-sidebar {
	background: var(--pw-gradient-dark);
	min-height: 100vh;
	padding: 1.5rem 0;
	position: sticky;
	top: 0;
}

	.admin-sidebar .nav-link {
		color: rgba(255, 255, 255, 0.8);
		padding: 0.75rem 1.5rem;
		transition: var(--pw-transition);
		border-left: 3px solid transparent;
	}

		.admin-sidebar .nav-link:hover {
			color: white;
			background-color: rgba(255, 255, 255, 0.1);
		}

		.admin-sidebar .nav-link.active {
			color: white;
			background-color: rgba(255, 255, 255, 0.1);
			border-left-color: var(--pw-primary);
		}

		.admin-sidebar .nav-link i {
			width: 1.5rem;
			text-align: center;
		}

	.admin-sidebar .nav-section {
		font-size: 0.7rem;
		font-weight: 600;
		text-transform: uppercase;
		color: rgba(255, 255, 255, 0.5);
		padding: 1rem 1.5rem 0.5rem;
		letter-spacing: 0.05em;
	}

/* Admin Stats */
.admin-stat-card {
	border-radius: var(--pw-border-radius-lg);
	padding: 1.25rem;
	background: white;
	box-shadow: var(--pw-shadow-sm);
}

	.admin-stat-card .stat-icon {
		width: 48px;
		height: 48px;
		border-radius: var(--pw-border-radius);
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 1.25rem;
	}

	.admin-stat-card .stat-value {
		font-size: 1.75rem;
		font-weight: 700;
		color: var(--pw-dark);
	}

	.admin-stat-card .stat-label {
		font-size: 0.85rem;
		color: var(--pw-secondary);
	}

	.admin-stat-card .stat-change {
		font-size: 0.8rem;
		font-weight: 500;
	}

		.admin-stat-card .stat-change.positive {
			color: var(--pw-success);
		}

		.admin-stat-card .stat-change.negative {
			color: var(--pw-danger);
		}

/* ============================================
   Tables
   ============================================ */

.table {
	margin-bottom: 0;
}

	.table thead th {
		background-color: #f8f9fa;
		border-bottom: 2px solid #dee2e6;
		font-weight: 600;
		font-size: 0.85rem;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		color: var(--pw-secondary);
	}

	.table tbody tr {
		transition: var(--pw-transition);
	}

		.table tbody tr:hover {
			background-color: #f8f9fa;
		}

.table-actions {
	white-space: nowrap;
}

	.table-actions .btn {
		padding: 0.25rem 0.5rem;
		font-size: 0.8rem;
	}

/* Status Badges */
.badge-live {
	background-color: var(--pw-success);
	animation: pulse 2s infinite;
}

.badge-scheduled {
	background-color: var(--pw-info);
}

.badge-ended {
	background-color: var(--pw-secondary);
}

.badge-cancelled {
	background-color: var(--pw-danger);
}

.badge-pending {
	background-color: var(--pw-warning);
	color: var(--pw-dark);
}

.badge-paid {
	background-color: var(--pw-success);
}

.badge-shipped {
	background-color: var(--pw-info);
}

.badge-delivered {
	background-color: var(--pw-success);
}

/* ============================================
   Forms
   ============================================ */

.form-control,
.form-select {
	border-radius: var(--pw-border-radius);
	border-color: #dee2e6;
	padding: 0.6rem 1rem;
	transition: var(--pw-transition);
}

	.form-control:focus,
	.form-select:focus {
		border-color: var(--pw-primary);
		box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
	}

	.form-control.is-invalid,
	.form-select.is-invalid {
		border-color: var(--pw-danger);
	}

		.form-control.is-invalid:focus,
		.form-select.is-invalid:focus {
			box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
		}

.input-group-text {
	background-color: #f8f9fa;
	border-color: #dee2e6;
}

.form-label {
	font-weight: 500;
	margin-bottom: 0.4rem;
}

.form-text {
	font-size: 0.8rem;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
	border-radius: var(--pw-border-radius);
	font-weight: 500;
	padding: 0.5rem 1rem;
	transition: var(--pw-transition);
}

	.btn:hover:not(:disabled) {
		transform: translateY(-1px);
	}

	.btn:active:not(:disabled) {
		transform: translateY(0);
	}

.btn-primary {
	background: var(--pw-gradient-primary);
	border: none;
}

	.btn-primary:hover {
		background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
	}

.btn-success {
	background: var(--pw-gradient-success);
	border: none;
}

	.btn-success:hover {
		background: linear-gradient(135deg, #146c43 0%, #0f5132 100%);
	}

.btn-outline-primary {
	border-width: 2px;
}

	.btn-outline-primary:hover {
		background: var(--pw-gradient-primary);
		border-color: transparent;
	}

.btn-icon {
	width: 36px;
	height: 36px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ============================================
   Badges
   ============================================ */

.badge {
	font-weight: 500;
	padding: 0.4em 0.65em;
	border-radius: 50px;
}

.badge-pulse {
	animation: pulse 2s infinite;
}

/* ============================================
   Pagination
   ============================================ */

.pagination {
	gap: 0.25rem;
}

	.pagination .page-link {
		border-radius: var(--pw-border-radius);
		border: none;
		color: var(--pw-dark);
		padding: 0.5rem 0.85rem;
		margin: 0;
		transition: var(--pw-transition);
	}

		.pagination .page-link:hover {
			background-color: var(--pw-light);
			color: var(--pw-primary);
		}

	.pagination .page-item.active .page-link {
		background: var(--pw-gradient-primary);
		color: white;
	}

	.pagination .page-item.disabled .page-link {
		background-color: transparent;
		color: var(--pw-secondary);
	}

/* ============================================
   Alerts
   ============================================ */

.alert {
	border: none;
	border-radius: var(--pw-border-radius);
}

	.alert i {
		font-size: 1.1rem;
	}

.alert-success {
	background-color: #d1e7dd;
	color: #0f5132;
}

.alert-danger {
	background-color: #f8d7da;
	color: #842029;
}

.alert-warning {
	background-color: #fff3cd;
	color: #664d03;
}

.alert-info {
	background-color: #cff4fc;
	color: #055160;
}

/* ============================================
   Empty States
   ============================================ */

.empty-state {
	text-align: center;
	padding: 3rem 1rem;
	color: var(--pw-secondary);
}

	.empty-state i {
		font-size: 4rem;
		opacity: 0.5;
		margin-bottom: 1rem;
	}

	.empty-state h4 {
		color: var(--pw-dark);
		margin-bottom: 0.5rem;
	}

	.empty-state p {
		max-width: 400px;
		margin: 0 auto 1rem;
	}

/* ============================================
   Hero Section
   ============================================ */

.hero-section {
	background: var(--pw-gradient-primary);
	color: white;
	padding: 4rem 0;
	position: relative;
	overflow: hidden;
}

	.hero-section::before {
		content: '';
		position: absolute;
		top: -50%;
		right: -20%;
		width: 80%;
		height: 200%;
		background: rgba(255, 255, 255, 0.05);
		transform: rotate(-15deg);
	}

	.hero-section h1 {
		font-size: 3rem;
		font-weight: 700;
		margin-bottom: 1rem;
	}

	.hero-section .lead {
		font-size: 1.25rem;
		opacity: 0.9;
		margin-bottom: 2rem;
	}

.hero-stats {
	display: flex;
	gap: 2rem;
	margin-top: 2rem;
}

	.hero-stats .stat {
		text-align: center;
	}

	.hero-stats .stat-value {
		font-size: 2rem;
		font-weight: 700;
	}

	.hero-stats .stat-label {
		font-size: 0.9rem;
		opacity: 0.8;
	}

/* ============================================
   Category Cards
   ============================================ */

.category-card {
	display: flex;
	align-items: center;
	padding: 1rem;
	background: white;
	border-radius: var(--pw-border-radius-lg);
	box-shadow: var(--pw-shadow-sm);
	transition: var(--pw-transition);
	text-decoration: none;
	color: var(--pw-dark);
}

	.category-card:hover {
		transform: translateY(-4px);
		box-shadow: var(--pw-shadow);
		color: var(--pw-dark);
	}

	.category-card .category-icon {
		width: 48px;
		height: 48px;
		border-radius: var(--pw-border-radius);
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 1.25rem;
		color: white;
		margin-right: 1rem;
		flex-shrink: 0;
	}

	.category-card .category-name {
		font-weight: 600;
		margin-bottom: 0.15rem;
	}

	.category-card .category-count {
		font-size: 0.8rem;
		color: var(--pw-secondary);
	}

/* ============================================
   How It Works
   ============================================ */

.how-it-works-step {
	text-align: center;
	padding: 1.5rem;
}

	.how-it-works-step .step-number {
		width: 60px;
		height: 60px;
		border-radius: 50%;
		background: var(--pw-gradient-primary);
		color: white;
		font-size: 1.5rem;
		font-weight: 700;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 0 auto 1rem;
	}

	.how-it-works-step .step-icon {
		font-size: 2rem;
		color: var(--pw-primary);
		margin-bottom: 1rem;
	}

	.how-it-works-step h4 {
		font-weight: 600;
		margin-bottom: 0.5rem;
	}

	.how-it-works-step p {
		color: var(--pw-secondary);
		font-size: 0.95rem;
	}

/* ============================================
   Winner Cards
   ============================================ */

.winner-card {
	background: white;
	border-radius: var(--pw-border-radius-lg);
	padding: 1rem;
	box-shadow: var(--pw-shadow-sm);
	display: flex;
	align-items: center;
	gap: 1rem;
}

	.winner-card .winner-image {
		width: 80px;
		height: 80px;
		object-fit: contain;
		border-radius: var(--pw-border-radius);
		background: #f8f9fa;
		flex-shrink: 0;
	}

	.winner-card .winner-info {
		flex: 1;
		min-width: 0;
	}

	.winner-card .winner-title {
		font-weight: 600;
		font-size: 0.95rem;
		margin-bottom: 0.25rem;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.winner-card .winner-username {
		font-size: 0.85rem;
		color: var(--pw-secondary);
		margin-bottom: 0.25rem;
	}

	.winner-card .winner-price {
		font-weight: 700;
		color: var(--pw-bid-green);
	}

	.winner-card .winner-savings {
		font-size: 0.8rem;
		color: var(--pw-danger);
		font-weight: 600;
	}

/* ============================================
   Footer
   ============================================ */

footer {
	background-color: var(--pw-dark);
}

	footer h5,
	footer h6 {
		color: white;
	}

	footer .social-links a {
		display: inline-flex;
		width: 36px;
		height: 36px;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.1);
		transition: var(--pw-transition);
	}

		footer .social-links a:hover {
			background: var(--pw-primary);
			color: white;
		}

	footer .payment-icons i {
		opacity: 0.7;
	}

/* ============================================
   Animations
   ============================================ */

@keyframes pulse {
	0%, 100% {
		opacity: 1;
	}

	50% {
		opacity: 0.6;
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes bounce {
	0%, 100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-5px);
	}
}

.animate-slide-in {
	animation: slideIn 0.3s ease-out;
}

.animate-fade-in {
	animation: fadeIn 0.3s ease-out;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 991px) {
	.navbar .dropdown-menu {
		border: none;
		box-shadow: none;
		padding-left: 1rem;
	}

	.hero-section h1 {
		font-size: 2rem;
	}

	hero-stats {
		flex-wrap: wrap;
		gap: 1rem;
	}

		hero-stats .stat {
			flex: 1 0 40%;
		}

	.admin-sidebar {
		min-height: auto;
		position: relative;
	}
}

@media (max-width: 767px) {
	.auction-card .card-img-container {
		height: 160px;
	}

	.timer-large {
		font-size: 1.75rem;
	}

	.current-price-large {
		font-size: 2rem;
	}

	.stat-card .stat-value {
		font-size: 1.5rem;
	}

	.hero-section {
		padding: 2rem 0;
	}

		.hero-section h1 {
			font-size: 1.75rem;
		}

	.account-sidebar {
		position: relative;
		top: 0;
		margin-bottom: 1.5rem;
	}
}

@media (max-width: 575px) {
	.auction-card .card-img-container {
		height: 140px;
	}

	.auction-card .current-price {
		font-size: 1.25rem;
	}

	.bid-bundle-card .bundle-price {
		font-size: 1.5rem;
	}

	.bid-bundle-card .bundle-bids {
		font-size: 1.25rem;
	}

	.winner-card {
		flex-direction: column;
		text-align: center;
	}

		.winner-card .winner-image {
			margin: 0 auto;
		}
}
