/**
 * Hardware Store CSS
 * Styling for the hardware ecommerce store interface
 */


/* ========================================
   Order Detail Page Styles
   ======================================== */

.order-status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-delivered {
    background: #d1fae5;
    color: #065f46;
}

.status-shipped {
    background: #dbeafe;
    color: #1e40af;
}

.status-processing {
    background: #fef3c7;
    color: #92400e;
}

.order-detail-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
}

.order-detail-section h3 {
    margin-bottom: 20px;
    color: #111827;
    font-size: 1.25rem;
}

.order-items-table {
    width: 100%;
    border-collapse: collapse;
}

.order-items-table th {
    text-align: left;
    padding: 12px;
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}

.order-items-table td {
    padding: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.125rem;
    border-bottom: none;
    padding-top: 15px;
}

.address-box {
    background: #f9fafb;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.address-box h4 {
    margin-bottom: 10px;
    color: #111827;
}

.tracking-item {
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
}

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

.tracking-date {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.tracking-status {
    font-weight: 600;
    color: #111827;
}

.tracking-description {
    font-size: 0.875rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .order-items-table {
        font-size: 0.875rem;
    }
}


/* Button Enhancements */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-outline-secondary {
  border-radius: 20px;
  border-width: 2px;
  font-weight: 500;
}

.btn-outline-danger {
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

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

/* Modal Styles */
.order-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 15px;
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px 15px 0 0;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.btn-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.btn-close:hover {
  background-color: rgba(255,255,255,0.2);
}

.modal-body {
  padding: 1.5rem;
}

.order-summary h5 {
  color: #333;
  margin-bottom: 1rem;
}

.order-items {
  margin-bottom: 1rem;
}

.order-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8f9fa;
  font-family: monospace;
}

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

.order-total {
  text-align: right;
  color: #28a745;
}

/* Notification Styles */
.notification {
  animation: notificationSlideIn 0.3s ease-out;
}

@keyframes notificationSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Enhanced Button Styles */
.btn-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border: none;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.btn-secondary {
  background: #6c757d;
  border: none;
  border-radius: 25px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 117, 125, 0.4);
}

/* Alert Enhancements */
.alert {
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.alert-warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  color: #856404;
}

.alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #a8e6cf 100%);
  color: #155724;
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1 0%, #a8d8ea 100%);
  color: #0c5460;
}

/* Loading State Enhancements */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
}

.loading-overlay .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(102, 126, 234, 0.3);
  border-top-color: #667eea;
}

/* Responsive Modal */
@media (max-width: 576px) {
  .modal-overlay {
    padding: 0.5rem;
  }
  
  .modal-content {
    max-height: 90vh;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1rem;
  }
  
  .modal-footer .btn {
    width: 100%;
  }
}

