/* ==========================================
   NeoLite ULTRA PREMIUM MODERN UI
   Stripe + Linear + Vercel Inspired
========================================== */



/* =========================================
   🔥 PREMIUM NAVBAR
========================================= */
.navbar {
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.75) !important;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* Floating navbar on scroll */
.navbar.sticky-top {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Soft buttons */
.btn-soft {
  background: rgba(99,102,241,0.08);
  color: #1e194a
;
  border: none;
}

.btn-soft:hover {
  background: rgba(99,102,241,0.15);
  transform: translateY(-2px);
  box-shadow: var(--neo-glow);
}

/* Theme toggle glow */
#themeToggle:hover {
  transform: rotate(15deg) scale(1.05);
}

/* Avatar glow */
.navbar img.rounded-circle {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}





/* =========================================
   💎 GLASS CARDS
========================================= */


/* Card hover lift */
.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}



/* =========================================
   ✨ KPI ICON GLOW
========================================= */
.kpi-icon {
  font-size: 1.4rem;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg,#1e194a
,#1e194a
);
  color: #fff;
  box-shadow: var(--neo-glow);
}

/* =========================================
   💳 CREDIT CARD UPGRADE
========================================= */
.credit-card {
  background: linear-gradient(135deg,#1e3a8a,#2563eb);
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(37,99,235,0.45);
  position: relative;
  overflow: hidden;
}

/* Moving shine effect */
.credit-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg,transparent,rgba(255,255,255,.35),transparent);
  transform: rotate(25deg);
}

