/* Blue-Black Theme Enhancements */

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #020c18;
}
::-webkit-scrollbar-thumb {
  background: #2563eb;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* Blue glow on primary buttons */
.btn-primary,
.btn.btn-primary {
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.35);
  transition: box-shadow 0.2s ease;
}
.btn-primary:hover,
.btn.btn-primary:hover {
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.55);
}

/* Subtle blue border on cards */
.card {
  border-color: rgba(37, 99, 235, 0.18) !important;
}

/* Blue selection highlight */
::selection {
  background: rgba(37, 99, 235, 0.4);
  color: #fff;
}

/* ── Customer Dashboard / Sidebar ── */
.py-5-nav .card {
  background: linear-gradient(135deg, #0a1a35 0%, #05101e 100%) !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.08);
}

.py-5-nav .card h4,
.py-5-nav .card h5 {
  color: #ffffff;
}

.py-5-nav .card p,
.py-5-nav .card small {
  color: #94a3b8;
}

/* Sidebar nav links */
.py-5-nav .nav-pills .nav-link {
  color: #93c5fd;
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.py-5-nav .nav-pills .nav-link:hover {
  background: rgba(37, 99, 235, 0.15) !important;
  border-color: rgba(37, 99, 235, 0.35);
  color: #ffffff;
}

.py-5-nav .nav-pills .nav-link.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

/* Invoice link color */
.py-5-nav a.text-muted {
  color: #64748b !important;
}

/* Divider in sidebar */
.py-5-nav .card hr {
  border-color: rgba(37, 99, 235, 0.2);
}

/* ── Product Page Buttons (Add to Cart / Buy Now) ── */
.product-page .btn-outline-primary,
form .btn-outline-primary {
  background: rgba(37, 99, 235, 0.08) !important;
  border: 1px solid rgba(37, 99, 235, 0.45) !important;
  color: #93c5fd !important;
  border-radius: 10px;
  transition: all 0.25s ease;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.1);
}

.product-page .btn-outline-primary:hover,
form .btn-outline-primary:hover {
  background: rgba(37, 99, 235, 0.2) !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.35);
}

/* Add to Cart & Buy Now buttons on product page */
.buy-buttons .btn-primary,
.buy-buttons .btn-outline-primary {
  background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
  border: 1px solid #3b82f6 !important;
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.35);
  transition: all 0.25s ease;
}

.buy-buttons .btn-primary:hover,
.buy-buttons .btn-outline-primary:hover {
  background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
  box-shadow: 0 0 28px rgba(59, 130, 246, 0.55);
  transform: translateY(-1px);
}

.buy-buttons .btn-primary:disabled {
  opacity: 0.6;
}

/* MY CART button (after add) */
.btn[class*="btn-primary"][disabled],
.btn-primary:disabled {
  background: rgba(37, 99, 235, 0.15) !important;
  border-color: rgba(37, 99, 235, 0.3) !important;
  color: #93c5fd !important;
}