/* Enhanced Product Display */
.product-meta.mt-2 {
  border-top: 1px solid #f8f9fa;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

.text-danger {
  color: #dc3545 !important;
}

.text-warning {
  color: #ffc107 !important;
}

.text-muted {
  color: #6c757d !important;
}

/* Demo Products Styling */
.featured-pos-hardware {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
}

/* Price Display Enhancements */
.price.text-muted {
  font-style: italic;
  font-size: 1.1rem;
}

.original-price {
  text-decoration: line-through;
  color: #6c757d;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

/* Stock Status Colors */
.stock .text-danger {
  font-weight: 600;
}

.stock .text-warning {
  font-weight: 600;
}

/* Category Badge Enhancements */
.category {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Item Number Display */
.product-meta small {
  font-family: 'Courier New', monospace;
  background: #f8f9fa;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

/* Icon Variations for Different Categories */
.fa-desktop { color: #007bff; }
.fa-credit-card { color: #28a745; }
.fa-print { color: #6c757d; }
.fa-barcode { color: #17a2b8; }
.fa-drawer { color: #ffc107; }
.fa-tablet-alt { color: #6f42c1; }
.fa-box-open { color: #fd7e14; }

/* Enhanced Hover Effects */
.product-card:hover .fa-desktop,
.product-card:hover .fa-credit-card,
.product-card:hover .fa-print,
.product-card:hover .fa-barcode,
.product-card:hover .fa-drawer,
.product-card:hover .fa-tablet-alt,
.product-card:hover .fa-box-open {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}
.checkout-page {
    .fa-credit-card { color: #ffffff; }
   
}
#paymentModal .fa-credit-card { color: #ffffff; } 

/* Loading State for Product Images */
.product-image img[src=""] {
  display: none;
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .featured-pos-hardware {
    padding: 1rem;
  }
  
  .product-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .stock {
    align-self: flex-end;
  }

}

@media (max-width: 576px) {
  .product-info {
    padding: 1rem;
  }
  
  .product-name {
    font-size: 1rem;
  }
  
  .price {
    font-size: 1.25rem;
  }
  
  .product-description {
    font-size: 0.85rem;
  }
}

/* Hardware Store Page Styles */
.ecommerce-store {
	background: #f8f9fa;
	min-height: 100vh;
}

.store-stats {
	display: flex;
	justify-content: center;
	gap: 3rem;
	margin-top: 2rem;
}

.stat-item {
	text-align: center;
	background: white;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-number {
	font-size: 2rem;
	font-weight: bold;
	display: block;
	color: #1e83ec;
}

.stat-label {
	font-size: 0.9rem;
	color: #666;
}

.products-section {
	padding: 60px 0;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
}

.product-card {
	background: white;
	border-radius: 14px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
	overflow: hidden;
	transition: all 0.25s ease;
	position: relative;
	opacity: 1;
	transform: scale(1);
}

.product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(0,0,0,0.15);
}

.product-image {
	width: 100%;
	height: 250px;
	background: #FFF;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	color: #999;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.product-image:hover {
	transform: scale(1.05);
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 15px;
}

.product-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #ff6b6b;
	color: white;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: bold;
}

.product-info {
	padding: 20px;
}

.product-name {
	font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c343b;
    height: 40px;
    transition: color 0.3s ease;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-name:hover {
	color: #1e83ec;
}

.product-description {
	color: #666;
	font-size: 0.95rem;
	line-height: 1.5;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.product-price {
	font-size: 1.5rem;
	font-weight: bold;
	color: #1e83ec;
}

.add-to-cart-btn {
	width: 100%;
	background: #1e83ec;
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 4px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.add-to-cart-btn:hover {
	background: #1976d2;
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(30, 131, 236, 0.3);
}

.add-to-cart-btn:active {
	transform: translateY(0);
}

.add-to-cart-btn.loading {
	pointer-events: none;
}

.add-to-cart-btn.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid transparent;
	border-top: 2px solid white;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Cart styles are now in _partials/cart_sidebar.php */

.loading-spinner {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 200px;
	font-size: 1.2rem;
	color: #666;
}

.error-message {
	text-align: center;
	padding: 40px;
	color: #e74c3c;
	font-size: 1.1rem;
}

.empty-cart {
	text-align: center;
	padding: 40px;
	color: #666;
}

.empty-cart-icon {
	font-size: 3rem;
	margin-bottom: 20px;
	opacity: 0.5;
	color: #1e83ec;
}

/* Slider Styles - Matching Banner Design */
.product-slider-section {
	background: white;
}

.slider-container {
	position: relative;
	max-width: 100%;
	margin: 0 auto;
	overflow: hidden;
	background: white;
}

.slider-wrapper {
	display: flex;
	transition: transform 0.5s ease-in-out;
}

.slider-slide {
	min-width: 100%;
	position: relative;
	background: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #333;
	padding: 0;
	height: 500px;
}

/* Banner Title Section */
.banner-title {
	flex-direction: column;
	justify-content: left;
}

.section-title {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	line-height: 1.2;
	color: #2c343b;
}

.bnr-desc {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: #666;
	line-height: 1.6;
	letter-spacing: normal;
}

.bnr-desc strong {
	color: #2c343b;
	font-weight: 600;
}

.btn {
	display: inline-block;
	background: #1e83ec;
	color: white;
	padding: 15px 40px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(30, 131, 236, 0.3);
	border: none;
	cursor: pointer;
	font-size: 1.1rem;
}

.btn:hover {
	background: #1976d2;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(30, 131, 236, 0.4);
	text-decoration: none;
	color: white;
}

.btn-default {
	background: #1e83ec;
}

.mb-1 {
	margin-bottom: 0.5rem;
}

/* Banner Image Section */
.banner-img {
	flex: 1;
	display: flex;
	align-items: end;
	justify-content: right;
	position: relative;
}

.elem-blob {
	position: relative;
	width: 400px;
	height: 400px;
}

.img-blob {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 50%;
}

/* Fallback for icons when no image */
.elem-blob i {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 8rem;
	color: #1e83ec;
	opacity: 0.8;
}

.slider-nav {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 2;
}

.slider-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(30, 131, 236, 0.3);
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.slider-dot.active {
	background: #1e83ec;
	width: 30px;
	border-radius: 6px;
}

.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(30, 131, 236, 0.9);
	color: white;
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 1.5rem;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 3px 10px rgba(30, 131, 236, 0.3);
}

.slider-arrow:hover {
	background: #1e83ec;
	transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
	left: 20px;
}

.slider-arrow.next {
	right: 20px;
}

/* Featured Products Slider */
.featured-products-slider {
	margin: 40px 0;
}

.featured-slider-container {
	position: relative;
	overflow: hidden;
	padding: 0 50px;
}

.featured-slider-wrapper {
	display: flex;
	transition: transform 0.5s ease;
	gap: 30px;
}

.featured-slide {
	min-width: calc(33.333% - 20px);
	flex-shrink: 0;
}

.featured-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: #1e83ec;
	color: white;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 1.2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 3px 10px rgba(30, 131, 236, 0.3);
}

.featured-arrow:hover {
	background: #1976d2;
	transform: translateY(-50%) scale(1.1);
}

.featured-arrow.prev {
	left: 0;
}

.featured-arrow.next {
	right: 0;
}

/* Category Tiles Section */
.category-section {
	padding: 28px 0;
	background: white;
}

.category-section h2 {
	text-align: center;
	font-size: 1.65rem;
	color: #2c343b;
	margin-bottom: 20px;
	font-weight: 700;
}

.category-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-tile {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 14px;
	text-align: center;
	cursor: pointer;
	transition: all 0.25s ease;
	border: 1px solid rgba(0, 0, 0, 0.04);
	text-decoration: none;
	color: inherit;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 135px;
	padding: 8px 4px;
    position: relative;
    text-align: center;
    flex-grow: 1 !important;
    flex-basis: 100px;
    box-shadow: 0 8px 18px rgba(31, 38, 135, 0.07);
}

.category-tile:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(30, 131, 236, 0.2);
	border-color: #1e83ec;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.category-tile.active {
	background: linear-gradient(135deg, #1e83ec 0%, #1976d2 100%);
	color: white;
	border-color: #1565c0;
	box-shadow: 0 12px 24px rgba(21, 101, 192, 0.25);
}

.category-icon {
	font-size: 2.4rem;
	margin-bottom: 10px;
	color: #1e83ec;
	transition: all 0.3s ease;
}

.category-tile:hover .category-icon {
	transform: scale(1.1);
}

.category-tile.active .category-icon {
	color: white;
}

.category-name {
	font-size: 0.88rem;
	font-weight: 600;
	color: #2c343b;
	margin-bottom: 4px;
}

.category-tile.active .category-name {
	color: white;
}

.category-count {
	font-size: 0.78rem;
	color: #4a4f57;
	font-weight: 600;
	padding: 2px 10px;
	border-radius: 999px;
	background: rgba(30, 131, 236, 0.07);
	display: inline-block;
}

.category-tile.active .category-count {
	color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
	.slider-slide {
		flex-direction: column;
		text-align: center;
		height: auto;
		padding: 40px 20px;
	}

	.banner-title {
		padding: 40px 20px;
		text-align: center;
	}

	.banner-img {
		padding: 20px;
	}

	.section-title {
		font-size: 2.5rem;
	}

	.bnr-desc {
		font-size: 1rem;
	}

	.elem-blob {
		width: 300px;
		height: 300px;
	}

	.elem-blob i {
		font-size: 5rem;
	}

	.slider-arrow {
		width: 40px;
		height: 40px;
		font-size: 1.2rem;
	}

	.featured-slide {
		min-width: calc(100% - 20px);
	}

	.featured-slider-container {
		padding: 0 45px;
	}

	.store-stats {
		flex-direction: column;
		gap: 1rem;
	}
	
	.products-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.category-tiles {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}

	.category-tile {
		min-height: 140px;
		padding: 20px 15px;
	}

	.category-icon {
		font-size: 2.5rem;
		margin-bottom: 10px;
	}

	.category-name {
		font-size: 0.9rem;
	}

	.category-section h2 {
		font-size: 1.5rem;
	}
}

/* ========================================
   CHECKOUT PAGE STYLES
   ======================================== */

.checkout-page {
		background: #f8f9fa;
		min-height: 100vh;
		
		padding: 40px 0;
	}

	.checkout-container {
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 20px;
		display: grid;
		grid-template-columns: 1fr 400px;
		gap: 40px;
	}

	.checkout-form {
		background: white;
		border-radius: 8px;
		box-shadow: 0 2px 8px rgba(0,0,0,0.1);
		padding: 30px;
	}

	.order-summary {
		background: white;
		border-radius: 8px;
		box-shadow: 0 2px 8px rgba(0,0,0,0.1);
		padding: 30px;
		height: fit-content;
		position: sticky;
		top: 20px;
	}

	.section-title {
		font-size: 1.5rem;
		font-weight: 600;
		color: #2c343b;
		border-bottom: 2px solid #1e83ec;
		padding-bottom: 10px;
	}

	.form-group {
		margin-bottom: 20px;
	}

	.form-group label {
		display: block;
		margin-bottom: 4px;
		font-weight: 600;
		color: #2c343b;
		font-size: 0.9rem;
	}

	.form-group input,
	.form-group select,
	.form-group textarea {
		width: 100%;
		padding: 10px;
		border: 1px solid #ddd;
		border-radius: 4px;
		font-size: 0.95rem;
		transition: border-color 0.3s ease;
	}

	.form-group input:focus,
	.form-group select:focus,
	.form-group textarea:focus {
		outline: none;
		border-color: #1e83ec;
		box-shadow: 0 0 0 2px rgba(30, 131, 236, 0.1);
	}

	/* intlTelInput styling */
	.intl-tel-input {
		width: 100%;
	}
	
	.intl-tel-input .country-list {
		z-index: 1000;
	}
	
	.intl-tel-input .selected-flag {
		background: #f8f9fa;
		border: 1px solid #ddd;
		border-right: none;
		border-radius: 4px 0 0 4px;
	}
	
	.intl-tel-input input {
		border-left: none;
		border-radius: 0 4px 4px 0;
	}
	
	.intl-tel-input input:focus {
		border-left: none;
	}

	.form-row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
	}

	.form-row-3 {
		display: grid;
		grid-template-columns: 2fr 1fr 1fr;
		gap: 10px;
	}

	.order-item {
		justify-content: space-between;
		align-items: center;
		padding: 15px 0;
		border-bottom: 1px solid #eee;
	}

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

	.item-info {
		flex: 1;
	}

	.item-name {
		font-weight: 500;
        color: #2c343b;
        margin-bottom: 5px;
        text-transform: capitalize;
        font-size: 0.7rem;
        line-height: normal;
	}

	.item-details {
		font-size: 0.9rem;
		color: #666;
	}

	.item-price {
		font-weight: 600;
		color: #1e83ec;
	}

	.order-totals {
		margin-top: 20px;
		padding-top: 20px;
		border-top: 2px solid #eee;
	}

	.total-row {
		display: flex;
		justify-content: space-between;
		margin-bottom: 10px;
		font-size: 1rem;
	}

	.total-row.final {
		font-size: 1.2rem;
		font-weight: 600;
		color: #2c343b;
		border-top: 1px solid #eee;
		padding-top: 10px;
		margin-top: 10px;
	}

	.payment-methods {
		margin-top: 20px;
	}

	.valor-payment-section {
		border: 2px solid #1e83ec;
		border-radius: 8px;
		padding: 20px;
		background: #f8f9ff;
	}

	.valor-logo {
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 20px;
		padding: 15px;
		background: #1e83ec;
		color: white;
		border-radius: 6px;
		font-weight: 600;
		font-size: 1.1rem;
	}

	.valor-logo i {
		margin-right: 10px;
		font-size: 1.2rem;
	}

	.payment-summary {
		text-align: center;
	}

	.payment-summary p {
		margin-bottom: 15px;
		color: #666;
		font-size: 1rem;
        margin-top: 24px;
        line-height: normal
	}

	.payment-btn {
        width: 100%;
        background: #28a745;
        color: white;
        border: none;
        padding: 10px 10px;
        border-radius: 6px;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.3s ease;
	}

	.payment-btn:hover {
		background: #218838;
	}

	.payment-btn i {
		margin-right: 10px;
	}

	.payment-security {
		display: flex;
		justify-content: space-around;
		padding: 15px;
		background: #e8f4fd;
		border-radius: 6px;
		border: 1px solid #bee5eb;
		margin-bottom: 20px;
	}

	.security-badges {
		display: flex;
		align-items: center;
		color: #0c5460;
		font-size: 0.9rem;
		font-weight: 500;
	}

	.security-badges i {
		margin-right: 8px;
		color: #28a745;
	}

	/* Payment Modal Styles */
	.payment-modal {
		display: none;
		position: fixed;
		z-index: 1000;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		backdrop-filter: blur(5px);
	}

	.payment-modal.show {
		display: flex;
		align-items: center;
		justify-content: center;
		animation: fadeIn 0.3s ease;
	}

	@keyframes fadeIn {
		from { opacity: 0; }
		to { opacity: 1; }
	}

	.modal-content {
		background: white;
		border-radius: 12px;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
		max-width: 480px;
		width: 90%;
		max-height: 85vh;
		overflow: hidden;
		animation: slideIn 0.3s ease;
		display: flex;
		flex-direction: column;
	}

	@keyframes slideIn {
		from { transform: translateY(-50px); opacity: 0; }
		to { transform: translateY(0); opacity: 1; }
	}

	.modal-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 15px 20px;
		border-bottom: 1px solid #eee;
		background: #1e83ec;
		color: white;
		border-radius: 12px 12px 0 0;
		flex-shrink: 0;
	}

	.modal-title {
		margin: 0;
		font-size: 1.1rem;
		font-weight: 600;
		display: flex;
		align-items: center;
	}

	.modal-title i {
		margin-right: 10px;
		font-size: 1.4rem;
	}

	.close-modal {
		background: none;
		border: none;
		color: white;
		font-size: 2rem;
		cursor: pointer;
		padding: 0;
		width: 30px;
		height: 30px;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		transition: background 0.3s ease;
	}

	.close-modal:hover {
		background: rgba(255, 255, 255, 0.2);
	}

	.modal-body {
		padding: 15px 20px;
		flex: 1;
		overflow-y: auto;
	}

	.modal-body .form-group {
		margin-bottom: 12px;
	}

	.modal-body input {
		background: white;
		border: 1px solid #e9ecef;
		padding: 8px;
		font-size: 0.9rem;
		transition: all 0.3s ease;
	}

	.modal-body input:focus {
		border-color: #1e83ec;
		box-shadow: 0 0 0 2px rgba(30, 131, 236, 0.1);
	}

	.modal-security {
		display: flex;
		justify-content: space-around;
		padding: 10px;
		background: #e8f4fd;
		border-radius: 6px;
		border: 1px solid #bee5eb;
		margin-top: 12px;
	}

	.btn-cancel, .btn-confirm {
		flex: 1;
		padding: 10px 16px;
		border: none;
		border-radius: 6px;
		font-size: 0.95rem;
		font-weight: 600;
		cursor: pointer;
		transition: all 0.3s ease;
	}

	.btn-cancel {
		background: #6c757d;
		color: white;
	}

	.btn-cancel:hover {
		background: #5a6268;
	}

	.btn-confirm {
		background: #1e83ec;
		color: white;
	}

	.btn-confirm:hover {
		background: #1976d2;
	}

	.btn-confirm:disabled {
		background: #ccc;
		cursor: not-allowed;
	}

	#modal-card-number {
		background-image: url("data:image/svg+xml,%3csvg width='100' height='20' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m0,9 l20,0' stroke='%23ddd' stroke-width='1' fill='none'/%3e%3c/svg%3e");
		background-repeat: repeat-x;
		background-position: 0 50%;
		background-size: 20px 1px;
	}

	#modal-expiry-date, #modal-cvv {
		text-align: center;
		font-weight: 600;
		letter-spacing: 1px;
	}

	/* Authentication Styles */
	.auth-toggle {
		margin-bottom: 25px;
	}

	.auth-tabs {
		display: flex;
		background: #f8f9fa;
		border-radius: 8px;
		padding: 4px;
		gap: 4px;
	}

	.auth-tab {
		flex: 1;
		background: transparent;
		border: none;
		padding: 12px 16px;
		border-radius: 6px;
		cursor: pointer;
		transition: all 0.3s ease;
		font-size: 0.9rem;
		font-weight: 500;
		color: #666;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
	}

	.auth-tab:hover {
		background: #e9ecef;
		color: #333;
	}

	.auth-tab.active {
		background: #1e83ec;
		color: white;
		box-shadow: 0 2px 4px rgba(30, 131, 236, 0.3);
	}

	.auth-tab i {
		font-size: 0.9rem;
	}

	/* Auth Modal Styles */
	.auth-modal {
		display: none;
		position: fixed;
		z-index: 1001;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		backdrop-filter: blur(5px);
	}

	.auth-modal.show {
		display: flex;
		align-items: center;
		justify-content: center;
		animation: fadeIn 0.3s ease;
	}

	.auth-modal .modal-content {
		max-width: 650px;
		max-height: 90vh;
	}

	.checkbox-label {
		display: flex;
		align-items: flex-start;
		gap: 10px;
		cursor: pointer;
		font-size: 0.9rem;
		line-height: 1.4;
	}

	.checkbox-label input[type="checkbox"] {
		width: auto;
		margin: 0;
		transform: scale(1.2);
	}

	.checkmark {
		width: 18px;
		height: 18px;
		border-radius: 3px;
		position: relative;
		transition: all 0.3s ease;
		flex-shrink: 0;
		margin-top: 2px;
	}

	.checkbox-label input[type="checkbox"]:checked + .checkmark {
		background: #1e83ec;
		border-color: #1e83ec;
	}

	.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
		content: '✓';
		position: absolute;
		top: -2px;
		left: 2px;
		color: white;
		font-size: 12px;
		font-weight: bold;
	}

	.auth-links {
		text-align: right;
		margin-top: 10px;
	}

	.forgot-password {
		color: #1e83ec;
		text-decoration: none;
		font-size: 0.9rem;
		transition: color 0.3s ease;
	}

	.forgot-password:hover {
		color: #1976d2;
		text-decoration: underline;
	}

	.auth-divider {
		text-align: center;
		margin: 15px 0;
		position: relative;
	}

	.auth-divider::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 0;
		right: 0;
		height: 1px;
		background: #ddd;
	}

	.auth-divider span {
		background: white;
		padding: 0 15px;
		color: #666;
		font-size: 0.9rem;
	}

	.auth-footer {
		padding: 0 20px 15px;
	}

	.btn-register, .btn-login {
		width: 100%;
		background: #28a745;
		color: white;
		border: none;
		padding: 10px 16px;
		border-radius: 6px;
		font-size: 0.95rem;
		font-weight: 600;
		cursor: pointer;
		transition: background 0.3s ease;
	}

	.btn-register:hover, .btn-login:hover {
		background: #218838;
	}

	.terms-link {
		color: #1e83ec;
		text-decoration: none;
	}

	.terms-link:hover {
		text-decoration: underline;
	}

	.user-info {
		background: #e8f4fd;
		border: 1px solid #bee5eb;
		border-radius: 8px;
		padding: 15px;
		margin-bottom: 20px;
		display: none;
	}

	.user-info.show {
		display: block;
	}

	.user-info h4 {
		margin: 0 0 10px 0;
		color: #0c5460;
		font-size: 1.1rem;
	}

	.user-details {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.user-email {
		color: #666;
		font-size: 0.9rem;
	}

	.logout-btn {
		background: #dc3545;
		color: white;
		border: none;
		padding: 6px 12px;
		border-radius: 4px;
		font-size: 0.8rem;
		cursor: pointer;
		transition: background 0.3s ease;
	}

	.logout-btn:hover {
		background: #c82333;
	}

	.clear-cache-btn {
		margin-left: 15px;
		background: #17a2b8;
		color: #ffffff;
		border: none;
		padding: 6px 12px;
		border-radius: 4px;
		font-size: 0.8rem;
		cursor: pointer;
		display: inline-flex;
		align-items: center;
		gap: 6px;
		transition: background 0.3s ease, opacity 0.3s ease;
	}

	.clear-cache-btn:hover {
		background: #138496;
	}

	.clear-cache-btn:disabled {
		opacity: 0.65;
		cursor: not-allowed;
	}

	.cache-message {
		margin-top: 15px;
		padding: 10px 15px;
		border-radius: 6px;
		font-size: 0.9rem;
		display: none;
	}

	.cache-message.success {
		background: #d4edda;
		color: #155724;
		border: 1px solid #c3e6cb;
	}

	.cache-message.error {
		background: #f8d7da;
		color: #721c24;
		border: 1px solid #f5c6cb;
	}

	.place-order-btn {
		width: 100%;
		background: #1e83ec;
		color: white;
		border: none;
		padding: 15px;
		border-radius: 4px;
		font-size: 1.1rem;
		font-weight: 600;
		cursor: pointer;
		transition: background 0.3s ease;
		margin-top: 20px;
		
	}

	.place-order-btn:hover {
		background: #1976d2;
	}

	.place-order-btn:disabled {
		background: #ccc;
		cursor: not-allowed;
	}

	.empty-cart {
		text-align: center;
		padding: 60px 20px;
		color: #666;
	}

	.empty-cart-icon {
		font-size: 4rem;
		margin-bottom: 20px;
		opacity: 0.5;
		color: #1e83ec;
	}

	.back-to-store {
		display: inline-block;
		background: #1e83ec;
		color: white;
		padding: 12px 24px;
		text-decoration: none;
		border-radius: 4px;
		margin-top: 20px;
		font-weight: 600;
		transition: background 0.3s ease;
	}

	.back-to-store:hover {
		background: #1976d2;
		color: white;
		text-decoration: none;
	}

	/* Order Terms Styling */
	.order-terms {
		margin-top: 25px;
		padding: 20px;
		background: #f8f9fa;
		border: 1px solid #e9ecef;
		border-radius: 8px;
		border-left: 4px solid #1e83ec;
	}

	.terms-content {
		font-size: 0.9rem;
		line-height: 1.6;
		color: #495057;
	}

	.term-item {
		margin-bottom: 15px;
		padding: 10px 0;
		border-bottom: 1px solid #e9ecef;
	}

	.term-item:last-child {
		margin-bottom: 0;
		border-bottom: none;
	}

	.term-item strong {
		color: #2c343b;
		font-weight: 600;
		display: block;
		margin-bottom: 5px;
		font-size: 0.95rem;
	}

	/* Order Acknowledgements Styling */
	.order-acknowledgements {
		margin-top: 25px;
		padding: 20px;
		background: #fff3cd;
		border: 2px solid #ffc107;
		border-radius: 8px;
	}

	.acknowledgement-checkbox {
		display: flex;
		align-items: flex-start;
		gap: 12px;
		cursor: pointer;
		font-size: 0.95rem;
		line-height: 1.5;
		padding: 12px;
		margin-bottom: 12px;
		border-radius: 6px;
		transition: all 0.3s ease;
		background: white;
		border: 1px solid #e9ecef;
		position: relative;
	}

	.acknowledgement-checkbox:hover {
		background: #f8f9fa;
		border-color: #1e83ec;
	}

	.acknowledgement-checkbox input[type="checkbox"] {
		width: 22px;
		height: 22px;
		margin: 0;
		opacity: 0;
		position: absolute;
		cursor: pointer;
		z-index: 2;
		left: 12px;
		top: 14px;
	}

	.checkmark-box {
		width: 22px;
		height: 22px;
		border: 2px solid #6c757d;
		border-radius: 4px;
		position: relative;
		transition: all 0.3s ease;
		flex-shrink: 0;
		margin-top: 2px;
		background: white;
		pointer-events: none;
	}

	.acknowledgement-checkbox input[type="checkbox"]:checked ~ .checkmark-box {
		background: #28a745;
		border-color: #28a745;
	}

	.acknowledgement-checkbox input[type="checkbox"]:checked ~ .checkmark-box::after {
		content: '✓';
		position: absolute;
		top: -2px;
		left: 4px;
		color: white;
		font-size: 16px;
		font-weight: bold;
	}

	.checkbox-text {
		flex: 1;
		color: #2c343b;
		font-weight: 500;
	}

	.checkbox-text .terms-link {
		color: #1e83ec;
		text-decoration: none;
		font-weight: 600;
		transition: color 0.3s ease;
	}

	.checkbox-text .terms-link:hover {
		color: #1976d2;
		text-decoration: underline;
	}

	.checkbox-text .terms-link i {
		font-size: 0.8rem;
		margin-left: 4px;
	}

	/* Terms Modal Styling */
	.terms-modal-content {
		max-width: 700px;
		max-height: 85vh;
	}

	.terms-modal-body {
		max-height: 50vh;
		overflow-y: auto;
		padding: 20px 25px;
		background: #f8f9fa;
		position: relative;
	}

	.terms-content-full {
		background: white;
		padding: 25px;
		border-radius: 8px;
		line-height: 1.6;
	}

	.terms-content-full h3 {
		color: #1e83ec;
		font-size: 1.1rem;
		font-weight: 600;
		margin-top: 20px;
	}

	.terms-content-full p {
		color: #495057;
		margin-bottom: 12px;
	}

	.terms-content-full ul {
		margin-left: 20px;
		color: #495057;
	}

	.terms-content-full ul li {
		margin-bottom: 8px;
	}

	.terms-scroll-indicator {
		position: sticky;
		bottom: 0;
		background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 20%, rgba(255,255,255,1) 100%);
		padding: 40px 20px 20px;
		text-align: center;
		margin: -20px -25px -25px -25px;
		animation: bounce 2s infinite;
	}

	.terms-scroll-indicator i {
		font-size: 2rem;
		color: #1e83ec;
		margin-bottom: 10px;
	}

	.terms-scroll-indicator p {
		color: #1e83ec;
		font-weight: 600;
		margin: 0;
	}

	@keyframes bounce {
		0%, 20%, 50%, 80%, 100% {
			transform: translateY(0);
		}
		40% {
			transform: translateY(-10px);
		}
		60% {
			transform: translateY(-5px);
		}
	}

	@keyframes pulse {
		0%, 100% {
			transform: scale(1);
		}
		50% {
			transform: scale(1.02);
			box-shadow: 0 0 20px rgba(40, 167, 69, 0.5);
		}
	}

	.terms-modal-footer {
		flex-direction: column;
		gap: 15px;
		padding: 20px;
	}

	.terms-acceptance-checkbox {
		display: flex;
		align-items: center;
		gap: 12px;
		cursor: pointer;
		font-size: 0.95rem;
		line-height: 1.5;
		padding: 15px;
		border-radius: 6px;
		transition: all 0.3s ease;
		background: #f8f9fa;
		border: 2px solid #e9ecef;
		width: 100%;
		position: relative;
	}

	.terms-acceptance-checkbox:hover {
		background: #e9ecef;
		border-color: #1e83ec;
	}

	.terms-acceptance-checkbox input[type="checkbox"] {
		width: 22px;
		height: 22px;
		margin: 0;
		opacity: 0;
		position: absolute;
		cursor: pointer;
		z-index: 2;
		left: 15px;
		top: 15px;
	}

	.terms-acceptance-checkbox .checkbox-text {
		font-weight: 600;
		color: #2c343b;
	}
	
	.terms-acceptance-checkbox .checkmark-box {
		pointer-events: none;
	}

	.terms-acceptance-checkbox input[type="checkbox"]:checked ~ .checkmark-box {
		background: #28a745;
		border-color: #28a745;
	}

	.terms-acceptance-checkbox input[type="checkbox"]:checked ~ .checkmark-box::after {
		content: '✓';
		position: absolute;
		top: -2px;
		left: 2px;
		color: white;
		font-size: 16px;
		font-weight: bold;
	}

	#acceptTermsBtn {
		width: 100%;
		padding: 15px;
		font-size: 1.05rem;
	}

	#acceptTermsBtn:disabled {
		background: #ccc;
		cursor: not-allowed;
		opacity: 0.6;
	}

	#terms-close-btn:disabled {
		opacity: 0.3;
		cursor: not-allowed;
	}

	@media (max-width: 768px) {
		.checkout-container {
			grid-template-columns: 1fr;
			gap: 20px;
		}
		
		.form-row {
			grid-template-columns: 1fr;
		}

		.form-row-3 {
			grid-template-columns: 1fr;
		}
		
		.order-summary {
			position: static;
		}

		.modal-content {
			width: 95%;
			max-width: none;
		}

		.auth-tabs {
			flex-direction: column;
			gap: 8px;
		}

		.auth-tab {
			padding: 10px 12px;
			font-size: 0.85rem;
		}

		.auth-modal .modal-content {
			max-width: 400px;
		}

		.user-details {
			flex-direction: column;
			align-items: flex-start;
			gap: 10px;
		}

		.logout-btn {
			align-self: flex-end;
		}
    }
/* ========================================
   Ecommerce Store Styles
   ======================================== */

.cart-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

/* ========================================
   Customer Dashboard Styles
   ======================================== */

.dashboard-tabs {
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.tab-button {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s;
    white-space: nowrap;
}

.tab-button.active {
    color: #1e83ec;
    border-bottom-color: #1e83ec;
}

.tab-button:hover {
    color: #1e83ec;
}

.dashboard-tabs .username {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.dashboard-tabs .username i {
    margin-right: 5px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.order-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.order-id {
    font-weight: 600;
    color: #111827;
}

.order-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.order-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    font-size: 0.875rem;
}

.order-info-label {
    color: #6b7280;
    margin-bottom: 4px;
}

.order-info-value {
    font-weight: 600;
    color: #111827;
}

.form-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
}

.form-section h3 {
    margin-bottom: 20px;
    color: #111827;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e83ec;
}

/* Logout Button Styles */
.logout-section {
    margin-top: 20px;
}

.logout-btn {
    background: transparent;
    border: 2px solid #dc2626;
    color: #dc2626;
    padding: 8px 6px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    height: 40px;
}

.logout-btn:hover {
    background: #dc2626;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.2);
}

/* ========================================
   Cart Sidebar Styles
   ======================================== */

/* Cart Toggle Button */
.cart-toggle {
    position: fixed;
    bottom: 135px;
    right: 23px;
    width: 44px;
    height: 44px;
    background: #1e83ec;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(30, 131, 236, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-toggle:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 131, 236, 0.6);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-sidebar.keep-open {
    right: 0;
    box-shadow: -5px 0 25px rgba(30, 131, 236, 0.3);
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #f8f9fa;
    color: #6c757d;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.account-link:hover {
    background: #1e83ec;
    color: white;
    text-decoration: none;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-cart:hover {
    color: #000;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    min-height: 200px;
    background: white;
    border-radius: 10px;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-cart-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ddd;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    background: #e0e0e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: #2c343b;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.cart-item-price {
    color: #1e83ec;
    font-size: 0.875rem;
}

.cart-item-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.cart-quantity-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-quantity-btn:hover {
    background: #f0f0f0;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.remove-item {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    margin-left: auto;
}

.remove-item:hover {
    background: #c82333;
}

.item-total {
    font-weight: 600;
    color: #28a745;
    min-width: 80px;
    text-align: right;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c343b;
}

.cart-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cart-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: #1e83ec;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: #1976d2;
}

.cart-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.cart-actions .btn {
    margin-right: 1rem;
}

/* ========================================
   Product Cards
   ======================================== */

.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    
    /* Gradient Border */
    border: 1px solid transparent;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(
            to top,
            #1e83ec,          /* bottom dark */
            rgba(30, 131, 236, 0.4), /* mid light */
            rgba(30, 131, 236, 0)    /* top transparent */
        ) border-box;
}


.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 15px;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #6c757d;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay .btn {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-card:hover .product-overlay .btn {
    transform: translateY(0);
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}



.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #28a745;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: auto;
}

.category {
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock {
    font-weight: 500;
}

/* ========================================
   Cart Notification
   ======================================== */

.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 300px;
}

/* ========================================
   Animation Classes
   ======================================== */

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* ========================================
   Responsive Design - Dashboard
   ======================================== */

@media (max-width: 768px) {
    .dashboard-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .order-info {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Responsive Design - Cart
   ======================================== */

@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-toggle {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
        border-radius: 50%;
        box-shadow: 0 4px 16px rgba(30, 131, 236, 0.5);
    }
    
    .cart-toggle:active {
        transform: scale(0.95);
    }
    
    .cart-header {
        text-align: center;
    }
    
    .cart-info {
        align-items: center;
        margin-top: 1rem;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .item-controls {
        width: 100%;
        justify-content: space-between;
        margin-top: 1rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1.25rem;
    }

    /* Mobile-first category experience */
    .category-section {
        position: sticky;
        top: 64px;
        z-index: 50;
        padding: 12px 0 10px;
        box-shadow: 0 8px 16px rgba(18, 38, 63, 0.08);
        background: #f9fbff;
    }

    .category-section h2 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .category-tiles.category-overview {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding: 2px 0 6px;
        margin: 0 -16px;
        padding-left: 16px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .category-tiles.category-overview::-webkit-scrollbar {
        display: none;
    }

    .category-tile {
        flex: 0 0 120px;
        min-height: 110px;
        scroll-snap-align: start;
        border-radius: 16px;
        box-shadow: 0 8px 16px rgba(14, 30, 64, 0.08);
        padding: 14px 10px;
        text-align: center;
        justify-content: center;
    }


    .category-name {
        font-size: 0.95rem;
        margin-bottom: 4px;
        text-align: center;
    }
    /* Product grid adjustments */
    .products-section {
        padding: 30px 0 80px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .product-card {
        border-radius: 18px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 1.1rem;
    }

    .add-to-cart-btn {
        width: 100%;
        text-align: center;
    }

    /* Floating cart badge */
    .cart-toggle {
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .cart-section {
        padding: 1rem;
    }
    
    .cart-header {
        padding: 1rem;
    }
    
    .cart-title {
        font-size: 1.25rem;
    }
    
    .products-section .row {
        margin: 0 -0.5rem;
    }
    
    .products-section .col-lg-4,
    .products-section .col-md-6 {
        padding: 0 0.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 14px;
    }

    .product-image {
        height: 180px;
    }

    .category-tiles.category-overview {
        margin: 0 -16px;
        padding-left: 16px;
    }

    .category-tile {
        flex: none;
        min-height: auto;
    }
    .form-group {
        margin-bottom: 0px;
    }
    .section-title {
        margin-bottom: 0px;
    }
}

/* ========================================
   Product Detail Page Styles
   ======================================== */

.product-detail-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 10px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: #1e83ec;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
    margin: 0 8px;
}

.product-detail-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-images {
    position: sticky;
    top: 100px;
}

.main-image-container {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 30px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.main-image-container img.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.main-image-container i {
    font-size: 8rem;
    color: #ccc;
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1);
}

.thumbnail:hover {
    border-color: #1e83ec;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(30, 131, 236, 0.2);
}

.thumbnail.active {
    border-color: #1e83ec;
    box-shadow: 0 4px 12px rgba(30, 131, 236, 0.3);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.product-info-section {
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c343b;
    margin-bottom: 20px;
    line-height: 1.2;
}
.product-description {
    font-size: 0.9rem;
    margin-bottom: 30px;
}


.product-specs h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c343b;
}

.spec-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.spec-label {
    font-weight: 600;
    color: #666;
    min-width: 150px;
}

.spec-value {
    color: #333;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity-selector label {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.product-quantity-btn {
    width: 35px;
    height: 35px;
    background: #f8f9fa;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-quantity-btn:hover {
    background: #e9ecef;
}

.quantity-input {
    width: 60px;
    height: 35px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    border-left: 2px solid #ddd;
    border-right: 2px solid #ddd;
}

.add-to-cart-section {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.add-to-cart-btn-large {
    flex: 1;
    background: #1e83ec;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn-large:hover {
    background: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(30, 131, 236, 0.3);
}

.back-btn {
    padding: 12px 20px;
    background: #f8f9fa;
    color: #333;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #e9ecef;
    border-color: #1e83ec;
    color: #1e83ec;
}

.related-products-section {
    margin-top: 60px;
}

.related-products-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c343b;
    margin-bottom: 30px;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 20px;
}

.product-card-image i {
    font-size: 3rem;
    color: #999;
}

.product-card-info {
    padding: 20px;
}

.product-card-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c343b;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.product-card-name:hover {
    color: #1e83ec;
}

.product-card-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1e83ec;
}

/* Product Long Description - Full Width */
.product-long-description {
    width: 100%;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.product-long-description h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c343b;
    font-weight: 600;
}

.long-description-content {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-images {
        position: static;
    }

    .main-image-container {
        height: 300px;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .add-to-cart-section {
        flex-direction: column;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-container {
        padding: 25px;
    }
}

/* ========================================
   Order Confirmation Page Styles
   ======================================== */

.order-confirmation-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 40px 0;
}

.confirmation-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.confirmation-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 50px 40px;
    text-align: center;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out;
}

.success-icon i {
    font-size: 3.5rem;
    color: white;
}

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

.error-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon i {
    font-size: 3.5rem;
    color: white;
}

.thank-you-title {
    font-size: 2.5rem;
    color: #2c343b;
    margin-bottom: 15px;
    font-weight: 700;
}

.confirmation-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.order-summary-box {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    text-align: left;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #dee2e6;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total-row {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e83ec;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid #1e83ec;
}

.summary-row .label {
    font-weight: 600;
    color: #495057;
}

.summary-row .value {
    font-weight: 600;
    color: #2c343b;
}

.status-section,
.order-items-section,
.delivery-section,
.payment-section,
.next-steps-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 30px;
    margin-top: 30px;
    text-align: left;
}

.status-section h2,
.order-items-section h2,
.delivery-section h2,
.payment-section h2,
.next-steps-section h2 {
    font-size: 1.5rem;
    color: #2c343b;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.status-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    opacity: 0.4;
    position: relative;
    padding-left: 60px;
}

.status-item.active {
    opacity: 1;
}

.status-item::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    width: 2px;
    height: calc(100% + 20px);
    background: #e9ecef;
}

.status-item:last-child::before {
    display: none;
}

.status-icon {
    width: 50px;
    height: 50px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6c757d;
    flex-shrink: 0;
    position: absolute;
    left: 0;
}

.status-item.active .status-icon {
    background: #28a745;
    color: white;
}

.status-content h3 {
    font-size: 1.1rem;
    color: #2c343b;
    margin-bottom: 5px;
}

.status-content p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.status-content .status-date {
    display: block;
    color: #28a745;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.item-details h3 {
    font-size: 1.1rem;
    color: #2c343b;
    margin-bottom: 8px;
}

.item-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.item-meta {
    color: #999;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    margin: 0;
}

.item-pricing {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 120px;
}

.item-pricing .quantity {
    font-size: 0.9rem;
    color: #666;
}

.item-pricing .price {
    font-size: 1rem;
    color: #1e83ec;
    font-weight: 600;
}

.item-pricing .subtotal {
    font-size: 1.2rem;
    color: #28a745;
    font-weight: 700;
}

.delivery-info-box,
.payment-info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row strong {
    color: #495057;
    font-weight: 600;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
}

.status-authorized {
    background: #d4edda;
    color: #155724;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.payment-note {
    margin-top: 15px;
    padding: 15px;
    background: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    color: #0c5460;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-note i {
    font-size: 1.2rem;
}

.next-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.step-card {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: #1e83ec;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(30, 131, 236, 0.2);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: #1e83ec;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(30, 131, 236, 0.3);
}

.step-card h3 {
    font-size: 1.1rem;
    color: #2c343b;
    margin-bottom: 10px;
    margin-top: 10px;
}

.step-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.support-box {
    margin-top: 40px;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    text-align: center;
    color: #856404;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.support-box i {
    font-size: 1.5rem;
}

.support-box p {
    margin: 0;
    font-size: 1rem;
}

.support-box a {
    color: #1e83ec;
    font-weight: 600;
    text-decoration: none;
}

.support-box a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .confirmation-card {
        padding: 30px 20px;
    }
    
    .thank-you-title {
        font-size: 1.8rem;
    }
    
    .next-steps-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .order-item-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .item-pricing {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .support-box {
        flex-direction: column;
        gap: 10px;
    }
}

/* ========================================
   Hardware Admin Dashboard Styles
   ======================================== */

.admin-dashboard {
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
}

.admin-header {
    background: white;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    margin: 0;
    font-size: 2rem;
    color: #2c343b;
}

.admin-header .user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-header .username {
    color: #666;
    font-size: 0.95rem;
}

.btn-logout {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-logout:hover {
    background: #c82333;
    color: white;
    text-decoration: none;
}

.orders-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: #fafafb;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e83ec;
    margin: 0;
}

.orders-table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.orders-table-header {
    padding: 20px 30px;
    border-bottom: 2px solid #e0e0e0;
}

.orders-table-header h2 {
    margin: 0;
    font-size: 1rem;
    color: #2c343b;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table thead {
    background: #f8f9fa;
}

.orders-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #2c343b;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e0e0e0;
}

.orders-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #495057;
}

