body {
  background: #0b1220;
  color: #e9eefc;
}

.bg-surface {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: radial-gradient(1200px circle at 10% 10%, rgba(74, 222, 128, 0.22), transparent 45%),
              radial-gradient(1000px circle at 90% 0%, rgba(99, 102, 241, 0.22), transparent 40%),
              linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(15, 23, 42, 0.95));
}

.hero::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: conic-gradient(from 180deg, rgba(59, 130, 246, 0.35), rgba(16, 185, 129, 0.35), rgba(168, 85, 247, 0.35), rgba(59, 130, 246, 0.35));
  filter: blur(55px);
  opacity: 0.55;
  animation: floatGlow 10s ease-in-out infinite;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
  transform: scale(1.04);
  pointer-events: none;
}

.card-img-top {
  height: 210px;
  object-fit: cover;
}

.listing-hero-img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.thumb-sm {
  width: 48px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(20px, -10px, 0) rotate(8deg); }
}

.hero-badges .badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e9eefc;
}

.card-hover {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .card-hover {
    transition: none;
  }
  .card-hover:hover {
    transform: none;
  }
}

.card .text-muted {
  color: rgba(233, 238, 252, 0.68) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  border: 0;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.24);
}

.nav-glass {
  background: rgba(10, 15, 28, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.navbar-toggler-amber {
  border-color: rgba(255, 193, 7, 0.55);
}

.navbar-toggler-amber:focus {
  box-shadow: 0 0 0 .2rem rgba(255, 193, 7, 0.20);
}

.navbar-toggler-amber .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,193,7,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-brand {
  max-width: 100%;
}

.navbar-brand .brand-logo {
  height: 28px;
  max-width: 140px;
}

.navbar-brand .brand-name {
  display: inline-block;
  max-width: 165px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

@media (min-width: 992px) {
  .navbar-brand .brand-logo {
    max-width: 300px;
  }
  .navbar-brand .brand-name {
    max-width: 360px;
  }
}

.table {
  color: #e9eefc;
}

.table thead th {
  color: rgb(30 67 170 / 78%);
}

.vendor-listings-table thead th {
  color: rgb(30 67 170 / 78%);
}

.admin-users-table {
  background-color: #1172d2;
}

.admin-users-table,
.admin-users-table th,
.admin-users-table td {
  color: #fff;
}

.admin-users-table thead th {
  color: #0a58ca;
}

.admin-users-table.users-table td {
  color: #6c757d;
}

.admin-users-table .text-white-50 {
  --bs-text-opacity: 1;
  color: #0979e9 !important;
}

.admin-users-table .btn-outline-light {
  border-color: #ffc107;
  background-color: #ffc107;
}

.admin-listings-table .btn-outline-light {
  border-color: #ffc107;
  background-color: #ffc107;
}

.form-control, .form-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e9eefc;
}

.form-select,
.form-select option {
  color: #000000 !important;
}

.form-select option {
  background-color: #ffffff;
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-select::placeholder {
  color: #6c757d;
  opacity: 1;
}

.form-control::-ms-input-placeholder {
  color: #6c757d;
}

.form-control::-webkit-input-placeholder {
  color: #6c757d;
}

.form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 .2rem rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.45);
  background: rgba(255, 255, 255, 0.07);
  color: #e9eefc;
}

.link-muted {
  color: rgba(233, 238, 252, 0.72);
}

.link-muted:hover {
  color: #fff;
}

[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}
