/*--------------------------------------------------------------
  1. Design Tokens
--------------------------------------------------------------*/
/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Poppins:wght@400;600&display=swap");
:root {
  /* Fonts */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Poppins', sans-serif;

  /* Spacing (4px base) */
  --space-1: 0.25rem; /*4px*/
  --space-2: 0.5rem;  /*8px*/
  --space-3: 1rem;    /*16px*/
  --space-4: 1.5rem;  /*24px*/
  --space-5: 2rem;    /*32px*/

  /* Color Palette */
  --color-bg:               #111;               /* page background */
  --color-surface:          rgba(255, 255, 255, 0.6); /* cards, modals */
  --color-surface-alt:      rgba(0, 0, 0, 0.85);/* navbar, offcanvas */
  --color-text:             #e0e0e0;            /* body copy */
  --color-text-muted:       #a0a0a0;            /* muted text */
  --color-text-inverse:     #fff;               /* headings, icons */
  --color-link:             #fff;               /* default links */
  --color-link-hover:       #8b5cf6;            /* link hover */
  --color-accent-primary:   #8b5cf6;            /* buttons, highlights */
  --color-accent-primary-h: #a855f7;            /* buttons hover */
  --color-accent-secondary: #ffdd57;            /* outline buttons, arrows */
  --color-highlight:        #ffcc00;            /* brand highlight */
  --color-success:          #28a745;            /* success states */
  --color-warning:          #ffc107;            /* warning states */
  --color-danger:           #dc3545;            /* error states */
  --color-info:             #17a2b8;            /* info states */
  --overlay-bg:             rgba(0, 0, 0, 0.5); /* hero overlay */
  
  /* Enhanced spacing scale */
  --space-xs: 0.125rem; /*2px*/
  --space-sm: 0.375rem; /*6px*/
  --space-6: 3rem;      /*48px*/
  --space-7: 4rem;      /*64px*/
  --space-8: 6rem;      /*96px*/
  
  /* Missing Variables - Modern Theme */
  --bg-primary: #0f1419;
  --bg-secondary: #1a202c; 
  --bg-card: rgba(255, 255, 255, 0.08);
  --gold-color: #ffd700;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
}

/*--------------------------------------------------------------
  2. Global Resets & Base Styles
--------------------------------------------------------------*/

/* Inline style replacements */

/* Removed unused .product-image-thumbnail */

.cart-item-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.shop-product-image {
  object-fit: contain;
  max-height: 200px;
}

.auth-section {
  min-height: 70vh;
}

.password-toggle {
  cursor: pointer;
}

.status-icon-large {
  font-size: 4rem;
}

.hidden {
  display: none;
}

.payment-element-hidden {
  display: none;
}

/* Navbar Profile Picture Styles */
.nav-profile-img {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid var(--color-accent-primary) !important;
  display: block !important;
  max-width: 32px !important;
  max-height: 32px !important;
}

.user-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  flex-shrink: 0;
}

/* Ensure navbar images stay small regardless of other styles */
.navbar .user-avatar img,
.navbar .nav-profile-img,
.navbar-nav .user-avatar img,
#navAccount .user-avatar img {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 2px solid var(--color-accent-primary) !important;
}

/* Additional navbar container constraints */
.navbar .user-avatar,
.navbar-nav .user-avatar,
#navAccount .user-avatar {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.dropdown-header .user-info {
  padding: 0.25rem 0;
}

/* Mobile Navigation Styles */
.mobile-user-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-profile-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-accent-primary);
}

.mobile-nav-section {
  margin-bottom: 1rem;
}

.mobile-nav-header {
  padding: 1rem 0 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.5rem;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover {
  background-color: rgba(139, 92, 246, 0.1);
  color: var(--color-accent-primary);
  text-decoration: none;
}

.mobile-nav-link.text-danger:hover {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--color-danger);
}

.mobile-nav-link i {
  width: 24px;
  margin-right: 1rem;
  text-align: center;
  font-size: 1.1rem;
}

.mobile-nav-link span {
  flex-grow: 1;
  font-weight: 500;
}

.mobile-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 10px;
  margin-left: auto;
}

/* Offcanvas improvements */
.offcanvas-dark {
  background-color: var(--color-surface-alt);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-header {
  padding: 1.5rem;
}

.offcanvas-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Dropdown improvements */
.navbar .dropdown .dropdown-menu {
  margin-top: 0;
  border-top: none;
  transition: all 0.2s ease;
  animation: fadeIn 0.2s ease-in;
}

.navbar .dropdown-toggle:hover,
.navbar .dropdown:hover .dropdown-toggle {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
}

/* Add small gap bridging to prevent menu from closing */
.navbar .dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
}

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

/* Enhanced Checkout Styles */
.checkout-page {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 100vh;
}