.orders-table tbody tr:hover {
    background: #f8f9fa;
}

.orders-table tbody tr:last-child td {
    border-bottom: none;
}

.order-id {
    font-weight: 600;
    color: #1e83ec;
}

.order-date {
    color: #666;
    font-size: 0.9rem;
}

.order-total {
    font-weight: 600;
    color: #28a745;
}

.order-customer {
    color: #495057;
}

.btn-view {
    background: #1e83ec;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-view:hover {
    background: #1976d2;
    color: white;
    text-decoration: none;
}

.btn-charge {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
}

.btn-charge:hover {
    background: #218838;
}

.btn-charge:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.no-orders {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-orders i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
    color: #1e83ec;
}

.error-message {
    background: #fee;
    border: 2px solid #fcc;
    color: #c33;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-declined {
    background: #f8d7da;
    color: #721c24;
}

.status-voided {
    background: #fff3cd;
    color: #856404;
}

/* Charge Modal Styles */
.charge-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.charge-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
	to { opacity: 1; }
}

.modal-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 25px;
}

.charge-info {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.charge-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.charge-info-row:last-child {
    margin-bottom: 0;
}

.charge-info-label {
    font-weight: 600;
    color: #666;
}

.charge-info-value {
    color: #2c343b;
    font-weight: 500;
}

.charge-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.charge-warning i {
    margin-right: 8px;
}

.modal-footer {
    border-top: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.btn-modal {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background: #6c757d;
    color: white;
}

.btn-cancel:hover {
    background: #5a6268;
}

.btn-confirm-charge {
    background: #28a745;
    color: white;
}

.btn-confirm-charge:hover {
    background: #218838;
}

.btn-confirm-charge:disabled {
    background: #ccc;
    cursor: not-allowed;
}

span.admin-info {
    font-size: 0.36em !important;
    float: right;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Responsive styles for admin info */
@media (max-width: 1024px) {
    span.admin-info {
        font-size: 0.4em !important;
    }
}

@media (max-width: 768px) {
    span.admin-info {
        float: none !important;
        display: flex !important;
        width: 100%;
        justify-content: space-between;
        font-size: 0.5em !important;
        margin-top: 15px;
        padding: 10px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .section-title {
        display: flex;
        flex-direction: column;
        font-size: 2rem !important;
    }
    
    .inside-banner {
        padding: 20px 15px !important;
    }
    
    .banner-title {
        padding: 0 !important;
    }
    
    .orders-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-card h3 {
        font-size: 0.8rem;
    }
    
    .stat-card .value {
        font-size: 1.5rem;
    }
    
    .dashboard-tabs {
        padding-bottom: 5px;
    }
    
    .tab-button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .orders-table {
        font-size: 0.85rem;
    }
    
    .orders-table th,
    .orders-table td {
        padding: 10px;
    }
    
    .orders-table-container {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem !important;
    }
    
    span.admin-info {
        font-size: 0.55em !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .logout-btn {
        width: 100%;
        justify-content: center;
        font-size: 0.8rem;
    }
    
    .inside-banner {
        padding: 15px 10px !important;
    }
    
    .orders-stats {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 15px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-card h3 {
        font-size: 0.75rem;
        margin-bottom: 5px;
    }
    
    .stat-card .value {
        font-size: 1.3rem;
    }
    
    .dashboard-tabs {
        gap: 5px;
    }
    
    .tab-button {
        padding: 8px 12px;
        font-size: 0.8rem;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
    
    .tab-button i {
        display: block;
        margin-bottom: 3px;
        font-size: 1.1em;
    }
    
    .orders-table th,
    .orders-table td {
        padding: 8px;
        font-size: 0.8rem;
    }
}
