html {
  font-size: 16px;
  position: relative;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  background: #f8fafc;
  color: #0f172a;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

a {
  color: #0f6cfb;
  text-decoration: none;
}

a:hover {
  color: #143fe6;
}

a.nav-link {
  font-weight: 600;
  transition: all 0.3s ease;
}

a.nav-link:hover {
  color: #0f6cfb !important;
  transform: translateY(-2px);
}

.navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  font-weight: 700;
}

.btn-accent {
  background: linear-gradient(135deg, #0f6cfb, #143fe6);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 108, 251, 0.25);
  transition: all 0.3s ease;
}

.btn-accent:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(15, 108, 251, 0.35);
}

.hero {
  background: radial-gradient(circle at 20% 20%, rgba(15, 108, 251, 0.08), transparent 25%),
    radial-gradient(circle at 80% 10%, rgba(255, 179, 71, 0.12), transparent 22%),
    #fff;
  border-radius: 24px;
  padding: 3rem;
  border: 1px solid #e7ebf3;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.hero h1 {
  font-weight: 800;
  line-height: 1.1;
}

.hero .meta {
  color: #6b7280;
  font-weight: 600;
}

.section-title {
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.card {
  border: none;
  transition: all 0.3s ease;
}

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

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

.feature-card,
.info-card,
.gallery-card {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  height: 100%;
  transition: all 0.3s ease;
}

.feature-card:hover,
.info-card:hover,
.gallery-card:hover {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.feature-card .badge {
  background: rgba(15, 108, 251, 0.08);
  color: #0f6cfb;
  font-weight: 700;
}

.info-card h3 {
  font-weight: 700;
}

.divider {
  height: 1px;
  background: #e7ebf3;
  margin: 1.5rem 0;
}

.table.tickets-table th {
  border-top: none;
}

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

.gallery-card {
  background: linear-gradient(145deg, rgba(15, 108, 251, 0.08), rgba(255, 179, 71, 0.12));
  border: none;
  color: #0f172a;
  text-align: center;
}

.footer {
  background: #fff;
  border-top: 1px solid #e7ebf3;
}

.footer a {
  white-space: normal;
}

.footer .d-flex {
  flex-wrap: wrap;
}

/* Modern Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #0f6cfb, #143fe6);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #143fe6, #0f6cfb);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 108, 251, 0.3);
}

.btn-light:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* List Group Enhancements */
.list-group-item {
  border: none;
  border-bottom: 1px solid #e7ebf3;
  background: transparent;
  transition: all 0.3s ease;
}

.list-group-item:hover {
  background: rgba(15, 108, 251, 0.05);
  padding-left: 1rem;
}

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

@media (max-width: 768px) {
  .hero {
    padding: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}
.trade-day-pie {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(#f97316 calc(var(--value, 0) * 1%), #e2e8f0 0);
  display: grid;
  place-items: center;
  position: relative;
}

.trade-day-pie::after {
  content: '';
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px #e2e8f0;
}

.trade-day-action-column {
  width: 90px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #0f6cfb 0%, #7c3aed 100%) !important;
  color: white;
}

.admin-shell {
  min-height: 70vh;
}

.admin-sidebar-col,
.admin-content-col {
  transition: all 0.25s ease;
}

.admin-shell.admin-menu-collapsed .admin-sidebar-col {
  display: none !important;
}

.admin-shell.admin-menu-collapsed .admin-content-col {
  flex: 0 0 100%;
  max-width: 100%;
}

.admin-nav-card {
  top: 1.25rem;
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.admin-sidebar-toggle {
  border-radius: 10px;
  font-weight: 600;
}

.admin-nav-links .list-group-item {
  border: 0;
  border-radius: 10px;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #1f2937;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.admin-nav-links .list-group-item:last-child {
  margin-bottom: 0;
}

.admin-nav-links .list-group-item:hover {
  transform: none;
  padding-left: 0.75rem;
  background: #eef4ff;
  color: #0f6cfb;
}

.admin-nav-links .list-group-item.active {
  background: linear-gradient(135deg, #0f6cfb, #143fe6);
  color: #fff;
}

.admin-nav-group {
  margin-bottom: 0.8rem;
}

.admin-nav-group-title {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 800;
  color: #64748b;
  padding: 0.4rem 0.45rem;
}

.admin-logout-btn {
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  color: #dc2626;
}

.admin-logout-btn:hover {
  background: #fef2f2;
  color: #b91c1c;
}

.admin-content-card {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  padding: 1.25rem;
}

.admin-page-header h1 {
  font-weight: 800;
  color: #0f172a;
}

.admin-dashboard-card {
  border: 1px solid #e7ebf3;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.admin-dashboard-card:hover {
  border-color: #c8dbff;
  box-shadow: 0 12px 28px rgba(15, 108, 251, 0.12);
}

.admin-dashboard-card h2 {
  color: #0f172a;
  font-weight: 700;
}

.login-page-wrap {
  min-height: calc(100vh - 260px);
  display: flex;
  align-items: center;
  padding: 2.5rem 0;
}

.login-panel {
  border: 1px solid #e7ebf3;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

.login-panel .card-body {
  padding: 2rem;
}

.login-side {
  background: linear-gradient(145deg, #0f6cfb 0%, #1d4ed8 55%, #7c3aed 100%);
  color: #fff;
  min-height: 100%;
  padding: 2rem;
}

.login-side h2 {
  font-weight: 800;
}

@media (max-width: 991.98px) {
  .admin-content-card {
    padding: 1rem;
  }

  .offcanvas .admin-nav-links .list-group-item {
    margin-bottom: 0.5rem;
  }

  #vendorMenuOffcanvas .vendor-nav-links {
    margin-top: 0.25rem;
  }

  #vendorMenuOffcanvas .offcanvas-body {
    padding-top: 1.25rem;
  }

  #vendorMenuOffcanvas .vendor-nav-links > .list-group-item:not(form) {
    min-height: 44px;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }

  #vendorMenuOffcanvas .vendor-nav-links .list-group-item.active,
  #vendorMenuOffcanvas .vendor-nav-links .list-group-item.active .vendor-nav-link-label {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
  }

  #vendorMenuOffcanvas .vendor-nav-links > .list-group-item:first-child {
    margin-top: 0.25rem;
  }

  .login-side {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 1.5rem;
  }
}

.vendor-login-wrap {
  min-height: calc(100vh - 260px);
  display: flex;
  align-items: center;
  padding: 2.5rem 0;
}

.vendor-login-panel {
  border: 1px solid #dbe4f4;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.vendor-login-side {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.2), transparent 35%),
    linear-gradient(150deg, #0f172a 0%, #0f6cfb 55%, #0ea5e9 100%);
  color: #fff;
  min-height: 100%;
  padding: 2rem;
}

.vendor-login-eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}

.vendor-login-check {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  font-size: 0.93rem;
  margin-bottom: 0.65rem;
}

.vendor-shell {
  min-height: 70vh;
}

.vendor-sidebar-col,
.vendor-content-col {
  transition: all 0.25s ease;
}

.vendor-shell.vendor-menu-collapsed .vendor-sidebar-col {
  display: none !important;
}

.vendor-shell.vendor-menu-collapsed .vendor-content-col {
  flex: 0 0 100%;
  max-width: 100%;
}

.vendor-nav-card {
  top: 1.25rem;
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 14px;
  padding: 0.5rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.vendor-sidebar-toggle {
  border-radius: 10px;
  font-weight: 600;
}

.vendor-nav-links .list-group-item {
  border: 0;
  border-radius: 10px;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #1f2937;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.vendor-nav-links .list-group-item:hover {
  transform: none;
  padding-left: 0.75rem;
  background: #eef4ff;
  color: #0f6cfb;
}

.vendor-nav-links .list-group-item.active {
  background: linear-gradient(135deg, #0f6cfb, #143fe6);
  color: #fff;
}

.vendor-nav-link-label {
  display: block;
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

.vendor-logout-btn {
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  color: #dc2626;
}

.vendor-logout-btn:hover {
  background: #fef2f2;
  color: #b91c1c;
}

.vendor-content-card {
  background: #fff;
  border: 1px solid #e7ebf3;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  padding: 1.25rem;
}

.vendor-dashboard {
  position: relative;
}

.vendor-page-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #0f6cfb;
  text-transform: uppercase;
}

.vendor-stat-card {
  border: 1px solid #dfe8f8;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(15, 108, 251, 0.12), transparent 33%),
    #fff;
  padding: 1rem;
}

.vendor-stat-label {
  font-size: 0.83rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.vendor-stat-value {
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  margin: 0.5rem 0 0.35rem;
  color: #0f172a;
}

.vendor-stat-meta {
  font-size: 0.88rem;
  color: #475569;
}

.vendor-info-card {
  border: 1px solid #e7ebf3;
  border-radius: 16px;
  background: #fff;
  padding: 1rem 1.1rem;
}

.vendor-info-card h2 {
  font-weight: 700;
}

.vendor-kv-list {
  display: grid;
  grid-template-columns: minmax(110px, 165px) 1fr;
  gap: 0.55rem 1rem;
}

.vendor-kv-list dt {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
}

.vendor-kv-list dd {
  margin: 0;
  color: #0f172a;
  font-weight: 500;
  word-break: break-word;
}

.vendor-history-table th {
  font-size: 0.86rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-top: 0;
}

.vendor-stage-filter-card {
  border: 1px solid #dfe8f8;
  border-radius: 14px;
  background: #f8fbff;
  padding: 1rem;
}

.vendor-stage-rules {
  padding-left: 1.1rem;
  color: #334155;
}

.vendor-stage-rules li {
  margin-bottom: 0.4rem;
}

.vendor-stage-rules li:last-child {
  margin-bottom: 0;
}

.vendor-stage-table th {
  font-size: 0.86rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-top: 0;
}

.vendor-stage-table td {
  vertical-align: middle;
}

.vendor-slot-btn {
  font-weight: 600;
  border-radius: 10px;
}

.vendor-slot-locked {
  display: flex;
  align-items: center;
  min-height: 38px;
}

.vendor-pending-card {
  border-color: #facc15;
  background: #fffbeb;
}

.vendor-payment-box {
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.9rem 1rem;
}

.vendor-bank-box {
  border: 1px dashed #93c5fd;
  border-radius: 10px;
  background: #eff6ff;
  padding: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .vendor-content-card {
    padding: 1rem;
  }

  .vendor-kv-list {
    grid-template-columns: 1fr;
  }

  .vendor-kv-list dt {
    margin-top: 0.35rem;
  }

  .vendor-login-side {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 1.5rem;
  }
}