.credit-card:hover::before {
  animation: shine 1.2s linear;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

/* =========================================
   📊 CHART GLOW
========================================= */
canvas {
  filter: drop-shadow(0 8px 18px rgba(99,102,241,0.15));
}

/* =========================================
   🧠 TABLE MODERN
========================================= */
.table-hover tbody tr:hover {
  background: rgba(99,102,241,0.06);
  transform: scale(1.01);
}

/* Avatar stack glow */
.avatar-stack img {
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -6px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* =========================================
   🔘 BUTTON INTERACTIONS
========================================= */
.btn {
  border-radius: 12px;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Click ripple feel */
.btn:active {
  transform: scale(.96);
}

/* =========================================
   🌙 DARK MODE UPGRADE
========================================= */
[data-bs-theme="dark"] body {
  background: linear-gradient(180deg,#020617,#0f172a);
}

[data-bs-theme="dark"] .card {
  background: rgba(15,23,42,.7);
}

[data-bs-theme="dark"] .navbar {
  background: rgba(2,6,23,.7) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

[data-bs-theme="dark"] .table {
  color: #cbd5f5;
}

/* =========================================
   ✨ PAGE LOAD ANIMATION
========================================= */
main {
  animation: fadeUp .6s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================
   🖱️ MODERN SCROLLBAR
========================================= */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(#1e194a
,#1e194a
);
  border-radius: 10px;
}

/* =========================================
   📱 MOBILE POLISH
========================================= */
@media (max-width:768px) {
  .card:hover {
    transform: none;
  }
}


/* ===============================
   🚀 PREMIUM MODERN TABLE
================================ */

/* Card table container */
.table-modern-card{
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid #eef2f7;
}

/* Table base */
.table{
  --bs-table-bg: transparent;
  margin-bottom: 0;
}

/* Header */
.table thead{
  background: linear-gradient(180deg,#fafbff,#f5f7ff);
}

.table thead th{
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #64748b;
  border-bottom: 1px solid #eef2f7;
  padding: 14px 16px;
}

/* Rows */
.table tbody tr{
  transition: all .2s ease;
  border-bottom: 1px solid #f1f5f9;
}

/* Hover effect */
.table-hover tbody tr:hover{
  background: #f8faff;
  transform: scale(1.002);
  box-shadow: inset 0 0 0 1px #e0e7ff;
}

/* Cells */
.table td{
  padding: 16px;
  vertical-align: middle;
  font-size: 14px;
  color: #0f172a;
}

/* User avatar */
.table .rounded-circle{
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  transition: .2s ease;
}
.table tr:hover .rounded-circle{
  transform: scale(1.05);
}

/* Stacked avatars */
.table .me-n2{
  transition: .2s ease;
}
.table tr:hover .me-n2{
  transform: translateY(-2px);
}

/* Status badges */
.badge{
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .3px;
}

/* Subtle badge colors */
.bg-success-subtle{
  background: #ecfdf5 !important;
}
.bg-danger-subtle{
  background: #fef2f2 !important;
}
.bg-primary-subtle{
  background: #eef2ff !important;
}

/* Dropdown dots */
.bi-three-dots-vertical{
  opacity: .6;
  transition: .2s ease;
}
.table tr:hover .bi-three-dots-vertical{
  opacity: 1;
  transform: scale(1.1);
}

/* Dropdown menu modern */
.dropdown-menu{
  border-radius: 12px;
  border: 1px solid #eef2f7;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  padding: 6px;
}

.dropdown-item{
  border-radius: 8px;
  font-size: 14px;
  transition: .2s ease;
}

.dropdown-item:hover{
  background: #f1f5ff;
  color: #1e194a
;
  transform: translateX(4px);
}


/* ===============================
   🔥 NEXT GEN TABLE HEADER
================================ */

.table thead{
  position: relative;
  background: linear-gradient(135deg,#ffffff,#f8faff);
  backdrop-filter: blur(8px);
}

/* Glass sticky header */
.table thead th{
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(180deg,#ffffff,#f9fbff);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #64748b;
  padding: 16px 18px;
  border-bottom: 1px solid #eef2f7;
  transition: all .25s ease;
}

/* Subtle header separator glow */
.table thead::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    #1e194a
,
    transparent);
  opacity: .15;
}

/* Hover effect on header columns */
.table thead th:hover{
  color: #1e194a
;
  background: #f1f5ff;
  cursor: pointer;
}

/* Animated underline on hover */
.table thead th{
  position: relative;
}

.table thead th::after{
  content: "";
  position: absolute;
  left: 20%;
  bottom: 6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg,#1e194a
,#1e194a
);
  border-radius: 2px;
  transition: width .25s ease;
}

.table thead th:hover::after{
  width: 60%;
}

/* Modern sort indicator */
.table thead th::before{
  content: "⇅";
  position: absolute;
  right: 12px;
  font-size: 10px;
  opacity: 0;
  transition: .2s ease;
}

.table thead th:hover::before{
  opacity: .4;
}

/* ===============================
   🔥 ULTRA MODERN TABLE HEADER
================================ */

/* Gradient glass header */
.table thead{
  background: linear-gradient(135deg,#ffffff,#f8faff);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 0;
}

/* Header cells */
.table thead th{
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #475569;
  padding: 16px 18px;
  border-bottom: 1px solid transparent;
  position: relative;
  transition: .25s ease;
}

/* Gradient bottom border */
.table thead th::after{
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg,#1e194a
,#1e194a
,#1e194a
);
  opacity: .15;
  transition: .25s ease;
}

/* Hover glow effect */
.table thead th:hover{
  color: #1e194a
;
}

.table thead th:hover::after{
  opacity: .8;
  height: 3px;
}

/* Divider between header columns */
.table thead th:not(:last-child){
  border-right: 1px solid #f1f5f9;
}

/* Subtle shadow under header */
.table thead{
  box-shadow: 0 6px 12px rgba(15,23,42,0.04);
}

/* Optional icon alignment */
.table thead th i,
.table thead th svg{
  margin-left: 6px;
  opacity: .6;
  transition: .2s ease;
}

.table thead th:hover i,
.table thead th:hover svg{
  opacity: 1;
  transform: translateY(-1px);
}

    .fs-4 {
        font-size: 1.0rem !important;
    }


    /* ===============================
   🔢 S.No Circle Badge
================================ */

.sno-circle{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #f3740b
;
  background: linear-gradient(135deg,#eef2ff,#e0e7ff);
  border: 1px solid #c16605;
  box-shadow: 0 4px 10px rgba(180, 97, 2, 0.15);
  transition: all .25s ease;
}

/* Hover animation (table row hover) */
.table-hover tbody tr:hover .sno-circle{
  transform: scale(1.15);
  background: linear-gradient(135deg,#f3740b
,#f3740b);
  color: #fff;
  box-shadow: 0 8px 20px rgba(99,102,241,0.35);
}

/* Glass variant */
.glass-table .sno-circle{
  backdrop-filter: blur(6px);
  background: rgba(99,102,241,0.08);
}

.table-select-filter{
    /* --bs-form-select-bg-img: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e); */
    display: block;
    /* width: 100%; */
    padding: .375rem 2.25rem .375rem .75rem;
    /* font-size: 14px; */
    /* font-weight: 400; */
    /* line-height: 1.5; */
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}




