body {
  color: #1a1a1a;
  background-color: #ffffff;
}

.modal-backdrop.show {
  backdrop-filter: blur(8px);
  background-color: rgba(15, 23, 42, 0.7);
}

.modal-content {
  border-radius: 1rem;
  background-color: var(--primary-bg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2) !important;
}

.modal-body {
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
}

.btn-primary {
  background-color: #0056b3;
  border: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #004494;
  transform: scale(1.02);
}

.btn-primary:active {
  transform: scale(0.98);
}

.cart-item {
  transition: background 0.2s ease;
}

.form-control:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.15);
}

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

/* Mobile Adjustments */
@media (max-width: 576px) {
  .modal-dialog {
    margin: 0.5rem;
  }
  .modal-content {
    max-height: 95vh !important;
  }
  .cart-item img {
    width: 50px !important;
    height: 50px !important;
  }
}