/* Progress Indicator */
.checkout-progress {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.progress-step::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 100%;
  width: 2rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.progress-step:last-child::after {
  display: none;
}

.progress-step.active::after {
  background: #ffd700;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
}

.progress-step.active .step-icon {
  background: #ffd700;
  color: #1a1a2e;
}

.step-label {
  font-size: 0.875rem;
  color: #aaa;
  text-align: center;
}

.progress-step.active .step-label {
  color: #ffd700;
  font-weight: 600;
}

.checkout-header {
  margin-bottom: 3rem;
}

.checkout-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.checkout-subtitle {
  color: #ffd700;
  font-size: 1.1rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* Order Summary Card */
.order-summary-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.order-summary-card .card-header {
  background: rgba(255, 215, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-summary-card .card-title {
  color: #ffd700;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.item-count {
  color: #bbb;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}

.order-summary-card .card-body {
  padding: 1.5rem;
}

/* Order Items */
.order-items {
  margin-bottom: 2rem;
}

.order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.item-details {
  display: flex;
  align-items: center;
  flex: 1;
}

.item-image {
  width: 50px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.item-image-placeholder {
  width: 50px;
  height: 70px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #aaa;
}

.item-info {
  flex: 1;
}

.item-name {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.item-quantity,
.item-price {
  color: #bbb;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.item-total {
  color: #ffd700;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Order Totals */
.order-totals {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: #fff;
}

.total-final {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffd700;
}

/* Checkout Form Card */
.checkout-form-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Form Sections */
.form-section {
  margin-bottom: 2.5rem;
}

/* Consolidated .section-title - combines all variants */
.section-title {
  color: #ffd700;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  position: relative;
  display: inline-block;
}

.section-title.large {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
}

.section-title.with-underline::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent-primary, #ffd700), var(--gold-color, #ffd700));
  border-radius: 2px;
}

/* Form Controls */
.checkout-form .form-label {
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.checkout-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.checkout-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffd700;
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
  color: #fff;
}

.checkout-form .form-control::placeholder {
  color: #aaa;
}

/* Form Groups */
.form-group {
  margin-bottom: 1.5rem;
}

/* Saved Address Card */
.saved-address-card {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* Address Element */
.address-element {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1rem;
  min-height: 200px;
}

/* Shipping Options */
.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.shipping-option {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.shipping-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 215, 0, 0.5);
}

.shipping-option.selected {
  background: rgba(255, 215, 0, 0.1);
  border-color: #ffd700;
}

.option-radio {
  margin-right: 1rem;
  position: relative;
}

.option-radio input[type="radio"] {
  opacity: 0;
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 0;
}

.radio-label {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-label::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd700;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

.option-radio input[type="radio"]:checked + .radio-label {
  border-color: #ffd700;
}

.option-radio input[type="radio"]:checked + .radio-label::after {
  transform: translate(-50%, -50%) scale(1);
}

.option-details {
  flex: 1;
}

.option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.option-name {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.option-price {
  color: #ffd700;
  font-weight: 700;
  font-size: 1.1rem;
}

.option-description {
  color: #bbb;
  font-size: 0.875rem;
  margin: 0;
}

/* Payment Element */
.payment-element {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1rem;
  min-height: 150px;
  transition: all 0.3s ease;
}

.payment-skeleton {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1rem;
  min-height: 150px;
}

.skeleton-line {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  height: 20px;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.skeleton-line.short {
  width: 60%;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Checkout Button */
.btn-checkout {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(135deg, #ffd700, #ffed4a);
  border: none;
  color: #1a1a2e;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-checkout:hover {
  background: linear-gradient(135deg, #ffed4a, #ffd700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  color: #1a1a2e;
}

.btn-checkout:disabled {
  opacity: 0.6;
  transform: none;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

/* Error Messages */
.error-messages {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 8px;
  padding: 1rem;
  display: none;
}

.error-messages.show {
  display: block;
}

/* Secure Notice */
.secure-notice {
  text-align: center;
  color: #28a745;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .checkout-title {
    font-size: 2rem;
  }
  
  .checkout-form-card {
    padding: 1.5rem;
  }
  
  .order-summary-card .card-header,
  .order-summary-card .card-body {
    padding: 1rem;
  }
  
  .item-details {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .item-image,
  .item-image-placeholder {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

/* Enhanced Product Page Styles */
.product-page {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  min-height: 100vh;
}

.product-hero {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.custom-breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-link {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #ffd700;
}

/* Product Gallery */
.product-gallery {
  position: relative;
}

.main-image-container {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.main-image-container:hover {
  transform: scale(1.02);
}

.main-product-image {
  width: 100%;
  height: auto;
  min-height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

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

.main-image-container:hover .image-zoom-overlay {
  opacity: 1;
}

.no-image-placeholder {
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #666;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
}

.thumbnail-gallery {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.thumbnail-item {
  min-width: 60px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.thumbnail-item.active {
  border-color: #ffd700;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Information */
.product-info {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.product-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.star-display {
  color: #ffd700;
}

.rating-text {
  color: #bbb;
  font-size: 0.9rem;
}

.rating-link {
  color: #ffd700;
  text-decoration: none;
  font-size: 0.9rem;
}

.rating-link:hover {
  text-decoration: underline;
  color: #ffed4a;
}

.product-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-type-badge,
.category-badge {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-badge {
  background: rgba(0, 123, 255, 0.2);
  color: #007bff;
}

.price-section {
  padding: 1.5rem;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
}

.current-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.price-details {
  font-size: 0.9rem;
  color: #bbb;
}

.stock-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.stock-status.in-stock {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.stock-status.out-of-stock {
  background: rgba(220, 53, 69, 0.2);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.stock-count {
  color: #bbb;
  font-weight: 400;
}

/* Product Description */
.product-description {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
}

.description-title {
  color: #ffd700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.description-content {
  color: #ddd;
  line-height: 1.6;
}

/* Add to Cart Section */
.add-to-cart-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.quantity-selector .form-label {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.quantity-input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  background: rgba(255, 215, 0, 0.2);
  border: none;
  color: #ffd700;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.qty-btn:hover {
  background: rgba(255, 215, 0, 0.3);
}

.quantity-input {
  background: transparent;
  border: none;
  color: #fff;
  text-align: center;
  width: 60px;
  height: 40px;
  font-weight: 600;
}

.quantity-input:focus {
  outline: none;
  box-shadow: none;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.btn-add-to-cart {
  background: linear-gradient(135deg, #ffd700, #ffed4a);
  border: none;
  color: #1a1a2e;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  flex: 1;
}

.btn-add-to-cart:hover {
  background: linear-gradient(135deg, #ffed4a, #ffd700);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  color: #1a1a2e;
}

.btn-buy-now {
  flex: 1;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
}

.secondary-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.secondary-actions .btn {
  flex: 1;
  min-width: 150px;
}

/* Out of Stock Section */
.out-of-stock-section {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.out-of-stock-message {
  color: #dc3545;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.notify-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Product Features */
.product-features {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #ddd;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item i {
  font-size: 1.1rem;
}

/* Product Details Section */
.product-details-section {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 2rem;
}

.specifications-card,
.related-products-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
}

/* Duplicate .section-title removed - consolidated above */

.specs-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.spec-label {
  color: #bbb;
  font-weight: 500;
}

.spec-value {
  color: #fff;
  font-weight: 600;
}

/* Related Products */
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.related-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.related-item:hover {
  transform: translateY(-4px);
}

.related-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.related-image {
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-image .no-image {
  color: #666;
  font-size: 2rem;
}

.related-info {
  padding: 1rem;
}

.related-name {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-price {
  color: #ffd700;
  font-weight: 700;
  font-size: 1rem;
}

/* Reviews Wrapper */
.reviews-wrapper {
  background: rgba(255, 255, 255, 0.02);
  margin-top: 3rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .product-title {
    font-size: 1.8rem;
  }
  
  .current-price {
    font-size: 2rem;
  }
  
  .action-buttons,
  .secondary-actions,
  .notify-actions {
    flex-direction: column;
  }
  
  .action-buttons .btn,
  .secondary-actions .btn {
    flex: none;
  }
  
  .product-rating {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .related-products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-info {
    padding: 1rem 0.5rem;
  }
  
  .specs-grid {
    gap: 0.5rem;
  }
  
  .spec-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

/* Enhanced Shop Search Styles */
.enhanced-search-section {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.search-input-enhanced {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.3);
  color: #fff;
  font-size: 1.1rem;
  border-radius: 12px;
}

.search-input-enhanced:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffd700;
  box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
  color: #fff;
}

.search-input-enhanced::placeholder {
  color: #bbb;
}

.advanced-search-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.panel-title {
  color: #ffd700;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.advanced-search-form .form-control,
.advanced-search-form .form-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
}

.advanced-search-form .form-control:focus,
.advanced-search-form .form-select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffd700;
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
  color: #fff;
}

.advanced-search-form .form-control::placeholder {
  color: #aaa;
}

/* Fix white text on white background in advanced search dropdowns */
.advanced-search-form .form-select,
.advanced-search-form .form-select.form-select-sm {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

/* Enhanced Register Form Styling - Simplified selectors */
.register-page .form-floating > .form-control,
.register-page .form-floating > .form-select {
  min-width: 100% !important;
  width: 100% !important;
  padding: 1rem 0.75rem !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.register-page .form-floating > .form-control:focus,
.register-page .form-floating > .form-select:focus {
  white-space: normal;
  overflow: visible;
}

.register-page .form-floating > label {
  font-size: 0.95rem !important;
  padding: 0.375rem 0.75rem !important;
}

/* Remove Google Places autocomplete dropdown styling conflicts */
.register-page .pac-container {
  background: rgba(45, 55, 72, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
  z-index: 9999 !important;
}

.register-page .pac-item {
  background: transparent !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 0.75rem 1rem !important;
}

.register-page .pac-item:hover {
  background: rgba(255, 215, 0, 0.1) !important;
  color: #ffd700 !important;
}

.register-page .pac-item-selected {
  background: rgba(255, 215, 0, 0.2) !important;
  color: #ffd700 !important;
}

/* Remove any search icon interference */
.register-page .form-floating .pac-icon {
  display: none !important;
}

.register-page .auth-form input[type="text"] {
  background-image: none !important;
}

/* Ensure proper spacing for form sections */
.register-page .auth-form .form-section-header {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.register-page .auth-form .form-section-header:first-child {
  margin-top: 1rem;
}

.advanced-search-form .form-select option,
.advanced-search-form .form-select.form-select-sm option {
  background: #1a1a2e !important;
  color: #fff !important;
}

/* Ensure dropdown options are visible in all browsers */
.advanced-search-form select,
.advanced-search-form select.form-select {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.advanced-search-form select option,
.advanced-search-form select.form-select option {
  background: #1a1a2e !important;
  color: #fff !important;
  padding: 4px 8px;
}

/* Additional browser-specific fixes */
.advanced-search-form select::-ms-expand {
  display: none;
}

/* Firefox specific fix */
@-moz-document url-prefix() {
  .advanced-search-form select {
    color: #fff !important;
  }
  
  .advanced-search-form select option {
    background: #1a1a2e !important;
    color: #fff !important;
  }
}

.btn-check:checked + .btn {
  background-color: #ffd700 !important;
  border-color: #ffd700 !important;
  color: #1a1a2e !important;
}

.search-results-summary {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 8px;
  padding: 1rem;
}

/* Enhanced Product Card Badges */
.product-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.25rem;
  z-index: 5;
}

.product-type-badge,
.source-badge,
.version-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.card-badge {
  background: rgba(0, 123, 255, 0.8);
  color: #fff;
}

.set-badge {
  background: rgba(40, 167, 69, 0.8);
  color: #fff;
}

.product-badge {
  background: rgba(108, 117, 125, 0.8);
  color: #fff;
}

.in-stock-badge {
  background: rgba(40, 167, 69, 0.9);
  color: #fff;
}

.api-badge {
  background: rgba(255, 193, 7, 0.9);
  color: #1a1a2e;
}

.version-badge {
  background: rgba(255, 215, 0, 0.9);
  color: #1a1a2e;
}

/* Card Meta Information */
.card-meta,
.set-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.set-info,
.rarity-info,
.color-info,
.price-range-info,
.set-code {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.set-code {
  color: #ffd700;
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.rarity-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}

.mana-colors {
  color: #fff;
  font-family: 'Courier New', monospace;
  font-weight: 600;
}

.price-range-info {
  color: #bbb;
  font-size: 0.8rem;
}

/* Enhanced Category Filters */
.category-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.category-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 215, 0, 0.5);
  color: #ffd700;
  transform: translateY(-4px);
}

.category-card.active {
  background: rgba(255, 215, 0, 0.1);
  border-color: #ffd700;
  color: #ffd700;
}

.category-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.category-label {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Product Grid Enhancements */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Consolidated .product-card-modern - combines all variants */
.product-card-modern {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  max-height: 400px;
  display: flex;
  flex-direction: column;
}

.product-card-modern:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 215, 0, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-image-container {
  position: relative;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.product-content-modern {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title-modern a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title-modern a:hover {
  color: #ffd700;
}

.product-meta-modern {
  margin-bottom: 1rem;
}

.product-price {
  color: #ffd700;
  font-size: 1.3rem;
  font-weight: 700;
}

/* Mobile Responsiveness for Enhanced Search */
@media (max-width: 768px) {
  .enhanced-search-section {
    padding: 1rem;
  }
  
  .advanced-search-panel {
    padding: 1rem;
  }
  
  .product-badges {
    position: static;
    margin-bottom: 1rem;
    justify-content: flex-start;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .card-meta,
  .set-meta {
    gap: 0.25rem;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .category-card {
    padding: 1rem;
  }
  
  .category-icon {
    font-size: 1.25rem;
  }
}

.contact-textarea {
  height: 150px;
}

.contact-map {
  border: 0;
}

.admin-logout-link {
  padding: 12px 20px;
  color: #bbb;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-login-box {
  max-width: 400px;
  width: 100%;
}

.admin-search-box {
  max-width: 300px;
}

.admin-form-controls {
  max-width: 600px;
}

.admin-table-image {
  max-height: 50px;
  max-width: 50px;
  object-fit: contain;
}

.admin-table-small-image {
  max-height: 50px;
}

.admin-table-width-50 {
  width: 50px;
}

.admin-table-width-120 {
  width: 120px;
}

.card-img-placeholder-hidden {
  display: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-text);
  position: relative;
  min-height: 100vh;
  
  /* Enhanced Elegant Background - Dark Purplish Blue to Dark Gold */
  background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
  color: #f0f0f0;
  
  /* Text wrapping and overflow handling */
  overflow-x: hidden;
  word-wrap: break-word;
  word-break: break-word;
}

/* Modern Shop Page Styles */
.shop-hero {
    background: url('<?= BASE_URL ?>/assets/img/shop-hero-bg.jpg') no-repeat center center;
    background-size: cover;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    color: #fff;
    border-bottom: 4px solid #ffc107;
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.shop-hero-content {
    position: relative;
    z-index: 1;
}

.shop-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.shop-hero-subtitle {
    font-size: 1.25rem;
    color: #e0e0e0;
}

.breadcrumb-item a {
    text-decoration: none;
}

.shop-filters {
    background-color: #2a2a2a;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.filters-title, .products-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #444;
    padding-bottom: 0.5rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.category-card {
    background-color: #333;
    color: #fff;
    text-decoration: none;
    padding: 1.5rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover, .category-card.active {
    background-color: #444;
    border-color: #ffc107;
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #ffc107;
    transition: transform 0.3s ease;
}

.category-label {
    font-weight: 500;
}

.sort-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.results-info {
    color: #ccc;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-select-modern {
    background-color: #444;
    color: #fff;
    border: 1px solid #666;
}

.products-section {
    margin-top: 3rem;
}

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

.product-card-modern {
    background-color: #2c2c2c;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-modern:hover {
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.2);
}

.product-image-container {
    position: relative;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.product-actions {
    display: flex;
    gap: 1rem;
}

.product-action-btn {
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.product-action-btn.primary:hover {
    background-color: #ffc107;
    color: #000;
}

.product-action-btn.secondary:hover {
    background-color: #e83e8c;
    color: #fff;
}

.stock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.3rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.in-stock { background-color: rgba(40, 167, 69, 0.8); }
.low-stock { background-color: rgba(255, 193, 7, 0.8); }
.out-of-stock { background-color: rgba(220, 53, 69, 0.8); }

.product-badges {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    gap: 0.5rem;
}

.product-type-badge, .source-badge, .version-badge {
    padding: 0.3rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.card-badge { background-color: #6f42c1; }
.set-badge { background-color: #007bff; }
.product-badge { background-color: #17a2b8; }
.in-stock-badge { background-color: #28a745; }
.api-badge { background-color: #6c757d; }
.version-badge { background-color: #fd7e14; }

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

.product-title-modern {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-title-modern a {
    color: #fff;
    transition: color 0.3s ease;
}

.product-title-modern a:hover {
    color: #ffc107;
}

.product-meta-modern {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.card-meta, .set-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
}

.rarity-badge {
    font-size: 0.8rem;
}

.product-description-modern {
    font-size: 0.9rem;
    color: #aaa;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.product-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffc107;
}

.product-actions-modern {
    display: flex;
    gap: 0.5rem;
}

.product-btn-primary, .product-btn-secondary {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-btn-primary {
    background-color: #ffc107;
    color: #000;
    border: 1px solid #ffc107;
}

.product-btn-primary:hover {
    background-color: #e0a800;
}

.product-btn-secondary {
    background-color: transparent;
    color: #ffc107;
    border: 1px solid #ffc107;
}

.product-btn-secondary:hover {
    background-color: #ffc107;
    color: #000;
}

.shop-empty-state {
    text-align: center;
    padding: 4rem 1rem;
    background-color: #2a2a2a;
    border-radius: 1rem;
    margin-top: 2rem;
}

.shop-empty-icon {
    font-size: 4rem;
    color: #ffc107;
    margin-bottom: 1.5rem;
}

.shop-empty-title {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
}

.shop-empty-description {
    color: #ccc;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.pagination-section {
    padding: 2rem 0;
}

.page-link {
    transition: all 0.3s ease;
}

.page-item.active .page-link {
    transform: scale(1.1);
}

/* Advanced Search Panel */
.advanced-search-panel {
    background-color: #343a40;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #495057;
}

.panel-title {
    color: #ffc107;
    margin-bottom: 1rem;
}

.search-results-summary {
    background-color: #343a40;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
}

/* Ensure site-background class works properly */
.site-background {
  background: inherit !important;
}

/* Fix for pages that might override the background */
main.site-background {
  background: transparent !important;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Magical sparkle overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(255, 215, 0, 0.08) 1px, transparent 2px),
    radial-gradient(circle at 80% 30%, rgba(139, 92, 246, 0.06) 1px, transparent 2px),
    radial-gradient(circle at 40% 70%, rgba(59, 130, 246, 0.05) 1px, transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(16, 185, 129, 0.04) 1px, transparent 2px);
  background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px;
  animation: sparkleFloat 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes sparkleFloat {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-text-inverse);
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover,
a:focus {
  color: var(--color-link-hover);
}
.text-gold { color: #FFD700 !important; }
.btn-gold {
  background-color: #FFD700;
  color: #000;
  border: none;
}
.btn-outline-gold {
  border: 1px solid #FFD700;
  color: #FFD700;
}
.border-gold {
  border-color: #FFD700 !important;
}
/*--------------------------------------------------------------
  3. Layout Helpers
--------------------------------------------------------------*/
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
}

/* Enhanced text handling */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Ensure proper text wrapping for all text elements */
p, h1, h2, h3, h4, h5, h6, span, div, a {
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

/* Prevent horizontal scrolling */
html {
  overflow-x: hidden;
}

section {
  padding: var(--space-5) 0;
  position: relative;
  z-index: 2;
}

/* Ensure all main content appears above background overlay */
main {
  position: relative;
  z-index: 2;
}

header,
nav,
.navbar {
  position: relative;
  z-index: 1000;
}

footer {
  position: relative;
  z-index: 2;
}

.hero-content,
.card,
.hero-section,
.shop-hero,
.events-hero {
  position: relative;
  z-index: 3;
}

/*--------------------------------------------------------------
  4. Typography Helpers
--------------------------------------------------------------*/
p,
.lead,
.card-text,
label {
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

small {
  font-size: 0.875rem;
  color: var(--color-text);
}

/*--------------------------------------------------------------
  5. Home‐page Hero Styles
--------------------------------------------------------------*/
.home-hero {
  position: relative;
  background-image: url('/assets/img/hero-background.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem;
}

.hero-box {
  max-width: 700px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.hero-box h1 {
  margin-bottom: 0.75rem;
  font-size: 2.5rem;
  line-height: 1.2;
}

.hero-box .lead {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

/*--------------------------------------------------------------
  6. Buttons
--------------------------------------------------------------*/
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary,
.btn.cta,
a.cta {
  background: linear-gradient(90deg, #d4af37, #f5d76e);
  color: #121222;
  font-weight: bold;
  border: none;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}
.btn-primary:hover,
.btn-primary:focus,
.btn.cta:hover,
a.cta:hover {
  color: #121222;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.7);
  transform: translateY(-1px);
}

.btn-outline-primary {
  background: none;
  color: var(--color-accent-secondary);
  border: 1px solid var(--color-accent-secondary);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--color-accent-secondary);
  color: var(--color-bg);
}

/*--------------------------------------------------------------
  7. Navbar, Offcanvas & Modal
--------------------------------------------------------------*/
.navbar {
  background: var(--color-surface-alt);
  padding: var(--space-1) var(--space-4);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  z-index: 9999;
}

/* Modern Navbar Override */
.navbar-modern {
  background: rgba(15, 20, 25, 0.85) !important;
  backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding: 1rem 2rem !important;
  z-index: 2000 !important;
  transition: all 0.3s ease;
}

.navbar-modern:hover {
  background: rgba(15, 20, 25, 0.95) !important;
  border-bottom-color: rgba(255, 215, 0, 0.4);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--color-highlight);
  text-shadow: 1px 1px 2px #000;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  color: var(--gold-color);
}

.navbar-brand img:not(.navbar-logo) {
  max-height: none;
  margin-right: var(--space-2);
}

.navbar-logo {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: rotate(5deg);
}

/* Unified Nav Link styling */
.navbar-nav .nav-link {
  color: var(--color-text-inverse);
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  border-radius: var(--radius-sm);
  margin: 0 0.25rem;
  padding: 0 var(--space-2);
}

.navbar-nav .nav-link:hover {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold-color);
  transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
  background: rgba(255, 215, 0, 0.15);
  color: var(--gold-color);
  font-weight: 700;
}

/* Dark dropdowns */
.navbar-dark .dropdown-menu {
  background: rgba(0, 0, 0, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.navbar-dark .dropdown-item {
  color: #fff !important;
  background-color: transparent !important;
}
.navbar-dark .dropdown-item:hover,
.navbar-dark .dropdown-item:focus {
  background-color: rgba(139, 92, 246, 0.2) !important;
  color: #8b5cf6 !important;
}

/* Modal overrides */
#productModal .modal-content {
  background-color: #343a40;
  color: #fff;
}
#productModal .form-control,
#productModal .form-control:focus {
  background-color: #495057;
  color: #fff;
  border-color: #6c757d;
}
#productModal .form-control::placeholder {
  color: #ced4da;
}
#productModal .form-text,
#productModal .form-label {
  color: #dee2e6;
}
#productModal .btn-close-white {
  filter: invert(1);
}

/* Offcanvas theme */
.offcanvas-dark {
  background-color: var(--color-surface-alt);
}
.offcanvas-dark .offcanvas-header,
.offcanvas-dark .offcanvas-body {
  color: var(--color-text-inverse);
}
.offcanvas-dark .nav-link:hover {
  color: #ccc;
}
.offcanvas-dark .btn-close {
  filter: invert(1);
}
.offcanvas-dark .dropdown-divider {
  border-color: #555;
}

/*--------------------------------------------------------------
  8. Cards & Tables
--------------------------------------------------------------*/
.card {
  background: var(--color-surface);
  color: var(--color-text-inverse);
  border-radius: var(--space-2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-4px);
}
.card h3 {
  margin-bottom: var(--space-3);
}
.card img {
  max-width: 100%;
  border-radius: var(--space-1) var(--space-1) 0 0;
  display: block;
  margin-bottom: var(--space-3);
}
.table-hover tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/*--------------------------------------------------------------
  9. Footer
--------------------------------------------------------------*/
footer {
  background: var(--color-surface-alt);
  color: var(--color-text);
  border-top: 2px solid var(--color-accent-primary);
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent-primary) 50%, transparent 100%);
}

.bg-dark,
.bg-light {
  background: var(--color-bg);
  color: var(--color-text);
}

footer a {
  color: var(--color-accent-primary);
  transition: color 0.3s;
}
footer a:hover {
  color: var(--color-accent-primary-h);
}
footer h5 {
  font-size: 1.1rem;
  margin-bottom: var(--space-3);
  color: var(--color-text-inverse);
}
footer p,
footer li {
  font-size: 0.9rem;
}

/* Footer sections background enhancement */
footer .bg-dark {
  background: var(--color-surface) !important;
  border-bottom: 1px solid rgba(0, 204, 153, 0.2);
}

footer .bg-secondary {
  background: var(--color-bg) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
/* Quick Links */
.footer-quick-links .nav-link {
  position: relative;
  color: var(--color-text);
  padding: var(--space-1) 0;
  transition: color 0.2s;
}
.footer-quick-links .nav-link::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: -1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-accent-secondary);
}
.footer-quick-links .nav-link:hover {
  color: var(--color-link-hover);
}

/*--------------------------------------------------------------
  10. Social & Counters
--------------------------------------------------------------*/
.fs-3 a {
  color: var(--color-text-inverse);
  margin: 0 var(--space-2);
  transition: color 0.3s;
}
.fs-3 a:hover {
  color: var(--color-link-hover);
}
.counter {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-highlight);
}

/*--------------------------------------------------------------
  11. Responsive & Misc
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content .lead {
    font-size: 1rem;
  }
  .counter {
    font-size: 1.5rem;
  }
  .btn {
    font-size: 1rem;
    padding: var(--space-2) var(--space-3);
  }
}

@media (min-width: 992px) {
  /* Show dropdown on hover (desktop) */
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
}

/* Contact page translucent cards */
.contact-section .translucent-card {
  background-color: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* TCGplayer widget override */
#tcgplayer-widget {
  margin-top: var(--space-4);
}
#tcgplayer-widget iframe {
  background-color: transparent !important;
}

/*--------------------------------------------------------------
  12. Login Page Styles
--------------------------------------------------------------*/
.auth-page {
  min-height: 100vh;
  background: var(--color-bg);
  position: relative;
}

.login-section {
  min-height: 100vh;
  padding: var(--space-5) var(--space-3);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(17, 17, 17, 0.9) 100%);
}

.login-container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

/* Much wider container specifically for register page */
body.register-page .login-container {
  max-width: 900px !important;
  width: 95% !important;
}

.login-card {
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--space-3);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(139, 92, 246, 0.1);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.login-card .card-header {
  padding: var(--space-5) var(--space-4) var(--space-3);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, transparent 100%);
}

.login-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-inverse);
  margin-bottom: var(--space-2);
}

.login-subtitle {
  color: var(--color-text);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.login-form {
  padding: var(--space-4);
}

.login-form .form-group {
  margin-bottom: var(--space-4);
}

.login-form .form-floating {
  position: relative;
}

.login-form .form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-inverse);
  border-radius: var(--space-2);
  padding: 1rem;
  height: auto;
  transition: all 0.3s ease;
}

.login-form .form-control:focus,
.form-floating .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25);
  color: var(--color-text-inverse);
}

.login-form .form-floating label,
.form-floating label {
  color: var(--color-text);
  padding-left: 1rem;
}

.login-form .form-control:focus + label,
.login-form .form-control:not(:placeholder-shown) + label,
.form-floating .form-control:focus + label,
.form-floating .form-control:not(:placeholder-shown) + label {
  color: var(--color-accent-primary);
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-text);
  padding: 0.25rem;
  z-index: 10;
}

.password-toggle:hover {
  color: var(--color-accent-primary);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.form-check-label {
  color: var(--color-text);
  font-size: 0.9rem;
}

.forgot-password-link {
  color: var(--color-accent-primary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.forgot-password-link:hover {
  color: var(--color-accent-primary-h);
}

.btn-login {
  width: 100%;
  padding: 0.875rem;
  font-weight: 600;
  border-radius: var(--space-2);
  transition: all 0.3s ease;
}

.login-card .card-footer {
  padding: var(--space-3) var(--space-4) var(--space-4);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.signup-prompt {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--color-text);
}

.signup-link {
  color: var(--color-accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.signup-link:hover {
  color: var(--color-accent-primary-h);
}

/* Social login styles */
.social-login-section {
  padding: var(--space-4) var(--space-4) 0;
}

.btn-social-google,
.btn-social-facebook,
.btn-social-apple {
  width: 100%;
  margin-bottom: var(--space-2);
  padding: 0.875rem;
  border-radius: var(--space-2);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
}

.btn-social-google {
  background: #4285f4;
  border: none;
  color: #fff;
}

.btn-social-google:hover {
  background: #357ae8;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-social-facebook {
  background: #1877f2;
  border: none;
  color: #fff;
}

.btn-social-facebook:hover {
  background: #166fe5;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.btn-social-apple {
  background: #000000;
  border: 1px solid #333333;
  color: #fff;
}

.btn-social-apple:hover {
  background: #1a1a1a;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.divider {
  text-align: center;
  margin: var(--space-4) 0;
  position: relative;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.divider span {
  background: var(--color-surface);
  color: var(--color-text);
  padding: 0 var(--space-3);
  font-size: 0.9rem;
  position: relative;
}

/*--------------------------------------------------------------
  13. Responsive Form Improvements
--------------------------------------------------------------*/

/* Progressive form widths for better desktop utilization */
@media (min-width: 576px) {
    body.register-page .login-container {
        max-width: 950px !important;
        width: 90% !important;
    }
    body.register-page .login-card,
    body.account-page .login-card {
        max-width: 100% !important;
    }
}

@media (min-width: 768px) {
    body.register-page .login-container {
        max-width: 1050px !important;
        width: 90% !important;
    }
    body.register-page .login-card,
    body.account-page .login-card {
        max-width: 100% !important;
    }
}

@media (min-width: 992px) {
    body.register-page .login-container {
        max-width: 1200px !important;
        width: 85% !important;
    }
    body.register-page .login-card,
    body.account-page .login-card {
        max-width: 100% !important;
    }
    
    /* Better form spacing on desktop */
    .login-form .form-group {
        margin-bottom: 1.75rem;
    }
    
    .login-form .form-control {
        padding: 1.25rem;
        font-size: 1rem;
    }
}

@media (min-width: 1200px) {
    body.register-page .login-container {
        max-width: 1400px !important;
        width: 80% !important;
    }
    body.register-page .login-card,
    body.account-page .login-card {
        max-width: 100% !important;
    }
    
    .login-form {
        padding: 3rem;
    }
}

/*--------------------------------------------------------------
  14. Navigation Z-Index and Mobile Fixes
--------------------------------------------------------------*/

/* Ensure proper z-index hierarchy */
.navbar {
    z-index: 1050 !important;
    position: sticky !important;
    top: 0;
}

/* Offcanvas mobile menu */
.offcanvas {
    z-index: 1055 !important;
}

.offcanvas-backdrop {
    z-index: 1054 !important;
}

/* Desktop dropdown menus */
.dropdown-menu {
    z-index: 1060 !important;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Admin-specific modal and dropdown z-index fixes */
body.admin-page .modal {
    z-index: 1070 !important;
}

body.admin-page .modal-backdrop {
    z-index: 1065 !important;
}

body.admin-page .dropdown-menu {
    z-index: 1075 !important;
}

.dropdown-item {
    color: #fff !important;
    background-color: transparent !important;
    transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: rgba(139, 92, 246, 0.2) !important;
    color: #8b5cf6 !important;
}

.dropdown-item:active {
    background-color: rgba(139, 92, 246, 0.3) !important;
    color: #fff !important;
}

/* Mobile navigation improvements */
@media (max-width: 991.98px) {
    /* Ensure navbar toggler is always clickable */
    .navbar-toggler {
        z-index: 1056 !important;
        position: relative;
        border: none !important;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25) !important;
    }
    
    /* Mobile offcanvas styling */
    .offcanvas-dark {
        background: rgba(17, 17, 17, 0.98) !important;
        backdrop-filter: blur(20px);
    }
    
    .offcanvas-body {
        padding-top: 1rem;
    }
    
    /* Mobile dropdown in offcanvas */
    .offcanvas .dropdown-menu {
        position: static !important;
        display: block !important;
        margin: 0.5rem 0 0 1rem !important;
        border: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
        backdrop-filter: blur(10px);
        border-radius: 8px;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
    }
    
    .offcanvas .dropdown-item {
        padding: 0.75rem 1rem;
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 0.9rem;
    }
    
    .offcanvas .dropdown-item:hover {
        background: rgba(139, 92, 246, 0.15) !important;
        color: #8b5cf6 !important;
    }
    
    /* Fix for overlapping content on mobile */
    body {
        padding-top: 0 !important;
    }
    
    /* Add space for fixed navbar on mobile */
    main {
        margin-top: 90px;
    }
}

@media (max-width: 767.98px) {
    main {
        margin-top: 80px;
    }
}

/* Large screen navigation improvements */
@media (min-width: 992px) {
    .navbar-nav .nav-item {
        margin: 0 0.25rem;
    }
    
    .nav-link {
        border-radius: 6px;
        padding: 0.6rem 1rem !important;
        transition: all 0.2s ease;
    }
    
    .nav-link:hover {
        background: rgba(139, 92, 246, 0.1);
        color: #8b5cf6 !important;
    }
    
    /* Dropdown positioning */
    .dropdown-menu {
        margin-top: 0.5rem;
        border-radius: 10px;
        min-width: 200px;
    }
}

/* Logo improvements - Much larger and more prominent */
.navbar-logo {
    height: 70px !important;
    transition: transform 0.2s ease;
    max-width: none;
    width: auto;
}

.navbar-brand {
    padding: 0.25rem 0;
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
}

@media (max-width: 767.98px) {
    .navbar-logo {
        height: 50px !important;
    }
}

@media (min-width: 1200px) {
    .navbar-logo {
        height: 80px !important;
    }
}

@media (min-width: 1400px) {
    .navbar-logo {
        height: 90px !important;
    }
}

/*--------------------------------------------------------------
  15. Enhanced Styling Consistency
--------------------------------------------------------------*/

/* Global Variables Override for Consistency */
:root {
    /* Enhanced consistent color palette */
    --primary-purple: #8b5cf6;
    --primary-purple-hover: #a855f7;
    --primary-purple-light: rgba(139, 92, 246, 0.1);
    --gold-accent: #FFD700;
    --gold-hover: #FFC107;
    
    /* Enhanced background colors - more transparent to show site background */
    --bg-card: rgba(0, 0, 0, 0.3);
    --bg-card-hover: rgba(0, 0, 0, 0.5);
    
    /* Enhanced border and shadow */
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-primary: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.6);
    
    /* Enhanced spacing consistency */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Enhanced border radius consistency */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 15px;
    
    /* Enhanced animation consistency */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* Enhanced button styling consistency */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary,
.btn-login {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-hover) 100%);
    color: var(--color-text-inverse);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover,
.btn-login:hover {
    background: linear-gradient(135deg, var(--primary-purple-hover) 0%, #9333ea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    color: var(--color-text-inverse);
}

.btn-outline-primary {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-purple);
    color: var(--color-text-inverse);
    transform: translateY(-1px);
}

/* Enhanced card styling consistency */
.card,
.login-card,
.product-card {
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-primary);
    transition: all var(--transition-normal);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    /* Ensure text readability with transparent background */
    color: var(--text-primary);
}

.card .card-body,
.card .card-text,
.card .card-title {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
}

.card:hover,
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(139, 92, 246, 0.3);
}

/* Enhanced form styling consistency */
.form-control,
.form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    backdrop-filter: blur(5px);
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-purple) !important;
    box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25) !important;
    color: var(--color-text-inverse);
}

.form-floating > label {
    color: var(--color-text-muted);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-purple);
}

/* Enhanced alert consistency */
.alert {
    border: none;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.alert-success {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border-left: 4px solid #ffc107;
}

.alert-info {
    background: rgba(23, 162, 184, 0.15);
    color: #17a2b8;
    border-left: 4px solid #17a2b8;
}

/* Enhanced table styling consistency */
.table {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-primary);
}

.table-dark {
    --bs-table-bg: transparent;
    border-color: var(--border-color);
}

.table-dark th,
.table-dark td {
    border-color: var(--border-color);
    padding: 1rem;
}

.table-dark th {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    font-weight: 600;
}

/* Enhanced badge consistency */
.badge {
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.35em 0.65em;
}

.badge.bg-primary {
    background: var(--primary-purple) !important;
}

.badge.bg-success {
    background: #28a745 !important;
}

.badge.bg-warning {
    background: var(--gold-accent) !important;
    color: #000 !important;
}

.badge.bg-danger {
    background: #dc3545 !important;
}

/* Enhanced modal consistency */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-md);
}

.modal-title {
    color: var(--primary-purple);
    font-weight: 700;
}

.modal-body {
    color: var(--color-text);
    padding: var(--spacing-md);
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-md);
}

/* Enhanced section styling */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* Duplicate .section-title removed - consolidated above */

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/*--------------------------------------------------------------
  16. Modern UI Enhancements
--------------------------------------------------------------*/

/* Enhanced focus states */
:focus-visible {
  outline: 2px solid var(--color-accent-primary);
  outline-offset: 2px;
  border-radius: var(--space-xs);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading states */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: var(--color-accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

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

/* Enhanced card animations */
.card-enhanced {
  transform-style: preserve-3d;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-enhanced:hover {
  transform: translateY(-8px) rotateX(5deg);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(0, 204, 153, 0.1);
}

/* Gradient backgrounds */
.gradient-primary {
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-primary-h));
}

.gradient-secondary {
  background: linear-gradient(135deg, var(--color-accent-secondary), var(--color-highlight));
}

.gradient-dark {
  background: linear-gradient(135deg, var(--color-bg), var(--color-surface-alt));
}

/* Glass morphism effects */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--space-3);
}

/* Improved text utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--color-accent-primary), var(--color-accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Enhanced button styles */
.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-glow:hover::before {
  left: 100%;
}

.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 204, 153, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 204, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 204, 153, 0); }
}

/* Skeleton loading animations */
.skeleton {
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.1) 25%, 
    rgba(255, 255, 255, 0.2) 50%, 
    rgba(255, 255, 255, 0.1) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Improved responsive utilities */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-2);
  }
  
  .hero-box h1 {
    font-size: 2rem;
  }
  
  .btn {
    font-size: 0.875rem;
    padding: var(--space-2) var(--space-3);
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Dark theme enhancements */
@media (prefers-color-scheme: dark) {
  :root {
    --color-text: #f0f0f0;
    --color-surface: rgba(0, 0, 0, 0.7);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Global form focus override for Bootstrap */
.form-control:focus,
.form-select:focus {
  border-color: var(--color-accent-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25) !important;
}

/* Global dropdown override to fix white text on white background - exclude admin */
.dropdown-menu:not(.admin-dropdown),
.dropdown-menu[data-bs-popper]:not(.admin-dropdown) {
  background: rgba(0, 0, 0, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.dropdown-item:not(.admin-dropdown .dropdown-item),
.dropdown-item:hover:not(.admin-dropdown .dropdown-item),
.dropdown-item:focus,
.dropdown-item:active {
  color: #fff !important;
  background-color: transparent !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: rgba(139, 92, 246, 0.2) !important;
  color: #8b5cf6 !important;
}

.dropdown-item:active {
  background-color: rgba(139, 92, 246, 0.3) !important;
  color: #fff !important;
}

/*--------------------------------------------------------------
  20. Modern Home Page Styles
---------------------------------------------------------------*/

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
  animation: backgroundPulse 8s ease-in-out infinite;
}

.hero-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-particles::before,
.hero-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent-primary);
  border-radius: 50%;
  animation: floatParticles 15s linear infinite;
}

.hero-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.hero-particles::after {
  top: 60%;
  right: 15%;
  animation-delay: 7s;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes floatParticles {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  color: var(--color-accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text-inverse);
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent-primary), var(--gold-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-stats {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent-primary);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-actions .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.hero-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Floating Cards Animation */
.hero-visual {
  position: relative;
  height: 400px;
}

.floating-cards {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  width: 60px;
  height: 80px;
  background: linear-gradient(135deg, var(--bg-card), rgba(139, 92, 246, 0.1));
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: floatCard 6s ease-in-out infinite;
}

.floating-card i {
  color: var(--color-accent-primary);
}

.card-1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 20%;
  right: 20%;
  animation-delay: 1.2s;
}

.card-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 2.4s;
}

.card-4 {
  bottom: 20%;
  right: 10%;
  animation-delay: 3.6s;
}

.card-5 {
  top: 50%;
  left: 50%;
  animation-delay: 4.8s;
  transform: translateX(-50%);
}

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

.magic-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 20s linear infinite;
}

.magic-circle::before,
.magic-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.magic-circle::before {
  width: 150px;
  height: 150px;
  animation: rotate 15s linear infinite reverse;
}

.magic-circle::after {
  width: 100px;
  height: 100px;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--color-accent-primary);
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid var(--color-accent-primary);
  transform: translateX(-50%);
}

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

/* Features Section */
.features-section {
  background: rgba(0, 0, 0, 0.3);
}

.feature-card-modern {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card-modern:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-primary);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--gold-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #fff;
  transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card-modern h5 {
  color: var(--color-text-inverse);
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-card-modern p {
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}

/* Section Styling */
.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 50px;
  color: var(--gold-color);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Duplicate .section-title removed - consolidated above */

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Product Cards Modern */
/* Duplicate .product-card-modern removed - consolidated above */

.product-card-modern:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.product-image-container {
  position: relative;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.product-image-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-text);
}

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

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

.product-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  color: var(--color-text-inverse);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.product-price {
  color: var(--gold-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.product-description {
  color: var(--color-text);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--color-text);
}

.empty-state i {
  color: var(--color-text);
  opacity: 0.5;
}

.empty-state h5 {
  color: var(--color-text-inverse);
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .floating-card {
    width: 40px;
    height: 60px;
    font-size: 1rem;
  }
  
  .magic-circle {
    width: 150px;
    height: 150px;
  }
  
  .magic-circle::before {
    width: 100px;
    height: 100px;
  }
  
  .magic-circle::after {
    width: 70px;
    height: 70px;
  }
}

/* Counter Animation */
.counter {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent-primary);
}

/* Legacy Home Page Sections (for compatibility) */
.upcoming-events-section,
.community-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.community-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 200px;
  text-align: center;
}

.community-stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-accent-primary);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.community-stat-card .counter {
  min-width: 60px;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--gold-color);
}

.card-hover {
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3) !important;
  background: var(--bg-card) !important;
  border-radius: var(--radius-md) !important;
}

.card-hover:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
  border-color: var(--gold-color) !important;
}

.card-hover .card-img-top {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: transform 0.3s ease;
}

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

.card-hover .card-img-container {
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.products-grid .card-hover {
  height: 100%;
  position: relative;
  overflow: hidden;
}

.products-grid .card-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-primary), var(--gold-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.products-grid .card-hover:hover::before {
  opacity: 1;
}

.event-date-badge {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.event-date-badge > div {
  min-width: 80px;
  font-weight: 600;
}

/*--------------------------------------------------------------
  21. Modern Events Page Styles
---------------------------------------------------------------*/

/* Events Page Header */
.events-hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.events-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  animation: backgroundPulse 8s ease-in-out infinite;
}

.events-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.events-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text-inverse);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.events-hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 2rem;
  line-height: 1.4;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Events Hero Breadcrumb */
.events-hero .breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  margin-top: 1rem;
}

.events-hero .breadcrumb-item a {
  color: var(--gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.events-hero .breadcrumb-item a:hover {
  color: var(--color-text-inverse);
}

.events-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.8);
}

/* Filter Section */
.events-filters {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 3rem auto 3rem;
  position: relative;
  z-index: 3;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.filter-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.filter-tab {
  background: transparent;
  border: none;
  color: var(--color-text);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: all 0.3s ease;
  position: relative;
}

.filter-tab.active {
  background: rgba(255, 215, 0, 0.1);
  color: var(--gold-color);
}

.filter-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-color);
}

.search-input-modern {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 1rem 2rem;
  color: var(--color-text-inverse);
  transition: all 0.3s ease;
}

.search-input-modern:focus {
  border-color: var(--gold-color);
  box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.filter-dropdown-modern {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-text-inverse);
  transition: all 0.3s ease;
}

.filter-dropdown-modern:focus {
  border-color: var(--gold-color);
  box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

/* Event Cards Modern */
.event-card-modern {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
}

.event-card-modern:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold-color);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.event-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-primary), var(--gold-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.event-card-modern:hover::before {
  opacity: 1;
}

.event-image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card-modern:hover .event-image {
  transform: scale(1.1);
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(139, 92, 246, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card-modern:hover .event-overlay {
  opacity: 1;
}

.event-quick-actions {
  display: flex;
  gap: 0.5rem;
}

.quick-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--color-accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.quick-action-btn:hover {
  background: var(--gold-color);
  color: var(--bg-primary);
  transform: scale(1.1);
}

.event-date-modern {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 215, 0, 0.95);
  color: var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  text-align: center;
  min-width: 60px;
  backdrop-filter: blur(10px);
}

.event-date-month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
}

.event-date-day {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.event-content-modern {
  padding: 1.5rem;
}

.event-type-badge-modern {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-inverse);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.event-meta-modern {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.event-meta-item {
  display: flex;
  align-items: center;
  color: var(--color-text);
  font-size: 0.9rem;
}

.event-meta-icon {
  color: var(--gold-color);
  margin-right: 0.5rem;
  width: 16px;
}

.event-description-modern {
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.event-actions-modern {
  display: flex;
  gap: 0.75rem;
}

.event-btn-primary {
  flex: 1;
  background: linear-gradient(135deg, var(--color-accent-primary), var(--gold-color));
  border: none;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.event-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.event-btn-secondary {
  background: transparent;
  border: 2px solid var(--gold-color);
  color: var(--gold-color);
  padding: 0.5rem;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.event-btn-secondary:hover {
  background: var(--gold-color);
  color: var(--bg-primary);
  transform: rotate(5deg);
}

/* Event Type Colors */
.event-type-tournament {
  background: rgba(220, 38, 127, 0.9);
  color: #fff;
}

.event-type-draft {
  background: rgba(59, 130, 246, 0.9);
  color: #fff;
}

.event-type-casual {
  background: rgba(34, 197, 94, 0.9);
  color: #fff;
}

.event-type-prerelease {
  background: rgba(255, 215, 0, 0.9);
  color: var(--bg-primary);
}

.event-type-league {
  background: rgba(139, 92, 246, 0.9);
  color: #fff;
}

/* Empty State */
.events-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.events-empty-icon {
  font-size: 4rem;
  color: var(--gold-color);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.events-empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-inverse);
  margin-bottom: 1rem;
}

.events-empty-description {
  color: var(--color-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Modal Enhancements */
.event-modal-modern .modal-content {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.event-modal-modern .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(255, 215, 0, 0.1));
}

/* Responsive Design */
@media (max-width: 768px) {
  .events-hero {
    padding: 3rem 0;
  }
  
  .events-hero-title {
    font-size: 2rem;
  }
  
  .events-hero-subtitle {
    font-size: 1rem;
  }
  
  .events-filters {
    margin: -2rem 1rem 2rem;
    padding: 1.5rem;
  }
  
  .event-card-modern:hover {
    transform: translateY(-4px);
  }
  
  .event-actions-modern {
    flex-direction: column;
  }
  
  .event-btn-secondary {
    width: 100%;
    border-radius: var(--radius-sm);
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* Loading Animation */
.events-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 215, 0, 0.3);
  border-top: 4px solid var(--gold-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/*--------------------------------------------------------------
  22. Modern Shop Page Styles
---------------------------------------------------------------*/

/* Shop Hero Section */
.shop-hero {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.shop-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  animation: backgroundPulse 8s ease-in-out infinite;
}

.shop-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.shop-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text-inverse);
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.shop-hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text);
  margin-bottom: 2rem;
  line-height: 1.4;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Shop Hero Breadcrumb */
.shop-hero .breadcrumb {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  margin-top: 1rem;
}

.shop-hero .breadcrumb-item a {
  color: var(--gold-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.shop-hero .breadcrumb-item a:hover {
  color: var(--color-text-inverse);
}

.shop-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.8);
}

/* Shop Filters */
.shop-filters {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: -3rem auto 3rem;
  position: relative;
  z-index: 3;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.search-input-modern {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 1rem 2rem;
  color: var(--color-text-inverse);
  transition: all 0.3s ease;
}

.search-input-modern:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
  color: var(--color-text-inverse);
}

.category-filters {
  text-align: center;
}

.filters-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-inverse);
  margin-bottom: 1.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s ease;
  cursor: pointer;
}

.category-card:hover,
.category-card.active {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--gold-color);
  color: var(--color-text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.category-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--gold-color);
}

.category-card.active .category-icon {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.15) rotate(-5deg);
  }
  50% {
    transform: scale(1.3) rotate(0deg);
  }
  75% {
    transform: scale(1.15) rotate(5deg);
  }
}

.category-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* Sort Controls */
.sort-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.results-info {
  color: var(--color-text);
  font-weight: 500;
}

.sort-dropdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-dropdown label {
  color: var(--color-text);
  margin: 0;
  font-weight: 500;
}

.sort-select-modern {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-inverse);
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
}

.sort-select-modern:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
  color: var(--color-text-inverse);
}

/* Products Grid */
.products-section {
  margin-top: 3rem;
}

.products-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-inverse);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.products-count {
  background: var(--gold-color);
  color: var(--bg-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

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

.product-card-container {
  position: relative;
}

/* Home page specific product card adjustments */
.home-page .product-card-modern {
  height: auto;
  min-height: 350px;
  max-height: 400px;
}

.home-page .product-image-container {
  height: 160px;
}

.home-page .product-title-modern a {
  font-size: 0.95rem;
  line-height: 1.2;
  -webkit-line-clamp: 2;
}

.home-page .product-description-modern {
  font-size: 0.85rem;
  line-height: 1.3;
  -webkit-line-clamp: 2;
}

/* Duplicate .product-card-modern removed - consolidated above */

.product-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--gold-color);
}

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

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card-modern:hover .product-image {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(139, 92, 246, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-actions {
  display: flex;
  gap: 0.5rem;
}

.product-action-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: var(--color-accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.product-action-btn:hover {
  background: var(--gold-color);
  color: var(--bg-primary);
  transform: scale(1.15);
}

.product-action-btn.secondary:hover {
  background: #e53e3e;
  color: #fff;
}

/* Product Badges */
.stock-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stock-badge.in-stock {
  background: rgba(34, 197, 94, 0.9);
  color: #fff;
}

.stock-badge.low-stock {
  background: rgba(245, 158, 11, 0.9);
  color: #fff;
}

.stock-badge.out-of-stock {
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
}

.product-type-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 215, 0, 0.9);
  color: var(--bg-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Product Content */
.product-content-modern {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title-modern {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-inverse);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.product-title-modern a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-title-modern a:hover {
  color: var(--gold-color);
}

.product-meta-modern {
  color: var(--color-text);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-category {
  opacity: 0.8;
}

.product-description-modern {
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  flex: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-rating .stars {
  display: flex;
  gap: 0.125rem;
}

.product-rating .rating-text {
  color: var(--color-text);
  font-size: 0.8rem;
}

.product-footer-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  gap: 1rem;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-color);
}

.product-actions-modern {
  display: flex;
  gap: 0.5rem;
}

.product-btn-primary {
  background: linear-gradient(135deg, var(--color-accent-primary), var(--gold-color));
  border: none;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.product-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  color: #fff;
}

.product-btn-secondary {
  background: transparent;
  border: 2px solid var(--gold-color);
  color: var(--gold-color);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.product-btn-secondary:hover {
  background: var(--gold-color);
  color: var(--bg-primary);
}

/* Empty State */
.shop-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 3rem 0;
}

.shop-empty-icon {
  font-size: 4rem;
  color: var(--gold-color);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}

.shop-empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-inverse);
  margin-bottom: 1rem;
}

.shop-empty-description {
  color: var(--color-text);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .shop-hero {
    padding: 3rem 0;
  }
  
  .shop-hero-title {
    font-size: 2rem;
  }
  
  .shop-hero-subtitle {
    font-size: 1rem;
  }
  
  .shop-filters {
    margin: -2rem 1rem 2rem;
    padding: 1.5rem;
  }
  
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .sort-controls {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .offcanvas {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
}

/*--------------------------------------------------------------
  25. Professional Hero Section
--------------------------------------------------------------*/

.hero-section-professional {
  background: linear-gradient(135deg, #0f1419 0%, #1a202c 20%, #2d1b69 40%, #1e3a8a 60%, #0f172a 100%);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.06) 0%, transparent 50%);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-main-content {
  position: relative;
  z-index: 2;
}

.trust-indicators {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 6px;
  color: #ffd700;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.hero-title-professional {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.highlight-text {
  background: linear-gradient(135deg, #8b5cf6, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-professional {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #e2e8f0;
  max-width: 550px;
  margin-bottom: 2rem;
}

.value-props {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.value-prop-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e2e8f0;
  font-weight: 500;
}

.value-prop-item i {
  font-size: 1.25rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-professional {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  font-size: 1rem;
}

.btn-primary-pro {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary-pro:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  color: #fff;
}

.btn-secondary-pro {
  background: transparent;
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.5);
}

.btn-secondary-pro:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: #ffd700;
  color: #ffd700;
  transform: translateY(-2px);
}

.hero-sidebar {
  position: relative;
  z-index: 2;
}

.hero-stats-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.hero-stats-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(255, 215, 0, 0.05));
  border-radius: 16px;
  z-index: -1;
}

.stats-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row:last-of-type {
  border-bottom: none;
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b5cf6;
  font-size: 1.25rem;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 800;
  color: #ffd700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
}

.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-decoration: none;
  color: #e2e8f0;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.quick-link:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.quick-link i {
  font-size: 1.25rem;
  color: #8b5cf6;
}

.quick-link span {
  font-size: 0.875rem;
  font-weight: 500;
}

.scroll-indicator-professional {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-indicator-professional:hover {
  color: #ffd700;
  transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator-professional span {
  font-size: 0.875rem;
  font-weight: 500;
}

.scroll-indicator-professional i {
  animation: bounce 2s infinite;
}

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

/* Responsive Design for Professional Hero */
@media (max-width: 991.98px) {
  .hero-title-professional {
    font-size: 2.5rem;
  }
  
  .hero-subtitle-professional {
    font-size: 1rem;
  }
  
  .value-props {
    justify-content: center;
    text-align: center;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-stats-card {
    margin-top: 3rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title-professional {
    font-size: 2rem;
    text-align: center;
  }
  
  .hero-subtitle-professional {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .trust-indicators {
    justify-content: center;
  }
  
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-professional {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .quick-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .hero-title-professional {
    font-size: 1.75rem;
  }
  
  .value-props {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-stats-card {
    padding: 1.5rem;
  }
  
  .stat-row {
    padding: 0.75rem 0;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
}

/*--------------------------------------------------------------
  26. Modern Search Page Styles
--------------------------------------------------------------*/

.search-hero-section {
  background: linear-gradient(135deg, #0f1419 0%, #1a202c 25%, #2d1b69 50%, #1e3a8a 75%, #0f172a 100%);
  background-size: 400% 400%;
  animation: gradientShift 25s ease infinite;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.search-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 85% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
}

.search-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.search-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.search-hero-subtitle {
  font-size: 1.25rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.search-main-section {
  padding: 4rem 0;
  background: var(--bg-primary);
}

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

.modern-search-form {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.modern-search-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(255, 215, 0, 0.05));
  border-radius: 16px;
  z-index: -1;
}

.quick-search-form .input-group-lg .form-control {
  background: rgba(45, 55, 72, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
  border-radius: 12px 0 0 12px;
  transition: all 0.3s ease;
}

.quick-search-form .input-group-lg .form-control:focus {
  background: rgba(45, 55, 72, 0.9);
  border-color: #ffd700;
  box-shadow: 0 0 0 0.3rem rgba(255, 215, 0, 0.25);
  color: #fff;
}

.quick-search-form .btn {
  padding: 1rem 2rem;
  border-radius: 0 12px 12px 0;
  border: 2px solid #ffd700;
  background: linear-gradient(135deg, #ffd700, #f59e0b);
  color: #000;
  font-weight: 600;
  transition: all 0.3s ease;
}

.quick-search-form .btn:hover {
  background: linear-gradient(135deg, #f59e0b, #ffd700);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.advanced-filters-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1rem;
}

.filters-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.advanced-search-form .form-floating > .form-control,
.advanced-search-form .form-floating > .form-select {
  background: rgba(45, 55, 72, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
}

.advanced-search-form .form-floating > .form-control:focus,
.advanced-search-form .form-floating > .form-select:focus {
  background: rgba(45, 55, 72, 0.9);
  border-color: #ffd700;
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
  color: #fff;
}

.advanced-search-form .form-floating > label {
  color: #cbd5e1;
}

.btn-check:checked + .btn {
  background: linear-gradient(135deg, #ffd700, #f59e0b) !important;
  border-color: #ffd700 !important;
  color: #000 !important;
  font-weight: 600;
}

.form-check-input:checked {
  background-color: #ffd700;
  border-color: #ffd700;
}

.modern-results-section {
  margin-top: 2rem;
}

/* Search Results Grid - Simplified Approach */
.modern-results-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  margin-top: 2rem;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  width: 100% !important;
}

.modern-result-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 100px !important;
  height: 160px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  flex-basis: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  /* Override AOS styles */
  transform: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.modern-result-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
}

.result-card-modern {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  flex-shrink: 0 !important;
}

/* Card Images - Fixed Dimensions */
.modern-result-card .card-img-top,
.modern-result-card img {
  width: 100% !important;
  height: 110px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  transition: transform 0.3s ease;
}

.modern-result-card:hover .card-img-top,
.modern-result-card:hover img {
  transform: scale(1.05);
}

/* Card Content - Fixed Dimensions */
.modern-result-card .card-body {
  background: transparent !important;
  border: none !important;
  padding: 0.25rem !important;
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 0.6rem !important;
  height: 50px !important;
  overflow: hidden;
}

/* Override inline styles */
.modern-result-card .card-img-container img[style] {
  height: 140px !important;
}

.modern-result-card .card-img-placeholder {
  height: 140px !important;
}

/* Card Title - Compact */
.modern-result-card .card-title {
  font-size: 0.75rem !important;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 0.25rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #ffd700 !important;
}

/* Card Text - Compact */
.modern-result-card .card-text,
.modern-result-card .card-body > div,
.modern-result-card .card-body > small {
  font-size: 0.65rem !important;
  line-height: 1.2;
  margin-bottom: 0.25rem !important;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Buttons - Compact */
.modern-result-card .btn {
  font-size: 0.65rem !important;
  padding: 0.25rem 0.5rem !important;
  margin-top: auto;
}

/* Badges - Compact */
.modern-result-card .badge {
  font-size: 0.6rem !important;
  padding: 0.2rem 0.4rem !important;
}

.modern-welcome-section {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
}

.modern-welcome-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(255, 215, 0, 0.05));
  border-radius: 16px;
  z-index: -1;
}

.modern-welcome-section .feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
}

.modern-welcome-section .feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 215, 0, 0.6);
}

/* Duplicate .section-title removed - consolidated above */

.pagination .page-link {
  background: rgba(45, 55, 72, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #ffd700;
  border-radius: 8px;
  margin: 0 0.25rem;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: #ffd700;
  color: #ffd700;
  transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #ffd700, #f59e0b);
  border-color: #ffd700;
  color: #000;
  font-weight: 600;
}

.no-results-message {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
}

/* Responsive Design for Search Page */
@media (max-width: 991.98px) {
  .search-hero-title {
    font-size: 2.5rem;
  }
  
  .search-hero-subtitle {
    font-size: 1.125rem;
  }
  
  .modern-search-form {
    padding: 2rem;
  }
  
  .modern-results-grid {
    gap: 0.375rem;
  }
  
  .modern-result-card {
    width: 90px;
    height: 140px;
  }
}

@media (max-width: 767.98px) {
  .search-hero-section {
    padding: 6rem 0 3rem;
  }
  
  .search-hero-title {
    font-size: 2rem;
  }
  
  .search-hero-subtitle {
    font-size: 1rem;
  }
  
  .modern-search-form {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .quick-search-form .input-group {
    flex-direction: column;
  }
  
  .quick-search-form .input-group-lg .form-control {
    border-radius: 12px;
    margin-bottom: 0.5rem;
  }
  
  .quick-search-form .btn {
    border-radius: 12px;
    width: 100%;
  }
  
  .advanced-filters-card {
    padding: 1.5rem;
  }
  
  .modern-results-grid {
    gap: 0.375rem;
    justify-content: center;
  }
  
  .modern-result-card {
    width: 80px;
    height: 130px;
  }
  
  .modern-result-card .card-img-top,
  .modern-result-card img {
    height: 90px !important;
  }
  
  .modern-result-card .card-body {
    height: 40px !important;
    padding: 0.25rem !important;
  }
  
  .modern-welcome-section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .search-hero-section {
    padding: 4rem 0 2rem;
  }
  
  .search-hero-title {
    font-size: 1.75rem;
  }
  
  .modern-search-form {
    padding: 1rem;
  }
  
  .advanced-filters-card {
    padding: 1rem;
  }
  
  .modern-welcome-section {
    padding: 2rem 1rem;
  }
  
  .modern-welcome-section .feature-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
}

/*--------------------------------------------------------------
  27. Modern Contact Page Styles
--------------------------------------------------------------*/

.contact-hero-section {
  background: linear-gradient(135deg, #0f1419 0%, #1a202c 25%, #2d1b69 50%, #1e3a8a 75%, #0f172a 100%);
  background-size: 400% 400%;
  animation: gradientShift 25s ease infinite;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.contact-hero-subtitle {
  font-size: 1.25rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced Account Page Styles */
.account-sidebar {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.profile-card {
  text-align: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.profile-avatar {
  margin-bottom: 1rem;
}

.profile-info h4 {
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  display: block;
  font-size: 1.25rem;
  font-weight: bold;
  color: #ffd700;
}

.stat-label {
  font-size: 0.75rem;
  color: #999;
  text-transform: uppercase;
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.account-nav .nav-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #ccc;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.account-nav .nav-item:hover {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
}

.account-nav .nav-item.active {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
  border-left: 3px solid #ffd700;
}

.tab-content {
  display: none;
}

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

.content-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.content-header h2 {
  margin-bottom: 0.5rem;
}

.modern-form {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.form-section {
  margin-bottom: 2rem;
}

/* Duplicate .section-title removed - consolidated above */

.settings-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.setting-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-control {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.setting-info {
  flex: 1;
}

.setting-label {
  display: block;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}

.setting-description {
  margin: 0;
  font-size: 0.875rem;
  color: #999;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.security-section {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 15px;
  padding: 2rem;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 215, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.order-id {
  font-weight: bold;
  color: #ffd700;
  margin: 0;
}

.order-date {
  font-size: 0.875rem;
  color: #999;
}

.order-total {
  font-size: 1.25rem;
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.favorite-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid rgba(255, 215, 0, 0.1);
  text-align: center;
}

.card-image {
  margin-bottom: 1rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.card-name {
  color: #fff;
  margin-bottom: 0.5rem;
}

.card-price {
  font-weight: bold;
  margin-top: 0.5rem;
}

.card-actions {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .account-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }
  
  .account-nav .nav-item {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .favorites-grid {
    grid-template-columns: 1fr;
  }
}

.contact-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.contact-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #ffd700;
  text-align: center;
}

.contact-stat-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-stat-item span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
}

.contact-main-section {
  padding: 4rem 0;
  background: var(--bg-primary);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.contact-info-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  height: fit-content;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(255, 215, 0, 0.05));
  border-radius: 16px;
  z-index: -1;
}

.contact-form-card {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(255, 215, 0, 0.08));
  border-radius: 16px;
  z-index: -1;
}

.info-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-section-title {
  color: #ffd700;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.info-item i {
  font-size: 1.25rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.info-item strong {
  color: #ffd700;
  font-weight: 600;
}

.info-item a {
  color: #ffd700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: #fff;
  text-decoration: underline;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: #e2e8f0;
  font-weight: 500;
  transition: all 0.3s ease;
}

.services-list li:hover {
  color: #fff;
  transform: translateX(5px);
}

.services-list li i {
  font-size: 1rem;
  color: #ffd700;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-subtitle {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 0;
}

.contact-form-card .form-floating > .form-control,
.contact-form-card .form-floating > .form-select,
.contact-form-card .form-floating > textarea {
  background: rgba(45, 55, 72, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-form-card .form-floating > .form-control:focus,
.contact-form-card .form-floating > .form-select:focus,
.contact-form-card .form-floating > textarea:focus {
  background: rgba(45, 55, 72, 0.9);
  border-color: #ffd700;
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
  color: #fff;
}

.contact-form-card .form-floating > label {
  color: #cbd5e1;
}

.contact-form-card .btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  border: none;
  padding: 0.875rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
}

.contact-form-card .btn-primary:hover {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.contact-map-section {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
}

.contact-map-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(255, 215, 0, 0.05));
  border-radius: 16px;
  z-index: -1;
}

.map-header {
  text-align: center;
  margin-bottom: 2rem;
}

.map-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.map-subtitle {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 0;
}

.ratio {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 215, 0, 0.3);
  background: rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Contact Page */
@media (max-width: 991.98px) {
  .contact-hero-title {
    font-size: 2.5rem;
  }
  
  .contact-hero-subtitle {
    font-size: 1.125rem;
  }
  
  .contact-stats {
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-info-card,
  .contact-form-card,
  .contact-map-section {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .contact-hero-section {
    padding: 6rem 0 3rem;
  }
  
  .contact-hero-title {
    font-size: 2rem;
  }
  
  .contact-hero-subtitle {
    font-size: 1rem;
  }
  
  .contact-stats {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .contact-stat-item {
    flex-direction: row;
    gap: 1rem;
  }
  
  .contact-stat-item i {
    font-size: 1.5rem;
    margin-bottom: 0;
  }
  
  .contact-info-card,
  .contact-form-card,
  .contact-map-section {
    padding: 1.5rem;
  }
  
  .info-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .services-list li {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .contact-hero-section {
    padding: 4rem 0 2rem;
  }
  
  .contact-hero-title {
    font-size: 1.75rem;
  }
  
  .contact-main-section {
    padding: 3rem 0;
  }
  
  .contact-info-card,
  .contact-form-card,
  .contact-map-section {
    padding: 1rem;
  }
  
  .form-header,
  .map-header {
    margin-bottom: 1.5rem;
  }
  
  .form-title,
  .map-title {
    font-size: 1.25rem;
  }
  
  .contact-form-card .btn-primary {
    padding: 1rem 2rem;
  }
}

/*--------------------------------------------------------------
  28. Modern Authentication Pages Styles
--------------------------------------------------------------*/

.auth-hero-section {
  background: linear-gradient(135deg, #0f1419 0%, #1a202c 25%, #2d1b69 50%, #1e3a8a 75%, #0f172a 100%);
  background-size: 400% 400%;
  animation: gradientShift 25s ease infinite;
  padding: 6rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.auth-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 40%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 75% 60%, rgba(255, 215, 0, 0.1) 0%, transparent 60%);
}

.auth-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.auth-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.auth-hero-subtitle {
  font-size: 1.125rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.auth-trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #ffd700;
  text-align: center;
}

.trust-indicator i {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.trust-indicator span {
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
}

.auth-main-section {
  padding: 3rem 0 5rem;
  background: var(--bg-primary);
}

.auth-container {
  max-width: 480px;
  margin: 0 auto;
}

.auth-card {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 3rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(255, 215, 0, 0.05));
  border-radius: 16px;
  z-index: -1;
}

.auth-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.auth-subtitle {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 0;
}

.social-auth-section {
  margin-bottom: 2rem;
}

.social-title {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.875rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-social i {
  font-size: 1.25rem;
  width: 20px;
  text-align: center;
}

.btn-social span {
  flex: 1;
  text-align: center;
}

.btn-social::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.btn-social:hover::before {
  left: 100%;
}

.btn-social-google {
  background: rgba(219, 68, 55, 0.1);
  border-color: rgba(219, 68, 55, 0.3);
  color: #db4437;
}

.btn-social-google:hover {
  background: rgba(219, 68, 55, 0.2);
  border-color: #db4437;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(219, 68, 55, 0.3);
}

.btn-social-facebook {
  background: rgba(66, 103, 178, 0.1);
  border-color: rgba(66, 103, 178, 0.3);
  color: #4267B2;
}

.btn-social-facebook:hover {
  background: rgba(66, 103, 178, 0.2);
  border-color: #4267B2;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(66, 103, 178, 0.3);
}

.btn-social-apple {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-social-apple:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: #ffffff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.auth-divider {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.auth-divider span {
  background: rgba(0, 0, 0, 0.8);
  color: #cbd5e1;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.email-auth-section {
  margin-bottom: 2rem;
}

.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-form .form-floating > .form-control {
  background: rgba(45, 55, 72, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
  padding-right: 3rem;
}

.auth-form .form-floating > .form-control:focus {
  background: rgba(45, 55, 72, 0.9);
  border-color: #ffd700;
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
  color: #fff;
}

.auth-form .form-floating > label {
  color: #cbd5e1;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 1rem;
  z-index: 4;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #ffd700;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-check-input {
  accent-color: #ffd700;
  margin: 0;
}

.form-check-label {
  color: #e2e8f0;
  font-size: 0.875rem;
  margin: 0;
  cursor: pointer;
}

.forgot-password-link {
  color: #ffd700;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-password-link:hover {
  color: #fff;
  text-decoration: underline;
}

.btn-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-auth::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.btn-auth:hover::before {
  left: 100%;
}

.btn-auth-primary {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-auth-primary:hover {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  color: #fff;
}

.auth-card-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.auth-signup-prompt {
  margin-bottom: 1.5rem;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.auth-signup-link {
  color: #ffd700;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.auth-signup-link:hover {
  color: #fff;
  text-decoration: underline;
}

.auth-help-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.help-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.help-link:hover {
  color: #ffd700;
}

/* Responsive Design for Auth Pages */
@media (max-width: 767.98px) {
  .auth-hero-section {
    padding: 4rem 0 2rem;
  }
  
  .auth-hero-title {
    font-size: 2rem;
  }
  
  .auth-hero-subtitle {
    font-size: 1rem;
  }
  
  .auth-trust-indicators {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .trust-indicator {
    flex-direction: row;
    gap: 1rem;
  }
  
  .trust-indicator i {
    font-size: 1.5rem;
    margin-bottom: 0;
  }
  
  .auth-main-section {
    padding: 2rem 0 3rem;
  }
  
  .auth-card {
    margin: 0 1rem;
    padding: 2rem;
  }
  
  .auth-title {
    font-size: 1.75rem;
  }
  
  .social-buttons {
    gap: 0.5rem;
  }
  
  .btn-social {
    padding: 0.75rem 1rem;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .auth-help-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 575.98px) {
  .auth-hero-section {
    padding: 3rem 0 1.5rem;
  }
  
  .auth-hero-title {
    font-size: 1.75rem;
  }
  
  .auth-card {
    padding: 1.5rem;
  }
  
  .auth-title {
    font-size: 1.5rem;
  }
  
  .btn-social span {
    font-size: 0.875rem;
  }
  
  .btn-auth {
    padding: 0.875rem 1.5rem;
  }
}

/* Two-Factor Authentication Method Cards */
.tfa-method-card {
    background: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tfa-method-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

.tfa-method-card h6 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tfa-method-card .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
}

/* Security status cards for 2FA settings page */
.security-status {
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.security-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.security-status h6 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Backup code styling */
.backup-code {
    display: block;
    background: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    padding: 0.75rem;
    margin: 0.25rem 0;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-align: center;
    font-weight: bold;
    color: var(--color-text);
}

/* QR code container */
#qrcode canvas {
    max-width: 200px;
    height: auto;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    padding: 10px;
    background: white;
}

/* 2FA settings page specific styles */
.tfa-settings-page .card {
    background: var(--color-background-secondary);
    border: 1px solid var(--color-border);
}

.tfa-settings-page .card-header {
    background: var(--color-background-tertiary);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

.tfa-settings-page .alert-info {
    background-color: rgba(13, 202, 240, 0.1);
    border-color: rgba(13, 202, 240, 0.2);
    color: var(--color-text);
}

.tfa-settings-page .alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
    color: var(--color-text);
}

/* Responsive improvements for 2FA cards */
@media (max-width: 768px) {
    .tfa-method-card {
        padding: 1rem 0.5rem;
        margin-bottom: 1rem;
    }
    
    .tfa-method-card i {
        font-size: 1.5rem !important;
    }
    
    .security-status {
        padding: 1rem;
        margin-bottom: 1rem;
    }
}