/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo img {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed
  .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu)
  .layout-page {
  padding-top: 74px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.docs-page
  .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu)
  .layout-page,
.docs-page
  .layout-menu-fixed.layout-wrapper:not(.layout-without-menu)
  .layout-page {
  padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.template-customizer-open-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-purple {
  background-color: #696cff;
  border-color: #696cff;
  color: #fff;
}
.btn-purple:hover {
  background-color: #5958c7;
  border-color: #5958c7;
  color: #fff;
}

.dashboard-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.stat-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stat-icon {
  font-size: 40px;
}

.stat-title {
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}

.stat-value {
  font-size: 24px;
  font-weight: bold;
  color: #2d4739;
  margin-top: 10px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(77, 182, 172, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* WhatsApp style unread badge */
.wa-unread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  min-width: 18px;
  padding: 0 6px; /* 2+ haneli sayılar için */
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--bs-primary); /* istersen yeşil: #25D366 */
}

/* ===========================
   WATER BOTTLE - FINAL
   =========================== */

.water-bottle-wrap {
  position: relative;
  width: 180px;
  margin: 0 auto;
  padding-top: 62px; /* kapak/neck boşluğu */
  overflow: visible;
}

/* === SABİT MAVİ KAPAK === */
.water-bottle-cap {
  position: absolute;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 30px;
  border-radius: 12px 12px 14px 14px;
  background: linear-gradient(to bottom, #2f8cff, #0f5fe0);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    inset 0 4px 6px rgba(255, 255, 255, 0.35),
    0 10px 16px rgba(0, 0, 0, 0.45);
  z-index: 30;
}

/* Kapak üst highlight */
.water-bottle-cap::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  right: 7px;
  height: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.22);
  opacity: 0.6;
}

/* Kapakta plastik diş detayları */
.water-bottle-cap::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 5px;
  height: 8px;
  border-radius: 10px;
  opacity: 0.75;
  background: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.22) 0 3px,
    rgba(255, 255, 255, 0) 3px 6px
  );
}

/* %100 olunca kapağa glow ring */
.water-bottle-cap.is-full {
  box-shadow:
    inset 0 4px 6px rgba(255, 255, 255, 0.35),
    0 10px 16px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(47, 140, 255, 0.2),
    0 0 18px rgba(47, 140, 255, 0.35);
  animation: capRing 1.6s ease-in-out infinite;
}

@keyframes capRing {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.02);
  }
}

/* === BOYUN (DAR ÜST) === */
.water-bottle-neck {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 48px;
  border-radius: 20px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-bottom: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.1);
  z-index: 20;
}

/* === ŞİŞE GÖVDE === */
.water-bottle {
  position: relative;
  width: 112px;
  height: 260px;
  margin: 0 auto;
  border-radius: 44px 44px 34px 34px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.02)
  );
  overflow: hidden; /* su/ışık gövde içinde kalsın */
  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.35);
  z-index: 10;
}

/* === SU DOLUM === */
.water-fill {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0;
  border-radius: 0 0 34px 34px;
  background: linear-gradient(
    to top,
    rgba(0, 123, 255, 0.92),
    rgba(0, 190, 255, 0.7)
  );
  transition: height 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden; /* dalgalar/bubbles su içinde kalsın */
}

/* Su yüzeyi highlight */
.water-fill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0)
  );
  opacity: 0.55;
  pointer-events: none;
}

/* İçte hareketli ışıltı */
.water-fill::after {
  content: "";
  position: absolute;
  inset: -40px -60px;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.18) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(255, 255, 255, 0.14) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 45% 80%,
      rgba(255, 255, 255, 0.12) 0 2px,
      transparent 3px
    );
  opacity: 0.3;
  animation: waterSparkle 6s linear infinite;
  pointer-events: none;
}

@keyframes waterSparkle {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.26;
  }
  50% {
    transform: translate3d(18px, -10px, 0);
    opacity: 0.38;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.26;
  }
}

/* === DALGA KATMANLARI (su yüzeyi) === */
.water-wave {
  position: absolute;
  left: -35%;
  width: 170%;
  height: 42px;
  top: -18px; /* su yüzeyi */
  border-radius: 50%;
  filter: blur(0.2px);
  opacity: 0.55;
  pointer-events: none;
}

.water-wave-1 {
  background: radial-gradient(
    circle at 50% 60%,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0) 55%
  );
  animation: waveMove1 3.6s ease-in-out infinite;
}

.water-wave-2 {
  top: -22px;
  opacity: 0.35;
  background: radial-gradient(
    circle at 50% 60%,
    rgba(255, 255, 255, 0.28),
    rgba(255, 255, 255, 0) 60%
  );
  animation: waveMove2 5.2s ease-in-out infinite;
}

@keyframes waveMove1 {
  0% {
    transform: translateX(-2%) rotate(-1deg);
  }
  50% {
    transform: translateX(2%) rotate(1deg);
  }
  100% {
    transform: translateX(-2%) rotate(-1deg);
  }
}
@keyframes waveMove2 {
  0% {
    transform: translateX(2%) rotate(1deg);
  }
  50% {
    transform: translateX(-2%) rotate(-1deg);
  }
  100% {
    transform: translateX(2%) rotate(1deg);
  }
}

/* === KABARCIK ANİMASYONU === */
.bubble {
  position: absolute;
  bottom: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 0;
  filter: blur(0.1px);
  pointer-events: none;
}

/* doluluk arttıkça bubble daha görünür */
.water-fill .bubble {
  opacity: 0.18;
}

/* farklı boyut/konum/süre */
.b1 {
  left: 18%;
  width: 4px;
  height: 4px;
  animation: bubbleUp 3.6s linear infinite;
  animation-delay: 0.2s;
}
.b2 {
  left: 34%;
  width: 6px;
  height: 6px;
  animation: bubbleUp 4.4s linear infinite;
  animation-delay: 1.1s;
}
.b3 {
  left: 52%;
  width: 5px;
  height: 5px;
  animation: bubbleUp 3.9s linear infinite;
  animation-delay: 0.6s;
}
.b4 {
  left: 68%;
  width: 7px;
  height: 7px;
  animation: bubbleUp 5.1s linear infinite;
  animation-delay: 1.6s;
}
.b5 {
  left: 78%;
  width: 4px;
  height: 4px;
  animation: bubbleUp 3.2s linear infinite;
  animation-delay: 0.9s;
}
.b6 {
  left: 26%;
  width: 7px;
  height: 7px;
  animation: bubbleUp 5.6s linear infinite;
  animation-delay: 2.2s;
}

@keyframes bubbleUp {
  0% {
    transform: translateY(0) scale(0.95);
    opacity: 0;
  }
  10% {
    opacity: 0.18;
  }
  60% {
    opacity: 0.22;
  }
  100% {
    transform: translateY(-180px) scale(1.15);
    opacity: 0;
  }
}

/* === CAM PARLAMA === */
.water-gloss {
  position: absolute;
  top: 22px;
  left: 18px;
  width: 22px;
  height: 72%;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(0.3px);
  opacity: 0.9;
  pointer-events: none;
}

/* === %100 OLUNCA PARLAMA === */
.water-bottle.is-full {
  animation: bottleGlow 1.6s ease-in-out infinite;
  border-color: rgba(47, 140, 255, 0.65);
  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, 0.1),
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 22px rgba(47, 140, 255, 0.35);
}

@keyframes bottleGlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

.water-bottle.is-full .water-fill::before {
  opacity: 0.85;
}

/* === Toast === */
.yp-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(20, 20, 20, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.yp-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.yp-toast .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(47, 140, 255, 1);
  box-shadow: 0 0 0 4px rgba(47, 140, 255, 0.22);
}

/* === Damla animasyonu === */
.drop {
  position: absolute;
  left: 18px;
  top: -6px;
  width: 12px;
  height: 12px;
  background: rgba(47, 140, 255, 1);
  border-radius: 50% 50% 50% 50%;
  transform: rotate(45deg);
  opacity: 0;
  pointer-events: none;
}
.drop::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  background: inherit;
  border-radius: 50%;
  transform: translateY(-6px);
}
.drop.play {
  animation: dropFall 0.62s ease-out forwards;
}
@keyframes dropFall {
  0% {
    transform: translateY(-10px) rotate(45deg) scale(0.9);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateY(18px) rotate(45deg) scale(0.95);
    opacity: 0;
  }
}

/* === Hedef aşınca turuncu tema === */
.water-bottle.is-over .water-fill {
  background: linear-gradient(
    to top,
    rgba(255, 159, 67, 0.95),
    rgba(255, 205, 120, 0.75)
  );
}
.water-bottle.is-over {
  border-color: rgba(255, 159, 67, 0.65);
  box-shadow:
    inset 0 0 12px rgba(255, 255, 255, 0.1),
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 22px rgba(255, 159, 67, 0.25);
}
.water-bottle-cap.is-over {
  box-shadow:
    inset 0 4px 6px rgba(255, 255, 255, 0.35),
    0 10px 16px rgba(0, 0, 0, 0.45),
    0 0 0 4px rgba(255, 159, 67, 0.18),
    0 0 18px rgba(255, 159, 67, 0.28);
}

/* ===========================
   CALORIE BATTERY (ENERGY)
   =========================== */

.cal-battery {
  width: 220px;
  max-width: 100%;
}

.cal-battery-shell {
  position: relative;
  height: 46px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  box-shadow:
    inset 0 8px 14px rgba(0, 0, 0, 0.18),
    0 12px 22px rgba(0, 0, 0, 0.22);
}

.cal-battery-cap {
  width: 10px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  margin-left: auto;
  margin-top: -35px;
  margin-right: -14px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* dolum */
.cal-battery-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(
    to right,
    rgba(255, 172, 47, 0.95),
    rgba(255, 165, 47, 0.55)
  );
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ortadaki şimşek (fill üstünde sabit) */
.cal-battery-bolt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}

.cal-battery-bolt i {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow:
    0 8px 18px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(47, 140, 255, 0.35);
  transform: translateY(-1px);
}

/* bolt arkasında cam/ışık efekti */
.cal-battery-bolt::before {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(3px);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.06);
}

/* pil gloss */
.cal-battery-gloss {
  position: absolute;
  top: 6px;
  left: 10px;
  width: 26px;
  height: 34px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(0.3px);
  z-index: 4;
  pointer-events: none;
}

/* metin */
.cal-battery-text {
  margin-top: 10px;
}

/* Hedef aşınca turuncu */
.cal-battery.is-over .cal-battery-fill {
  background: linear-gradient(
    to right,
    rgba(255, 80, 67, 0.95),
    rgba(255, 125, 120, 0.7)
  );
}

.cal-battery.is-over .cal-battery-bolt i {
  text-shadow:
    0 8px 18px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(255, 159, 67, 0.35);
}

/* %100+ gibi durumlarda hafif enerji pulse */
.cal-battery.is-over .cal-battery-bolt::before {
  animation: boltPulse 1.6s ease-in-out infinite;
  border-color: rgba(255, 159, 67, 0.22);
}
@keyframes boltPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

.cal-battery-bolt i {
  animation: boltBlink 2.4s ease-in-out infinite;
}
@keyframes boltBlink {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}

.energy-battery-wrap {
  max-width: 220px;
  margin: 0 auto;
}

/* ===========================
   CALORIE BUTTON SPARK
   =========================== */
#quickAddCal {
  overflow: hidden;
}
#quickAddCal .spark {
  position: absolute;
  left: 28px; /* ikon hizası */
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 6px rgba(255, 72, 120, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}
#quickAddCal .spark.play {
  animation: sparkPop 0.55s ease-out forwards;
}

#quickAddCal .spark::before,
#quickAddCal .spark::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: inherit;
  opacity: 0.6;
}
#quickAddCal .spark::before {
  transform: translate(-12px, 8px) scale(0.55);
}
#quickAddCal .spark::after {
  transform: translate(12px, 10px) scale(0.45);
}

@keyframes sparkPop {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.7);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(16px) scale(1.25);
  }
}

/* ===========================
   BATTERY CHARGE SWEEP
   =========================== */
.cal-battery-shell {
  position: relative;
}
.cal-charge-sweep {
  position: absolute;
  top: 0;
  left: -35%;
  width: 35%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.22),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  z-index: 6;
}
.cal-charge-sweep.play {
  opacity: 1;
  animation: sweepMove 0.55s ease-out forwards;
}
@keyframes sweepMove {
  0% {
    left: -35%;
    opacity: 0;
  }
  15% {
    opacity: 0.65;
  }
  100% {
    left: 110%;
    opacity: 0;
  }
}

/* ===========================
   OVER LIMIT SHAKE
   =========================== */
#quickAddCal.shake {
  animation: btnShake 0.35s ease-in-out;
}
@keyframes btnShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  50% {
    transform: translateX(3px);
  }
  75% {
    transform: translateX(-2px);
  }
}

/* ======================================================DEMO====================================================== */
.layout-floating-stack {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1090;
  width: min(760px, calc(100% - 24px));
  display: grid;
  gap: 0.75rem;
  pointer-events: none;
}

.layout-floating-stack > * {
  pointer-events: auto;
}

.layout-floating-alert {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  animation: layoutSlideDown 0.25s ease;
}

.layout-floating-alert .btn-close {
  transform: scale(0.8);
}

.layout-notification-alert {
  padding: 0.85rem 0.95rem;
  background: rgba(var(--bs-body-bg-rgb), 0.96);
}

.layout-notification-icon {
  width: 38px;
  height: 38px;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 1.25rem;
}

.layout-notification-title {
  font-weight: 800;
  color: var(--bs-heading-color);
  line-height: 1.2;
}

.layout-notification-message {
  color: var(--bs-secondary-color);
  font-size: 0.84rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.layout-notification-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.45rem;
}

@keyframes layoutSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767.98px) {
  .layout-floating-stack {
    top: 68px;
    width: calc(100% - 18px);
  }

  .layout-notification-alert {
    padding: 0.75rem;
  }
}

.pars-topbar {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.05rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(242, 169, 0, 0.1),
      transparent 22%
    ),
    var(--bs-body-bg);
  box-shadow: 0 0.35rem 1rem rgba(67, 89, 113, 0.08);
  padding: 0.55rem 0.75rem;
  margin-bottom: 1rem;
}

.pars-topbar-title {
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.1;
  margin: 0;
  color: var(--bs-heading-color);
}

.pars-topbar-sub {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
  color: var(--bs-secondary-color);
  font-size: 0.76rem;
}

.pars-topbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  background: rgba(133, 146, 163, 0.06);
  color: var(--bs-secondary-color);
  font-size: 0.74rem;
  font-weight: 650;
  white-space: nowrap;
}

.pars-topbar-chip i {
  color: #f2a900;
  font-size: 0.88rem;
}

.pars-topbar-icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-heading-color);
  background: rgba(133, 146, 163, 0.08);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.pars-topbar-icon-btn:hover,
.pars-topbar-icon-btn.show {
  color: var(--bs-primary);
  background: rgba(105, 108, 255, 0.12);
  border-color: rgba(105, 108, 255, 0.18);
}

.pars-topbar-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-weight: 850;
}

.pars-shortcut-grid {
  max-height: 420px;
  overflow: auto;
}

.pars-shortcut-item {
  position: relative;
  padding: 1rem;
  min-height: 118px;
  text-align: center;
  transition: all 0.15s ease;
}

.pars-shortcut-item:hover {
  background: rgba(105, 108, 255, 0.06);
}

.pars-shortcut-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
}

.pars-shortcut-title {
  font-weight: 750;
  color: var(--bs-heading-color);
  display: block;
}

.pars-shortcut-desc {
  font-size: 0.74rem;
  color: var(--bs-secondary-color);
}

.maintenance-floating-alert {
  position: fixed;
  top: 82px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1090;
  width: min(720px, calc(100% - 24px));
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
  animation: maintenanceSlideDown 0.25s ease;
}

@keyframes maintenanceSlideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 767.98px) {
  .pars-topbar {
    border-radius: 0.9rem;
    padding: 0.55rem;
  }

  .pars-topbar-title {
    font-size: 0.98rem;
  }

  .pars-topbar-sub {
    gap: 0.35rem;
  }

  .pars-topbar-chip.hide-mobile {
    display: none;
  }
}

.bank-card,
.bank-filter-card,
.bank-matrix-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.bank-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.bank-kpi-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.bank-kpi-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.bank-kpi-danger {
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
}

.bank-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.9rem;
}

.bank-live-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 1rem;
  background: var(--bs-body-bg);
  transition: all 0.18s ease;
}

.bank-live-card:hover {
  transform: translateY(-2px);
  border-color: rgba(105, 108, 255, 0.55);
  box-shadow: 0 0.45rem 1.1rem rgba(67, 89, 113, 0.1);
}

.bank-live-icon {
  width: 38px;
  height: 38px;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.2rem;
}

.bank-table-wrap {
  overflow: auto;
  position: relative;
  max-width: 100%;
}

.bank-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

.bank-table th,
.bank-table td {
  white-space: nowrap;
  vertical-align: middle;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  padding: 0.42rem 0.6rem;
  font-size: 0.82rem;
}

.bank-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

html.dark-style .bank-table thead th {
  background: #2b2c40;
}

.bank-sticky-main {
  position: sticky;
  left: 0;
  z-index: 35;
  min-width: 225px;
  width: 225px;
  max-width: 225px;
  background: var(--bs-body-bg) !important;
  box-shadow: 1px 0 0 var(--bs-border-color);
}

.bank-table thead .bank-sticky-main {
  z-index: 55;
  background: #fff !important;
}

html.dark-style .bank-table thead .bank-sticky-main {
  background: #2b2c40 !important;
}

.bank-date-head {
  min-width: 145px;
}

.bank-row-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.bank-row-icon {
  width: 34px;
  height: 34px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
}

.bank-amount-stack {
  line-height: 1.2;
}

.bank-amount-stack small {
  display: block;
  margin-top: 0.12rem;
}

.bank-cell-ok {
  background: rgba(40, 199, 111, 0.09) !important;
}

.bank-cell-warning {
  background: rgba(255, 171, 0, 0.12) !important;
}

.bank-cell-danger {
  background: rgba(255, 62, 29, 0.1) !important;
}

.bank-total-cell {
  background: rgba(105, 108, 255, 0.1) !important;
  color: var(--bs-primary);
  font-weight: 800;
}

.bank-day-total td {
  background: rgba(105, 108, 255, 0.08) !important;
  font-weight: 800;
}

.bank-day-total .bank-sticky-main {
  background: #eef0ff !important;
}

html.dark-style .bank-day-total .bank-sticky-main {
  background: #313350 !important;
}

.bank-link {
  text-decoration: none;
  display: block;
}

.bank-link:hover {
  text-decoration: underline;
}

.bank-empty {
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.bank-count-badge {
  font-size: 0.68rem;
  padding: 0.2rem 0.45rem;
}

.bank-chip {
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  background: var(--bs-body-bg);
}

.bank-form-shell,
.bank-hero,
.bank-kpi-card,
.bank-section-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.bank-hero {
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(3, 195, 236, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.12), rgba(3, 195, 236, 0.08));
}

.bank-hero-icon,
.bank-kpi-icon,
.bank-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bank-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: rgba(3, 195, 236, 0.14);
  color: var(--bs-info);
  font-size: 1.8rem;
}

.bank-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.bank-field-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.85rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-size: 1.15rem;
}

.bank-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.bank-chip i {
  color: var(--bs-info);
}

.bank-live-box {
  border-radius: 1.1rem;
  padding: 1rem;
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.bank-live-box.is-warning {
  background: rgba(255, 171, 0, 0.15);
  color: var(--bs-warning);
}

.bank-live-box.is-danger {
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
}

.bank-live-box .value {
  font-size: 1.45rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.bank-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.bank-section-title h6 {
  margin: 0;
  font-weight: 800;
}

.bank-section-title small {
  color: var(--bs-secondary-color);
}

.bank-money-input {
  height: 60px;
  font-size: 1.32rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.bank-readonly {
  background: rgba(133, 146, 163, 0.08) !important;
  font-weight: 900;
}

.bank-channel-option {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.16s ease;
  background: var(--bs-body-bg);
  height: 100%;
}

.bank-channel-option:hover {
  border-color: rgba(105, 108, 255, 0.45);
  transform: translateY(-1px);
}

.bank-channel-option.active {
  background: rgba(105, 108, 255, 0.08);
  border-color: rgba(105, 108, 255, 0.55);
}

.bank-help-box {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(133, 146, 163, 0.06);
}

.bank-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  border-top: 1px solid var(--bs-border-color);
  background: rgba(var(--bs-body-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
}

.bank-save-btn {
  min-width: 160px;
}

@media (max-width: 767.98px) {
  .bank-hero {
    padding: 1rem !important;
  }

  .bank-footer {
    position: static;
  }

  .bank-save-btn,
  .bank-footer .btn {
    width: 100%;
  }
}

.branch-card,
.branch-filter-card,
.branch-table-card,
.branch-hero {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.branch-hero {
  border: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(105, 108, 255, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.12), rgba(3, 195, 236, 0.08));
}

.branch-hero-icon,
.branch-kpi-icon,
.branch-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.branch-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 1.8rem;
}

.branch-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.branch-kpi-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.branch-kpi-secondary {
  background: rgba(133, 146, 163, 0.14);
  color: var(--bs-secondary);
}

.branch-kpi-info {
  background: rgba(3, 195, 236, 0.14);
  color: var(--bs-info);
}

.branch-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.branch-chip i {
  color: var(--bs-primary);
}

.branch-table-wrap {
  overflow: auto;
  max-width: 100%;
}

.branch-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1080px;
  border-top: 1px solid rgba(120, 130, 140, 0.18);
  border-left: 1px solid rgba(120, 130, 140, 0.18);
}

.branch-table th,
.branch-table td {
  vertical-align: middle;
  border-right: 1px solid rgba(120, 130, 140, 0.2) !important;
  border-bottom: 1px solid rgba(120, 130, 140, 0.2) !important;
  background: var(--bs-body-bg);
  padding: 0.72rem 0.8rem;
}

.branch-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    180deg,
    rgba(105, 108, 255, 0.09),
    rgba(105, 108, 255, 0.035)
  ) !important;
  border-bottom: 2px solid rgba(120, 130, 140, 0.28) !important;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  white-space: nowrap;
}

html.dark-style .branch-table thead th {
  background: #2b2c40 !important;
}

.branch-table tbody tr:nth-child(even) td {
  background: rgba(105, 108, 255, 0.025);
}

.branch-table tbody tr:hover td {
  background: rgba(105, 108, 255, 0.08) !important;
}

.branch-sticky-name {
  position: sticky;
  left: 0;
  z-index: 25;
  min-width: 300px;
  width: 300px;
  max-width: 300px;
  background: var(--bs-body-bg) !important;
  box-shadow:
    2px 0 0 rgba(120, 130, 140, 0.16),
    10px 0 20px rgba(0, 0, 0, 0.045);
}

.branch-table thead .branch-sticky-name {
  z-index: 40;
  background: #fff !important;
}

html.dark-style .branch-table thead .branch-sticky-name {
  background: #2b2c40 !important;
}

.branch-table tbody tr:nth-child(even) .branch-sticky-name {
  background: #fbfbff !important;
}

.branch-table tbody tr:hover .branch-sticky-name {
  background: #f2f3ff !important;
}

html.dark-style .branch-table tbody tr:nth-child(even) .branch-sticky-name {
  background: #2d2e44 !important;
}

html.dark-style .branch-table tbody tr:hover .branch-sticky-name {
  background: #343657 !important;
}

.branch-avatar {
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(105, 108, 255, 0.15);
}

.branch-name-line {
  max-width: 220px;
}

.branch-name-line .name {
  font-weight: 800;
  color: var(--bs-heading-color);
}

.branch-name-line .sub {
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.branch-info-pill {
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(133, 146, 163, 0.1);
  color: var(--bs-heading-color);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.branch-address {
  max-width: 360px;
  white-space: normal;
  color: var(--bs-body-color);
}

.branch-empty {
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.branch-action-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .branch-hero {
    padding: 1rem !important;
  }

  .branch-sticky-name {
    min-width: 245px;
    width: 245px;
    max-width: 245px;
  }
}

.branch-form-shell,
.branch-hero,
.branch-kpi-card,
.branch-section-card,
.branch-side-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.branch-hero {
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(105, 108, 255, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.13), rgba(3, 195, 236, 0.08));
}

.branch-avatar-preview,
.branch-kpi-icon,
.branch-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.branch-avatar-preview {
  width: 76px;
  height: 76px;
  border-radius: 1.35rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(105, 108, 255, 0.16);
}

.branch-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.branch-field-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.85rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-size: 1.15rem;
}

.branch-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.branch-chip i {
  color: var(--bs-primary);
}

.branch-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.branch-section-title h6 {
  margin: 0;
  font-weight: 800;
}

.branch-section-title small {
  color: var(--bs-secondary-color);
}

.branch-status-option {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.16s ease;
  height: 100%;
  background: var(--bs-body-bg);
}

.branch-status-option:hover {
  border-color: rgba(105, 108, 255, 0.45);
  transform: translateY(-1px);
}

.branch-status-option.active {
  background: rgba(105, 108, 255, 0.08);
  border-color: rgba(105, 108, 255, 0.55);
}

.branch-mini-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px dashed var(--bs-border-color);
}

.branch-mini-row:last-child {
  border-bottom: 0;
}

.branch-live-box {
  border-radius: 1.2rem;
  padding: 1.1rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
}

.branch-live-box .value {
  font-size: 1.25rem;
  font-weight: 900;
}

.branch-help-box {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(133, 146, 163, 0.06);
}

.branch-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  border-top: 1px solid var(--bs-border-color);
  background: rgba(var(--bs-body-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
}

.branch-save-btn {
  min-width: 160px;
}

.branch-address-preview {
  max-width: 220px;
  text-align: right;
  word-break: break-word;
}

@media (max-width: 767.98px) {
  .branch-hero {
    padding: 1rem !important;
  }

  .branch-footer {
    position: static;
  }

  .branch-save-btn,
  .branch-footer .btn {
    width: 100%;
  }

  .branch-address-preview {
    text-align: left;
    max-width: 100%;
  }

  .branch-mini-row {
    flex-direction: column;
    gap: 0.35rem;
  }
}

.cash-soft-card,
.cash-kpi {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.cash-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
  font-size: 1.35rem;
}

.cash-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 0.9rem;
}

.cash-live-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 1rem;
  background: var(--bs-body-bg);
  transition: all 0.18s ease;
}

.cash-live-card:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 199, 111, 0.55);
  box-shadow: 0 0.45rem 1.1rem rgba(67, 89, 113, 0.1);
}

.cash-live-icon {
  width: 38px;
  height: 38px;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
  font-size: 1.2rem;
}

.cash-table-wrap {
  overflow: auto;
  position: relative;
  max-width: 100%;
}

.cash-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

.cash-table th,
.cash-table td {
  white-space: nowrap;
  vertical-align: middle;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  padding: 0.42rem 0.6rem;
  font-size: 0.82rem;
}

.cash-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

html.dark-style .cash-table thead th {
  background: #2b2c40;
}

.cash-sticky-main {
  position: sticky;
  left: 0;
  z-index: 35;
  min-width: 285px;
  width: 285px;
  max-width: 285px;
  background: var(--bs-body-bg) !important;
  box-shadow: 1px 0 0 var(--bs-border-color);
}

.cash-table thead .cash-sticky-main {
  z-index: 50;
  background: #fff !important;
}

html.dark-style .cash-table thead .cash-sticky-main {
  background: #2b2c40 !important;
}

.cash-date-head {
  min-width: 118px;
}

.cash-row-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cash-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 199, 111, 0.1);
  color: var(--bs-success);
}

.cash-cell-positive {
  background: rgba(40, 199, 111, 0.08) !important;
}

.cash-cell-high {
  background: rgba(40, 199, 111, 0.15) !important;
}

.cash-cell-very-high {
  background: rgba(40, 199, 111, 0.28) !important;
}

.cash-total-cell {
  background: rgba(40, 199, 111, 0.12) !important;
  color: var(--bs-success);
  font-weight: 800;
}

.cash-day-total td {
  background: rgba(105, 108, 255, 0.08) !important;
  font-weight: 800;
}

.cash-day-total .cash-sticky-main {
  background: #eef0ff !important;
}

html.dark-style .cash-day-total .cash-sticky-main {
  background: #313350 !important;
}

.cash-link {
  text-decoration: none;
  display: block;
}

.cash-link:hover {
  text-decoration: underline;
}

.cash-empty {
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.cash-count-badge {
  font-size: 0.68rem;
  padding: 0.2rem 0.45rem;
}

.cash-form-shell,
.cash-hero,
.cash-kpi-card,
.cash-section-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.cash-hero {
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(40, 199, 111, 0.18),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(40, 199, 111, 0.12), rgba(105, 108, 255, 0.06));
}

.cash-hero-icon,
.cash-kpi-icon,
.cash-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cash-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 1.1rem;
  background: rgba(40, 199, 111, 0.14);
  color: var(--bs-success);
  font-size: 1.75rem;
}

.cash-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
  font-size: 1.35rem;
}

.cash-field-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.85rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-size: 1.15rem;
}

.cash-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.cash-chip i {
  color: var(--bs-success);
}

.cash-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.cash-section-title h6 {
  margin: 0;
  font-weight: 800;
}

.cash-section-title small {
  color: var(--bs-secondary-color);
}

.cash-amount-input {
  height: 62px;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--bs-success);
}

.cash-live-total {
  border-radius: 1.1rem;
  padding: 1rem;
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.cash-live-total .value {
  font-size: 1.5rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.cash-note-box {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(133, 146, 163, 0.06);
}

.cash-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  border-top: 1px solid var(--bs-border-color);
  background: rgba(var(--bs-body-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
}

.cash-save-btn {
  min-width: 160px;
}

@media (max-width: 767.98px) {
  .cash-hero {
    padding: 1rem !important;
  }

  .cash-footer {
    position: static;
  }

  .cash-save-btn,
  .cash-footer .btn {
    width: 100%;
  }
}

.cash-detail-hero,
.cash-detail-kpi,
.cash-detail-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.cash-detail-hero {
  background: linear-gradient(
    135deg,
    rgba(40, 199, 111, 0.13),
    rgba(105, 108, 255, 0.06)
  );
}

.cash-detail-icon,
.cash-detail-kpi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.cash-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 1rem;
  font-size: 1.5rem;
}

.cash-detail-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  font-size: 1.3rem;
}

.cash-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
}

.cash-detail-table th,
.cash-detail-table td {
  vertical-align: middle;
}

.cash-detail-table thead th {
  background: rgba(133, 146, 163, 0.06);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bs-secondary-color);
  white-space: nowrap;
}

.cash-id-badge {
  width: 34px;
  height: 34px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-weight: 800;
}

.cash-amount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
  font-weight: 800;
  min-width: 120px;
}

.cash-note {
  max-width: 360px;
  white-space: normal;
}

.cash-title-cell {
  max-width: 260px;
  white-space: normal;
}

.channel-kpi-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  height: 100%;
  background: var(--bs-body-bg);
}

.channel-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.channel-matrix-wrap {
  overflow: auto;
  position: relative;
  max-width: 100%;
}

.channel-matrix-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

.channel-matrix-table th,
.channel-matrix-table td {
  white-space: nowrap;
  vertical-align: middle;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
}

.channel-matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

html.dark-style .channel-matrix-table thead th {
  background: #2b2c40;
}

.ch-sticky-main {
  position: sticky;
  left: 0;
  z-index: 35;
  min-width: 280px;
  width: 280px;
  max-width: 280px;
  background: var(--bs-body-bg) !important;
  box-shadow: 1px 0 0 var(--bs-border-color);
}

.channel-matrix-table thead .ch-sticky-main {
  z-index: 50;
  background: #fff !important;
}

html.dark-style .channel-matrix-table thead .ch-sticky-main {
  background: #2b2c40 !important;
}

.ch-branch-row td {
  background: rgba(105, 108, 255, 0.08) !important;
  font-weight: 800;
}

.ch-branch-row .ch-sticky-main {
  background: #eef0ff !important;
}

html.dark-style .ch-branch-row .ch-sticky-main {
  background: #313350 !important;
}

.ch-date-head {
  min-width: 140px;
}

.ch-cell-link {
  text-decoration: none;
  display: block;
}

.ch-cell-link:hover {
  text-decoration: underline;
}

.ch-empty-cell {
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.ch-metric-icon {
  width: 28px;
  height: 28px;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(133, 146, 163, 0.1);
  color: var(--bs-heading-color);
}

.ch-total-row td {
  background: rgba(40, 199, 111, 0.08) !important;
  font-weight: 800;
}

.ch-total-row .ch-sticky-main {
  background: #eafaf1 !important;
}

html.dark-style .ch-total-row .ch-sticky-main {
  background: #263b33 !important;
}

.channel-shell,
.channel-filter,
.channel-kpi,
.channel-form-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.channel-shell {
  overflow: hidden;
}

.channel-hero {
  border: 0;
  border-radius: 1.25rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(105, 108, 255, 0.18),
      transparent 28%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.13), rgba(40, 199, 111, 0.08));
}

.channel-hero-icon,
.channel-kpi-icon,
.channel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.channel-hero-icon {
  width: 54px;
  height: 54px;
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 1.7rem;
}

.channel-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.4rem;
}

.channel-icon.success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.channel-icon.warning {
  background: rgba(255, 171, 0, 0.15);
  color: var(--bs-warning);
}

.channel-icon.danger {
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
}

.channel-icon.info {
  background: rgba(3, 195, 236, 0.13);
  color: var(--bs-info);
}

.channel-icon.secondary {
  background: rgba(133, 146, 163, 0.14);
  color: var(--bs-secondary);
}

.channel-status-chip {
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.channel-input-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  padding: 1rem;
  background: var(--bs-body-bg);
  transition: all 0.16s ease;
  height: 100%;
}

.channel-input-card:hover {
  transform: translateY(-2px);
  border-color: rgba(105, 108, 255, 0.55);
  box-shadow: 0 0.45rem 1.1rem rgba(67, 89, 113, 0.1);
}

.channel-input-card.active {
  border-color: rgba(40, 199, 111, 0.55);
  background: linear-gradient(
    135deg,
    rgba(40, 199, 111, 0.1),
    rgba(105, 108, 255, 0.04)
  );
}

.channel-code {
  font-size: 0.72rem;
  color: var(--bs-secondary-color);
}

.channel-mini-total {
  border-radius: 0.9rem;
  background: rgba(133, 146, 163, 0.08);
  padding: 0.55rem 0.7rem;
}

.channel-mini-total strong {
  font-variant-numeric: tabular-nums;
}

.readonly-total {
  background: var(--bs-gray-100);
  font-weight: 800;
}

[data-bs-theme="dark"] .readonly-total,
html.dark-style .readonly-total {
  background: rgba(255, 255, 255, 0.06);
}

.channel-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  border-top: 1px solid var(--bs-border-color);
  background: rgba(var(--bs-body-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
}

.channel-save-btn {
  min-width: 160px;
}

@media (max-width: 767.98px) {
  .channel-hero {
    padding: 1rem !important;
  }

  .channel-footer {
    position: static;
  }

  .channel-save-btn {
    width: 100%;
  }
}

.company-card,
.company-table-card,
.company-hero {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.company-hero {
  border: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(105, 108, 255, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.12), rgba(3, 195, 236, 0.08));
}

.company-hero-icon,
.company-kpi-icon,
.company-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.company-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 1.8rem;
}

.company-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.company-kpi-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.company-kpi-secondary {
  background: rgba(133, 146, 163, 0.14);
  color: var(--bs-secondary);
}

.company-kpi-info {
  background: rgba(3, 195, 236, 0.14);
  color: var(--bs-info);
}

.company-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.company-chip i {
  color: var(--bs-primary);
}

.company-table-wrap {
  overflow: auto;
  max-width: 100%;
}

.company-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 980px;
  border-top: 1px solid rgba(120, 130, 140, 0.18);
  border-left: 1px solid rgba(120, 130, 140, 0.18);
}

.company-table th,
.company-table td {
  vertical-align: middle;
  border-right: 1px solid rgba(120, 130, 140, 0.2) !important;
  border-bottom: 1px solid rgba(120, 130, 140, 0.2) !important;
  background: var(--bs-body-bg);
  padding: 0.72rem 0.8rem;
}

.company-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    180deg,
    rgba(105, 108, 255, 0.09),
    rgba(105, 108, 255, 0.035)
  ) !important;
  border-bottom: 2px solid rgba(120, 130, 140, 0.28) !important;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  white-space: nowrap;
}

html.dark-style .company-table thead th {
  background: #2b2c40 !important;
}

.company-table tbody tr:nth-child(even) td {
  background: rgba(105, 108, 255, 0.025);
}

.company-table tbody tr:hover td {
  background: rgba(105, 108, 255, 0.08) !important;
}

.company-sticky-name {
  position: sticky;
  left: 0;
  z-index: 25;
  min-width: 320px;
  width: 320px;
  max-width: 320px;
  background: var(--bs-body-bg) !important;
  box-shadow:
    2px 0 0 rgba(120, 130, 140, 0.16),
    10px 0 20px rgba(0, 0, 0, 0.045);
}

.company-table thead .company-sticky-name {
  z-index: 40;
  background: #fff !important;
}

html.dark-style .company-table thead .company-sticky-name {
  background: #2b2c40 !important;
}

.company-table tbody tr:nth-child(even) .company-sticky-name {
  background: #fbfbff !important;
}

.company-table tbody tr:hover .company-sticky-name {
  background: #f2f3ff !important;
}

html.dark-style .company-table tbody tr:nth-child(even) .company-sticky-name {
  background: #2d2e44 !important;
}

html.dark-style .company-table tbody tr:hover .company-sticky-name {
  background: #343657 !important;
}

.company-avatar {
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(105, 108, 255, 0.15);
}

.company-name-line {
  max-width: 235px;
}

.company-name-line .name {
  font-weight: 800;
  color: var(--bs-heading-color);
}

.company-name-line .sub {
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-info-pill {
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(133, 146, 163, 0.1);
  color: var(--bs-heading-color);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.company-empty {
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.company-action-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .company-hero {
    padding: 1rem !important;
  }

  .company-sticky-name {
    min-width: 250px;
    width: 250px;
    max-width: 250px;
  }
}

.company-form-shell,
.company-hero,
.company-kpi-card,
.company-section-card,
.company-side-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.company-hero {
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(105, 108, 255, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.13), rgba(3, 195, 236, 0.08));
}

.company-avatar-preview,
.company-kpi-icon,
.company-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.company-avatar-preview {
  width: 76px;
  height: 76px;
  border-radius: 1.35rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(105, 108, 255, 0.16);
}

.company-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.company-field-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.85rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-size: 1.15rem;
}

.company-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.company-chip i {
  color: var(--bs-primary);
}

.company-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.company-section-title h6 {
  margin: 0;
  font-weight: 800;
}

.company-section-title small {
  color: var(--bs-secondary-color);
}

.company-status-option {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.16s ease;
  height: 100%;
  background: var(--bs-body-bg);
}

.company-status-option:hover {
  border-color: rgba(105, 108, 255, 0.45);
  transform: translateY(-1px);
}

.company-status-option.active {
  background: rgba(105, 108, 255, 0.08);
  border-color: rgba(105, 108, 255, 0.55);
}

.company-mini-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px dashed var(--bs-border-color);
}

.company-mini-row:last-child {
  border-bottom: 0;
}

.company-live-box {
  border-radius: 1.2rem;
  padding: 1.1rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
}

.company-live-box .value {
  font-size: 1.25rem;
  font-weight: 900;
}

.company-help-box {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(133, 146, 163, 0.06);
}

.company-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  border-top: 1px solid var(--bs-border-color);
  background: rgba(var(--bs-body-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
}

.company-save-btn {
  min-width: 160px;
}

@media (max-width: 767.98px) {
  .company-hero {
    padding: 1rem !important;
  }

  .company-footer {
    position: static;
  }

  .company-save-btn,
  .company-footer .btn {
    width: 100%;
  }

  .company-mini-row {
    flex-direction: column;
    gap: 0.35rem;
  }
}

.ce-soft-card,
.ce-hero,
.ce-kpi {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.ce-hero {
  background: linear-gradient(
    135deg,
    rgba(105, 108, 255, 0.13),
    rgba(40, 199, 111, 0.08)
  );
}

.ce-avatar,
.ce-kpi-icon,
.ce-metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ce-avatar {
  width: 54px;
  height: 54px;
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 1.75rem;
}

.ce-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.courier-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.9rem;
}

.courier-live-card {
  display: block;
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  background: var(--bs-body-bg);
  transition: all 0.18s ease;
}

.courier-live-card:hover {
  transform: translateY(-2px);
  border-color: rgba(105, 108, 255, 0.65);
  box-shadow: 0 0.45rem 1.1rem rgba(67, 89, 113, 0.1);
}

.courier-live-card.active {
  border-color: var(--bs-primary);
  background: linear-gradient(
    135deg,
    rgba(105, 108, 255, 0.16),
    rgba(105, 108, 255, 0.05)
  );
  box-shadow: 0 0.35rem 1rem rgba(105, 108, 255, 0.18);
}

.courier-live-stat {
  border-radius: 0.8rem;
  background: rgba(133, 146, 163, 0.08);
  padding: 0.55rem 0.7rem;
}

.ce-table-wrap {
  overflow: auto;
  position: relative;
  max-width: 100%;
}

.ce-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

.ce-table th,
.ce-table td {
  padding: 0.35rem 0.55rem !important;
  font-size: 0.78rem;
  line-height: 1.15;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  white-space: nowrap;
  vertical-align: middle;
}

.ce-date-head {
  min-width: 105px;
}

.ce-sticky-main {
  min-width: 210px;
  width: 210px;
  max-width: 210px;
}

.ce-metric-icon {
  width: 24px;
  height: 24px;
  border-radius: 0.55rem;
  font-size: 0.85rem;
}

.ce-table .fw-semibold {
  font-size: 0.8rem;
}

.ce-cell-value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 100%;
}

.ce-note-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  background: var(--bs-warning);
  margin-left: 0.35rem;
}

.ce-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

html.dark-style .ce-table thead th {
  background: #2b2c40;
}

.ce-sticky-main {
  position: sticky;
  left: 0;
  z-index: 35;
  min-width: 280px;
  width: 280px;
  max-width: 280px;
  background: var(--bs-body-bg) !important;
  box-shadow: 1px 0 0 var(--bs-border-color);
}

.ce-table thead .ce-sticky-main {
  z-index: 50;
  background: #fff !important;
}

html.dark-style .ce-table thead .ce-sticky-main {
  background: #2b2c40 !important;
}

.ce-date-head {
  min-width: 135px;
}

.ce-metric-icon {
  width: 30px;
  height: 30px;
  border-radius: 0.7rem;
  background: rgba(133, 146, 163, 0.1);
}

.ce-auto-cell {
  background: rgba(105, 108, 255, 0.07) !important;
}

.ce-auto-cell.ce-positive {
  background: rgba(40, 199, 111, 0.1) !important;
}

.ce-auto-cell.ce-negative {
  background: rgba(255, 62, 29, 0.1) !important;
}

.ce-empty {
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.ce-total-row td {
  background: rgba(105, 108, 255, 0.1) !important;
  font-weight: 800;
}

.ce-total-row .ce-sticky-main {
  background: #eef0ff !important;
}

html.dark-style .ce-total-row .ce-sticky-main {
  background: #313350 !important;
}

.ce-cell-link {
  text-decoration: none;
  display: block;
}

.ce-cell-link:hover {
  text-decoration: underline;
}

.ce-shell,
.ce-kpi,
.ce-section,
.ce-footer {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.ce-hero {
  border: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(105, 108, 255, 0.2),
      transparent 26%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(40, 199, 111, 0.16),
      transparent 24%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.13), rgba(3, 195, 236, 0.08));
}

.ce-hero-icon,
.ce-kpi-icon,
.ce-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ce-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 1.05rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 1.8rem;
}

.ce-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.ce-kpi-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.ce-kpi-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.ce-kpi-danger {
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
}

.ce-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  color: var(--bs-secondary-color);
  font-size: 0.8rem;
  font-weight: 650;
}

.ce-section {
  overflow: hidden;
}

.ce-section-header {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--bs-border-color);
  background: rgba(133, 146, 163, 0.045);
}

.ce-section-icon {
  width: 34px;
  height: 34px;
  border-radius: 0.8rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.05rem;
}

.ce-section-body {
  padding: 1.15rem;
}

.ce-input-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.85rem;
  background: var(--bs-body-bg);
  height: 100%;
  transition: all 0.16s ease;
}

.ce-input-card:hover {
  border-color: rgba(105, 108, 255, 0.45);
  box-shadow: 0 0.35rem 0.9rem rgba(67, 89, 113, 0.07);
}

.ce-auto-card {
  background: linear-gradient(
    135deg,
    rgba(40, 199, 111, 0.1),
    rgba(40, 199, 111, 0.035)
  );
  border-color: rgba(40, 199, 111, 0.25);
}

.ce-auto-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
  font-size: 0.72rem;
  font-weight: 800;
}

.ce-auto-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bs-success);
  animation: cePulse 1.4s infinite;
}

@keyframes cePulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.35;
    transform: scale(0.78);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.readonly-result {
  background: rgba(40, 199, 111, 0.08) !important;
  border-color: rgba(40, 199, 111, 0.18) !important;
  font-weight: 800;
}

.ce-big-result {
  height: 54px;
  font-size: 1.15rem;
  font-weight: 900;
}

.amount-positive {
  color: var(--bs-success);
}

.amount-negative {
  color: var(--bs-danger);
}

.ce-formula {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(133, 146, 163, 0.06);
}

.ce-footer {
  position: sticky;
  bottom: 0;
  z-index: 15;
  padding: 1rem;
  background: rgba(var(--bs-body-bg-rgb), 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 -0.35rem 1rem rgba(67, 89, 113, 0.07);
}

.ce-save-btn {
  min-width: 160px;
}

.ce-total-alert {
  border-radius: 1rem;
  min-height: 52px;
  display: flex;
  align-items: center;
}

@media (max-width: 767.98px) {
  .ce-footer {
    position: static;
  }

  .ce-save-btn,
  .ce-footer .btn {
    width: 100%;
  }
}

.perf-card,
.perf-filter-card,
.perf-form-card,
.perf-table-card,
.perf-hero {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.perf-hero {
  border: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(40, 199, 111, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.13), rgba(40, 199, 111, 0.08));
}

.perf-hero-icon,
.perf-kpi-icon,
.perf-row-avatar,
.perf-form-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.perf-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 1.8rem;
}

.perf-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.perf-kpi-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.perf-kpi-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.perf-kpi-info {
  background: rgba(3, 195, 236, 0.14);
  color: var(--bs-info);
}

.perf-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.perf-scale-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.scale-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(133, 146, 163, 0.08);
  border: 1px solid var(--bs-border-color);
  font-weight: 650;
}

.scale-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  display: inline-block;
}

.perf-table-wrap {
  overflow: auto;
  max-width: 100%;
}

.perf-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1160px;
}

.perf-table th,
.perf-table td {
  vertical-align: middle;
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
}

.perf-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

html.dark-style .perf-table thead th {
  background: #2b2c40;
}

.perf-sticky-courier {
  position: sticky;
  left: 0;
  z-index: 25;
  min-width: 270px;
  width: 270px;
  max-width: 270px;
  background: var(--bs-body-bg) !important;
  box-shadow: 1px 0 0 var(--bs-border-color);
}

.perf-table thead .perf-sticky-courier {
  z-index: 40;
  background: #fff !important;
}

html.dark-style .perf-table thead .perf-sticky-courier {
  background: #2b2c40 !important;
}

.perf-row-avatar {
  width: 38px;
  height: 38px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-weight: 900;
}

.perf-metric-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 88px;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: rgba(133, 146, 163, 0.08);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.perf-note {
  max-width: 260px;
  white-space: normal;
  color: var(--bs-secondary-color);
  font-size: 0.82rem;
}

.perf-form-panel {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  background: rgba(133, 146, 163, 0.05);
}

.perf-form-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.85rem;
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
  font-size: 1.15rem;
}

.performance-svg-gauge {
  width: 230px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

.gauge-bg {
  fill: none;
  stroke: rgba(133, 146, 163, 0.16);
  stroke-width: 14;
  stroke-linecap: round;
}

.gauge-segment {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
}

.gauge-tick {
  stroke: rgba(54, 56, 59, 0.62);
  stroke-width: 2;
  stroke-linecap: round;
}

.gauge-label {
  font-size: 13px;
  fill: currentColor;
  opacity: 0.9;
  font-weight: 800;
  letter-spacing: 0.35px;
}

.gauge-needle {
  stroke: var(--gauge-color);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.16));
}

.gauge-center {
  fill: var(--gauge-color);
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 3;
}

.perf-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1160px;
  border-top: 1px solid rgba(120, 130, 140, 0.18);
  border-left: 1px solid rgba(120, 130, 140, 0.18);
}

.perf-table th,
.perf-table td {
  border-right: 1px solid rgba(120, 130, 140, 0.2) !important;
  border-bottom: 1px solid rgba(120, 130, 140, 0.2) !important;
}

.perf-table th {
  padding: 0.7rem 0.75rem;
}

.perf-table td {
  padding: 0.55rem 0.75rem;
}

.perf-table thead th {
  background: linear-gradient(
    180deg,
    rgba(105, 108, 255, 0.09),
    rgba(105, 108, 255, 0.035)
  ) !important;
  border-bottom: 2px solid rgba(120, 130, 140, 0.28) !important;
}

.perf-table tbody tr:nth-child(even) td {
  background: rgba(105, 108, 255, 0.025);
}

.perf-table tbody tr:hover td {
  background: rgba(105, 108, 255, 0.08) !important;
}

.perf-sticky-courier {
  box-shadow:
    2px 0 0 rgba(120, 130, 140, 0.16),
    10px 0 20px rgba(0, 0, 0, 0.045);
}

.perf-table tbody tr:nth-child(even) .perf-sticky-courier {
  background: #fbfbff !important;
}

.perf-table tbody tr:hover .perf-sticky-courier {
  background: #f2f3ff !important;
}

html.dark-style .perf-table tbody tr:nth-child(even) .perf-sticky-courier {
  background: #2d2e44 !important;
}

html.dark-style .perf-table tbody tr:hover .perf-sticky-courier {
  background: #343657 !important;
}

.performance-svg-gauge {
  width: 180px;
}

.perf-row-avatar {
  box-shadow: 0 4px 12px rgba(105, 108, 255, 0.15);
}

.perf-row-nirvana .perf-sticky-courier {
  border-left: 4px solid #28c76f;
}

.perf-row-yuksek .perf-sticky-courier {
  border-left: 4px solid #00cfe8;
}

.perf-row-orta .perf-sticky-courier {
  border-left: 4px solid #696cff;
}

.perf-row-dusuk .perf-sticky-courier {
  border-left: 4px solid #ffab00;
}

.perf-row-cok-dusuk .perf-sticky-courier {
  border-left: 4px solid #ff3e1d;
}

.perf-badge-metric {
  min-width: 78px;
  justify-content: center;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
}

@media (max-width: 767.98px) {
  .perf-hero {
    padding: 1rem !important;
  }

  .perf-sticky-courier {
    min-width: 230px;
    width: 230px;
    max-width: 230px;
  }
}

.ct-card,
.ct-filter-card,
.ct-table-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.ct-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.ct-kpi-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.ct-kpi-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.ct-kpi-danger {
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
}

.courier-total-wrap {
  overflow: auto;
  position: relative;
  max-width: 100%;
}

.courier-total-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1680px;
}

.courier-total-table th,
.courier-total-table td {
  white-space: nowrap;
  vertical-align: middle;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  padding: 0.48rem 0.65rem;
  font-size: 0.82rem;
}

.courier-total-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

html.dark-style .courier-total-table thead th {
  background: #2b2c40;
}

.ct-sticky-main {
  position: sticky;
  left: 0;
  z-index: 40;
  min-width: 285px;
  width: 285px;
  max-width: 285px;
  background: var(--bs-body-bg) !important;
  box-shadow: 1px 0 0 var(--bs-border-color);
}

.courier-total-table thead .ct-sticky-main {
  z-index: 60;
  background: #fff !important;
}

html.dark-style .courier-total-table thead .ct-sticky-main {
  background: #2b2c40 !important;
}

.ct-courier-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ct-courier-icon {
  width: 34px;
  height: 34px;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.1rem;
}

.ct-group {
  font-size: 0.72rem !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  background: rgba(105, 108, 255, 0.08) !important;
  font-weight: 800;
}

.ct-money {
  font-variant-numeric: tabular-nums;
}

.ct-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  border-radius: 999px;
  background: rgba(133, 146, 163, 0.1);
  padding: 0.22rem 0.55rem;
  font-weight: 800;
}

.ct-positive {
  color: var(--bs-success);
  font-weight: 800;
}

.ct-negative {
  color: var(--bs-danger);
  font-weight: 800;
}

.ct-neutral {
  color: var(--bs-secondary-color);
  font-weight: 800;
}

.ct-auto-cell {
  background: rgba(105, 108, 255, 0.06) !important;
}

.ct-cash-cell {
  background: rgba(40, 199, 111, 0.08) !important;
}

.ct-total-cell {
  background: rgba(105, 108, 255, 0.1) !important;
}

.ct-total-row td {
  background: rgba(105, 108, 255, 0.09) !important;
  font-weight: 800;
}

.ct-total-row .ct-sticky-main {
  background: #eef0ff !important;
  z-index: 45;
}

html.dark-style .ct-total-row .ct-sticky-main {
  background: #313350 !important;
}

.ct-status-badge {
  min-width: 72px;
}

.ct-date-chip {
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.82rem;
  background: var(--bs-body-bg);
}

.courier-card,
.courier-filter-card,
.courier-table-card,
.courier-hero,
.courier-branch-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.courier-hero {
  border: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(105, 108, 255, 0.18),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.12), rgba(40, 199, 111, 0.08));
}

.courier-hero-icon,
.courier-kpi-icon,
.courier-avatar,
.courier-branch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.courier-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 1.8rem;
}

.courier-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.courier-kpi-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.courier-kpi-secondary {
  background: rgba(133, 146, 163, 0.14);
  color: var(--bs-secondary);
}

.courier-kpi-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.courier-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.courier-chip i {
  color: var(--bs-primary);
}

.courier-branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 0.9rem;
}

.courier-branch-card {
  padding: 1rem;
  transition: all 0.18s ease;
}

.courier-branch-card:hover {
  transform: translateY(-2px);
  border-color: rgba(105, 108, 255, 0.55);
  box-shadow: 0 0.45rem 1.1rem rgba(67, 89, 113, 0.1);
}

.courier-branch-icon {
  width: 38px;
  height: 38px;
  border-radius: 0.85rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-weight: 800;
}

.courier-table-wrap {
  overflow: auto;
  max-width: 100%;
}

.courier-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1260px;
  border-top: 1px solid rgba(120, 130, 140, 0.18);
  border-left: 1px solid rgba(120, 130, 140, 0.18);
}

.courier-table th,
.courier-table td {
  vertical-align: middle;
  border-right: 1px solid rgba(120, 130, 140, 0.2) !important;
  border-bottom: 1px solid rgba(120, 130, 140, 0.2) !important;
  background: var(--bs-body-bg);
  padding: 0.72rem 0.8rem;
}

.courier-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    180deg,
    rgba(105, 108, 255, 0.09),
    rgba(105, 108, 255, 0.035)
  ) !important;
  border-bottom: 2px solid rgba(120, 130, 140, 0.28) !important;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
  white-space: nowrap;
}

html.dark-style .courier-table thead th {
  background: #2b2c40 !important;
}

.courier-table tbody tr:nth-child(even) td {
  background: rgba(105, 108, 255, 0.025);
}

.courier-table tbody tr:hover td {
  background: rgba(105, 108, 255, 0.08) !important;
}

.courier-sticky-person {
  position: sticky;
  left: 0;
  z-index: 25;
  min-width: 300px;
  width: 300px;
  max-width: 300px;
  background: var(--bs-body-bg) !important;
  box-shadow:
    2px 0 0 rgba(120, 130, 140, 0.16),
    10px 0 20px rgba(0, 0, 0, 0.045);
}

.courier-table thead .courier-sticky-person {
  z-index: 40;
  background: #fff !important;
}

html.dark-style .courier-table thead .courier-sticky-person {
  background: #2b2c40 !important;
}

.courier-table tbody tr:nth-child(even) .courier-sticky-person {
  background: #fbfbff !important;
}

.courier-table tbody tr:hover .courier-sticky-person {
  background: #f2f3ff !important;
}

html.dark-style .courier-table tbody tr:nth-child(even) .courier-sticky-person {
  background: #2d2e44 !important;
}

html.dark-style .courier-table tbody tr:hover .courier-sticky-person {
  background: #343657 !important;
}

.courier-avatar {
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(105, 108, 255, 0.15);
}

.courier-person-line {
  max-width: 220px;
}

.courier-person-line .name {
  font-weight: 800;
  color: var(--bs-heading-color);
}

.courier-person-line .sub {
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.courier-info-pill {
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(133, 146, 163, 0.1);
  color: var(--bs-heading-color);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.equipment-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  margin: 0.12rem;
  border: 1px solid transparent;
  white-space: nowrap;
}

.equipment-info {
  background: rgba(3, 195, 236, 0.12);
  color: var(--bs-info);
}
.equipment-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}
.equipment-primary {
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
}
.equipment-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}
.equipment-secondary {
  background: rgba(133, 146, 163, 0.14);
  color: var(--bs-secondary);
}
.equipment-dark {
  background: rgba(67, 89, 113, 0.14);
  color: var(--bs-heading-color);
}

.courier-empty {
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.courier-action-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .courier-hero {
    padding: 1rem !important;
  }

  .courier-sticky-person {
    min-width: 245px;
    width: 245px;
    max-width: 245px;
  }
}

.courier-form-shell,
.courier-hero,
.courier-kpi-card,
.courier-section-card,
.courier-side-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.courier-hero {
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(105, 108, 255, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.13), rgba(40, 199, 111, 0.08));
}

.courier-avatar-preview,
.courier-hero-icon,
.courier-kpi-icon,
.courier-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.courier-avatar-preview {
  width: 76px;
  height: 76px;
  border-radius: 1.35rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(105, 108, 255, 0.16);
}

.courier-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 1.8rem;
}

.courier-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.courier-field-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.85rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-size: 1.15rem;
}

.courier-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.courier-chip i {
  color: var(--bs-primary);
}

.courier-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.courier-section-title h6 {
  margin: 0;
  font-weight: 800;
}

.courier-section-title small {
  color: var(--bs-secondary-color);
}

.courier-status-option,
.courier-equipment-option {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.16s ease;
  height: 100%;
  background: var(--bs-body-bg);
}

.courier-status-option:hover,
.courier-equipment-option:hover {
  border-color: rgba(105, 108, 255, 0.45);
  transform: translateY(-1px);
}

.courier-status-option.active,
.courier-equipment-option.active {
  background: rgba(105, 108, 255, 0.08);
  border-color: rgba(105, 108, 255, 0.55);
}

.courier-money-input {
  height: 56px;
  font-size: 1.25rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.courier-live-box {
  border-radius: 1.2rem;
  padding: 1.1rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
}

.courier-live-box .value {
  font-size: 1.35rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.courier-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px dashed var(--bs-border-color);
}

.courier-mini-row:last-child {
  border-bottom: 0;
}

.equipment-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  margin: 0.12rem;
  white-space: nowrap;
}

.equipment-info {
  background: rgba(3, 195, 236, 0.12);
  color: var(--bs-info);
}

.equipment-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.equipment-primary {
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
}

.equipment-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.equipment-secondary {
  background: rgba(133, 146, 163, 0.14);
  color: var(--bs-secondary);
}

.equipment-dark {
  background: rgba(67, 89, 113, 0.14);
  color: var(--bs-heading-color);
}

.courier-help-box {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(133, 146, 163, 0.06);
}

.courier-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  border-top: 1px solid var(--bs-border-color);
  background: rgba(var(--bs-body-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
}

.courier-save-btn {
  min-width: 160px;
}

@media (max-width: 767.98px) {
  .courier-hero {
    padding: 1rem !important;
  }

  .courier-footer {
    position: static;
  }

  .courier-save-btn,
  .courier-footer .btn {
    width: 100%;
  }
}

.expense-soft-card,
.expense-kpi {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.expense-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
  font-size: 1.35rem;
}

.expense-table-wrap {
  overflow: auto;
  position: relative;
  max-width: 100%;
}

.expense-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

.expense-table th,
.expense-table td {
  white-space: nowrap;
  vertical-align: middle;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  padding: 0.45rem 0.65rem;
  font-size: 0.82rem;
}

.expense-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

html.dark-style .expense-table thead th {
  background: #2b2c40;
}

.expense-sticky-main {
  position: sticky;
  left: 0;
  z-index: 35;
  min-width: 300px;
  width: 300px;
  max-width: 300px;
  background: var(--bs-body-bg) !important;
  box-shadow: 1px 0 0 var(--bs-border-color);
}

.expense-table thead .expense-sticky-main {
  z-index: 50;
  background: #fff !important;
}

html.dark-style .expense-table thead .expense-sticky-main {
  background: #2b2c40 !important;
}

.expense-date-head {
  min-width: 120px;
}

.expense-info-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.expense-info-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 62, 29, 0.1);
  color: var(--bs-danger);
}

.expense-cell-positive {
  background: rgba(255, 62, 29, 0.07) !important;
}

.expense-total-cell {
  background: rgba(255, 62, 29, 0.1) !important;
  color: var(--bs-danger);
  font-weight: 800;
}

.expense-day-total td {
  background: rgba(105, 108, 255, 0.08) !important;
  font-weight: 800;
}

.expense-day-total .expense-sticky-main {
  background: #eef0ff !important;
}

html.dark-style .expense-day-total .expense-sticky-main {
  background: #313350 !important;
}

.expense-link {
  text-decoration: none;
  display: inline-block;
}

.expense-link:hover {
  text-decoration: underline;
}

.expense-empty {
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.expense-count-badge {
  font-size: 0.68rem;
  padding: 0.2rem 0.45rem;
}

.expense-form-shell,
.expense-hero,
.expense-kpi-card,
.expense-section-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.expense-hero {
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 62, 29, 0.17),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(255, 62, 29, 0.1), rgba(105, 108, 255, 0.06));
}

.expense-hero-icon,
.expense-kpi-icon,
.expense-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.expense-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 1.1rem;
  background: rgba(255, 62, 29, 0.13);
  color: var(--bs-danger);
  font-size: 1.75rem;
}

.expense-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
  font-size: 1.35rem;
}

.expense-field-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.85rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-size: 1.15rem;
}

.expense-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.expense-chip i {
  color: var(--bs-danger);
}

.expense-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.expense-section-title h6 {
  margin: 0;
  font-weight: 800;
}

.expense-section-title small {
  color: var(--bs-secondary-color);
}

.expense-amount-input {
  height: 58px;
  font-size: 1.35rem;
  font-weight: 800;
}

.expense-live-total {
  border-radius: 1.1rem;
  padding: 1rem;
  background: rgba(255, 62, 29, 0.1);
  color: var(--bs-danger);
}

.expense-live-total .value {
  font-size: 1.45rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.expense-payment-option {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.16s ease;
  height: 100%;
}

.expense-payment-option:hover {
  border-color: rgba(105, 108, 255, 0.45);
  transform: translateY(-1px);
}

.expense-payment-option.active {
  background: rgba(105, 108, 255, 0.08);
  border-color: rgba(105, 108, 255, 0.55);
}

.expense-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  border-top: 1px solid var(--bs-border-color);
  background: rgba(var(--bs-body-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
}

.expense-save-btn {
  min-width: 160px;
}

@media (max-width: 767.98px) {
  .expense-hero {
    padding: 1rem !important;
  }

  .expense-footer {
    position: static;
  }

  .expense-save-btn,
  .expense-footer .btn {
    width: 100%;
  }
}

.expense-detail-hero,
.expense-detail-kpi,
.expense-detail-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.expense-detail-hero {
  background: linear-gradient(
    135deg,
    rgba(255, 62, 29, 0.12),
    rgba(105, 108, 255, 0.06)
  );
}

.expense-detail-icon {
  width: 46px;
  height: 46px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
  font-size: 1.45rem;
}

.expense-detail-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
  font-size: 1.3rem;
}

.expense-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
}

.expense-detail-table th,
.expense-detail-table td {
  vertical-align: middle;
  white-space: nowrap;
}

.expense-detail-table thead th {
  background: rgba(133, 146, 163, 0.06);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bs-secondary-color);
}

.expense-row-title {
  max-width: 260px;
  white-space: normal;
}

.expense-note {
  max-width: 320px;
  white-space: normal;
}

.expense-amount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(255, 62, 29, 0.1);
  color: var(--bs-danger);
  font-weight: 800;
  min-width: 110px;
}

.expense-id-badge {
  width: 34px;
  height: 34px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-weight: 800;
}

.finding-card,
.finding-filter-card,
.finding-matrix-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.finding-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.finding-kpi-danger {
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
}

.finding-kpi-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.finding-kpi-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.finding-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 0.9rem;
}

.finding-live-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 1rem;
  background: var(--bs-body-bg);
  transition: all 0.18s ease;
}

.finding-live-card:hover {
  transform: translateY(-2px);
  border-color: rgba(105, 108, 255, 0.55);
  box-shadow: 0 0.45rem 1.1rem rgba(67, 89, 113, 0.1);
}

.finding-live-icon {
  width: 38px;
  height: 38px;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.2rem;
}

.finding-table-wrap {
  overflow: auto;
  position: relative;
  max-width: 100%;
}

.finding-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

.finding-table th,
.finding-table td {
  white-space: nowrap;
  vertical-align: middle;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  padding: 0.42rem 0.6rem;
  font-size: 0.82rem;
}

.finding-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

html.dark-style .finding-table thead th {
  background: #2b2c40;
}

.finding-sticky-main {
  position: sticky;
  left: 0;
  z-index: 35;
  min-width: 330px;
  width: 330px;
  max-width: 330px;
  background: var(--bs-body-bg) !important;
  box-shadow: 1px 0 0 var(--bs-border-color);
}

.finding-table thead .finding-sticky-main {
  z-index: 55;
  background: #fff !important;
}

html.dark-style .finding-table thead .finding-sticky-main {
  background: #2b2c40 !important;
}

.finding-date-head {
  min-width: 120px;
}

.finding-row-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.finding-row-icon {
  width: 34px;
  height: 34px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
}

.finding-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
  font-weight: 800;
}

.finding-cell-empty {
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.finding-cell-open {
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
}

.finding-cell-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.finding-cell-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.finding-cell-critical {
  background: rgba(255, 62, 29, 0.2);
  color: var(--bs-danger);
  box-shadow: inset 0 0 0 1px rgba(255, 62, 29, 0.25);
}

.finding-day-total td {
  background: rgba(105, 108, 255, 0.08) !important;
  font-weight: 800;
}

.finding-day-total .finding-sticky-main {
  background: #eef0ff !important;
}

html.dark-style .finding-day-total .finding-sticky-main {
  background: #313350 !important;
}

.finding-total-cell {
  background: rgba(105, 108, 255, 0.1) !important;
  color: var(--bs-primary);
  font-weight: 800;
}

.finding-link {
  text-decoration: none;
  display: block;
}

.finding-link:hover {
  text-decoration: underline;
}

.finding-chip {
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  background: var(--bs-body-bg);
}

.finding-form-shell,
.finding-hero,
.finding-kpi-card,
.finding-section-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.finding-hero {
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 62, 29, 0.18),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.12), rgba(255, 171, 0, 0.08));
}

.finding-hero-icon,
.finding-kpi-icon,
.finding-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.finding-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: rgba(255, 62, 29, 0.13);
  color: var(--bs-danger);
  font-size: 1.8rem;
}

.finding-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.finding-field-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.85rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-size: 1.15rem;
}

.finding-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.finding-chip i {
  color: var(--bs-primary);
}

.finding-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.finding-section-title h6 {
  margin: 0;
  font-weight: 800;
}

.finding-section-title small {
  color: var(--bs-secondary-color);
}

.finding-priority-option,
.finding-status-option {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.16s ease;
  height: 100%;
  background: var(--bs-body-bg);
}

.finding-priority-option:hover,
.finding-status-option:hover {
  border-color: rgba(105, 108, 255, 0.45);
  transform: translateY(-1px);
}

.finding-priority-option.active,
.finding-status-option.active {
  background: rgba(105, 108, 255, 0.08);
  border-color: rgba(105, 108, 255, 0.55);
}

.finding-live-box {
  border-radius: 1.1rem;
  padding: 1rem;
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.finding-live-box.is-danger {
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
}

.finding-live-box.is-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.finding-live-box .value {
  font-size: 1.2rem;
  font-weight: 900;
}

.finding-help-box {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(133, 146, 163, 0.06);
}

.finding-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  border-top: 1px solid var(--bs-border-color);
  background: rgba(var(--bs-body-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
}

.finding-save-btn {
  min-width: 160px;
}

@media (max-width: 767.98px) {
  .finding-hero {
    padding: 1rem !important;
  }

  .finding-footer {
    position: static;
  }

  .finding-save-btn,
  .finding-footer .btn {
    width: 100%;
  }
}

.dash-soft-card,
.dash-kpi-card,
.dash-table-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.dash-hero {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(105, 108, 255, 0.14),
    rgba(40, 199, 111, 0.08)
  );
  overflow: hidden;
}

.dash-hero-icon,
.dash-kpi-icon,
.dash-row-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dash-hero-icon {
  width: 54px;
  height: 54px;
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 1.75rem;
}

.dash-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  font-size: 1.35rem;
}

.dash-icon-primary {
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
}
.dash-icon-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}
.dash-icon-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}
.dash-icon-danger {
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
}
.dash-icon-info {
  background: rgba(3, 195, 236, 0.12);
  color: var(--bs-info);
}

.dash-filter-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.dash-mini-stat {
  border: 1px solid var(--bs-border-color);
  border-radius: 0.95rem;
  padding: 0.85rem;
  background: rgba(133, 146, 163, 0.05);
}

.dash-channel-item,
.dash-operation-item {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.95rem;
  background: var(--bs-body-bg);
  transition: all 0.18s ease;
}

.dash-channel-item:hover,
.dash-operation-item:hover {
  transform: translateY(-2px);
  border-color: rgba(105, 108, 255, 0.55);
  box-shadow: 0 0.45rem 1.1rem rgba(67, 89, 113, 0.1);
}

.dash-table-wrap {
  overflow: auto;
  position: relative;
  max-width: 100%;
}

.dash-matrix-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

.dash-matrix-table th,
.dash-matrix-table td {
  white-space: nowrap;
  vertical-align: middle;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  padding: 0.42rem 0.6rem;
  font-size: 0.82rem;
}

.dash-matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

html.dark-style .dash-matrix-table thead th {
  background: #2b2c40;
}

.dash-sticky-main {
  position: sticky;
  left: 0;
  z-index: 35;
  min-width: 285px;
  width: 285px;
  max-width: 285px;
  background: var(--bs-body-bg) !important;
  box-shadow: 1px 0 0 var(--bs-border-color);
}

.dash-matrix-table thead .dash-sticky-main {
  z-index: 55;
  background: #fff !important;
}

html.dark-style .dash-matrix-table thead .dash-sticky-main {
  background: #2b2c40 !important;
}

.dash-date-head {
  min-width: 115px;
}

.dash-row-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dash-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.75rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
}

.dash-auto-cell {
  background: rgba(40, 199, 111, 0.08) !important;
}
.dash-revenue-cell {
  background: rgba(105, 108, 255, 0.08) !important;
}
.dash-diff-positive {
  background: rgba(255, 171, 0, 0.13) !important;
  color: var(--bs-warning);
  font-weight: 800;
}
.dash-diff-negative {
  background: rgba(255, 62, 29, 0.11) !important;
  color: var(--bs-danger);
  font-weight: 800;
}
.dash-diff-zero {
  background: rgba(40, 199, 111, 0.1) !important;
  color: var(--bs-success);
  font-weight: 800;
}

.dash-total-cell {
  background: rgba(105, 108, 255, 0.1) !important;
  color: var(--bs-primary);
  font-weight: 800;
}

.dash-chip {
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  background: var(--bs-body-bg);
}

.dash-empty {
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.operation-kpi-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  height: 100%;
  background: var(--bs-body-bg);
}

.operation-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.operation-matrix-wrap {
  overflow: auto;
  position: relative;
  max-width: 100%;
}

.operation-matrix-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

.operation-matrix-table th,
.operation-matrix-table td {
  white-space: nowrap;
  vertical-align: middle;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
}

.operation-matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

html.dark-style .operation-matrix-table thead th {
  background: #2b2c40;
}

.op-sticky-main {
  position: sticky;
  left: 0;
  z-index: 35;
  min-width: 280px;
  width: 280px;
  max-width: 280px;
  background: var(--bs-body-bg) !important;
  box-shadow: 1px 0 0 var(--bs-border-color);
}

.operation-matrix-table thead .op-sticky-main {
  z-index: 50;
  background: #fff !important;
}

html.dark-style .operation-matrix-table thead .op-sticky-main {
  background: #2b2c40 !important;
}

.op-branch-divider td {
  background: rgba(105, 108, 255, 0.08) !important;
  font-weight: 800;
}

.op-branch-divider .op-sticky-main {
  background: #eef0ff !important;
}

html.dark-style .op-branch-divider .op-sticky-main {
  background: #313350 !important;
}

.op-cell-link {
  text-decoration: none;
  display: block;
}

.op-cell-link:hover {
  text-decoration: underline;
}

.op-empty-cell {
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.op-metric-icon {
  width: 28px;
  height: 28px;
  border-radius: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(133, 146, 163, 0.1);
  color: var(--bs-heading-color);
}

.op-date-head {
  min-width: 135px;
}

.op-total-row td {
  background: rgba(40, 199, 111, 0.08) !important;
  font-weight: 800;
}

.op-total-row .op-sticky-main {
  background: #eafaf1 !important;
}

html.dark-style .op-total-row .op-sticky-main {
  background: #263b33 !important;
}

.op-shell {
  display: grid;
  gap: 1.25rem;
}

.op-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(105, 108, 255, 0.16);
  border-radius: 1.35rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(105, 108, 255, 0.2),
      transparent 28%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(40, 199, 111, 0.13),
      transparent 30%
    ),
    var(--bs-body-bg);
  box-shadow: 0 0.75rem 1.8rem rgba(67, 89, 113, 0.08);
}

.op-hero::after {
  content: "";
  position: absolute;
  inset: auto -70px -80px auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(105, 108, 255, 0.08);
  pointer-events: none;
}

.op-hero-body {
  position: relative;
  z-index: 1;
  padding: 1.15rem;
}

.op-hero-title {
  font-weight: 850;
  color: var(--bs-heading-color);
  margin: 0;
}

.op-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.38rem 0.68rem;
  background: var(--bs-body-bg);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bs-secondary-color);
}

.op-chip i {
  color: var(--bs-primary);
  font-size: 1rem;
}

.op-filter-card,
.op-main-card,
.op-kpi-card,
.op-side-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
  box-shadow: 0 0.35rem 1.1rem rgba(67, 89, 113, 0.055);
}

.op-kpi-card {
  height: 100%;
  padding: 1rem;
  transition: 0.18s ease;
}

.op-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.65rem 1.45rem rgba(67, 89, 113, 0.09);
}

.op-kpi-icon,
.op-section-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
  flex: 0 0 auto;
}

.op-kpi-icon.success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}
.op-kpi-icon.warning {
  background: rgba(255, 171, 0, 0.15);
  color: var(--bs-warning);
}
.op-kpi-icon.danger {
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
}

.op-kpi-label {
  font-size: 0.78rem;
  color: var(--bs-secondary-color);
  font-weight: 700;
  margin-bottom: 0.12rem;
}

.op-kpi-value {
  font-size: 1.32rem;
  line-height: 1.1;
  font-weight: 850;
  color: var(--bs-heading-color);
}

.op-kpi-help {
  display: block;
  margin-top: 0.35rem;
  color: var(--bs-secondary-color);
  font-size: 0.75rem;
}

.op-auto-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
  background: rgba(40, 199, 111, 0.1);
  color: var(--bs-success);
  font-size: 0.72rem;
  font-weight: 800;
}

.op-auto-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--bs-success);
  box-shadow: 0 0 0 0.18rem rgba(40, 199, 111, 0.12);
  animation: opPulse 1.45s infinite;
}

@keyframes opPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.72);
  }
}

.op-form-section {
  padding: 1.15rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.op-form-section:last-child {
  border-bottom: 0;
}

.op-section-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.op-section-title h5 {
  margin: 0;
  font-weight: 850;
}

.op-section-title small {
  color: var(--bs-secondary-color);
}

.op-readonly-field,
.readonly-result {
  background: rgba(40, 199, 111, 0.07) !important;
  border-color: rgba(40, 199, 111, 0.18) !important;
  color: var(--bs-heading-color);
  font-weight: 800;
}

.op-main-input {
  height: 3.75rem;
  font-size: 1.35rem;
  font-weight: 850;
  border-radius: 1rem;
}

.op-form-help {
  font-size: 0.74rem;
  color: var(--bs-secondary-color);
  margin-top: 0.35rem;
}

.op-diff-card {
  border-radius: 1.15rem;
  padding: 1.05rem;
  border: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  min-height: 100%;
}

.op-diff-card.diff-zero {
  border-color: rgba(40, 199, 111, 0.32);
  background: rgba(40, 199, 111, 0.08);
}

.op-diff-card.diff-positive {
  border-color: rgba(255, 171, 0, 0.35);
  background: rgba(255, 171, 0, 0.1);
}

.op-diff-card.diff-negative {
  border-color: rgba(255, 62, 29, 0.32);
  background: rgba(255, 62, 29, 0.09);
}

.op-diff-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--bs-secondary-color);
}

.op-diff-value {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 0.2rem;
}

.diff-positive {
  color: var(--bs-warning) !important;
}
.diff-negative {
  color: var(--bs-danger) !important;
}
.diff-zero {
  color: var(--bs-success) !important;
}

.op-formula {
  border: 1px dashed rgba(105, 108, 255, 0.28);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(105, 108, 255, 0.055);
  color: var(--bs-secondary-color);
  font-size: 0.82rem;
}

.op-side-list {
  display: grid;
  gap: 0.75rem;
}

.op-side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.95rem;
  padding: 0.75rem;
  background: rgba(133, 146, 163, 0.035);
}

.op-side-item strong {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
  .op-hero-body,
  .op-form-section {
    padding: 0.95rem;
  }
  .op-kpi-value {
    font-size: 1.15rem;
  }
  .op-diff-value {
    font-size: 1.4rem;
  }
}

.recv-soft-card,
.recv-kpi {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.recv-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
  font-size: 1.35rem;
}

.recv-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.9rem;
}

.recv-live-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 1rem;
  background: var(--bs-body-bg);
  transition: all 0.18s ease;
}

.recv-live-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 171, 0, 0.65);
  box-shadow: 0 0.45rem 1.1rem rgba(67, 89, 113, 0.1);
}

.recv-live-icon {
  width: 38px;
  height: 38px;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
  font-size: 1.2rem;
}

.recv-table-wrap {
  overflow: auto;
  position: relative;
  max-width: 100%;
}

.recv-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

.recv-table th,
.recv-table td {
  white-space: nowrap;
  vertical-align: middle;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  padding: 0.42rem 0.6rem;
  font-size: 0.82rem;
}

.recv-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

html.dark-style .recv-table thead th {
  background: #2b2c40;
}

.recv-sticky-main {
  position: sticky;
  left: 0;
  z-index: 35;
  min-width: 315px;
  width: 315px;
  max-width: 315px;
  background: var(--bs-body-bg) !important;
  box-shadow: 1px 0 0 var(--bs-border-color);
}

.recv-table thead .recv-sticky-main {
  z-index: 50;
  background: #fff !important;
}

html.dark-style .recv-table thead .recv-sticky-main {
  background: #2b2c40 !important;
}

.recv-date-head {
  min-width: 135px;
}

.recv-row-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.recv-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 171, 0, 0.12);
  color: var(--bs-warning);
}

.recv-amount-stack {
  line-height: 1.2;
}

.recv-amount-stack small {
  display: block;
  margin-top: 0.12rem;
}

.recv-cell-positive {
  background: rgba(255, 171, 0, 0.08) !important;
}

.recv-cell-paid {
  background: rgba(40, 199, 111, 0.09) !important;
}

.recv-cell-open {
  background: rgba(255, 171, 0, 0.12) !important;
}

.recv-total-cell {
  background: rgba(255, 171, 0, 0.14) !important;
  color: var(--bs-warning);
  font-weight: 800;
}

.recv-day-total td {
  background: rgba(105, 108, 255, 0.08) !important;
  font-weight: 800;
}

.recv-day-total .recv-sticky-main {
  background: #eef0ff !important;
}

html.dark-style .recv-day-total .recv-sticky-main {
  background: #313350 !important;
}

.recv-link {
  text-decoration: none;
  display: block;
}

.recv-link:hover {
  text-decoration: underline;
}

.recv-empty {
  color: var(--bs-secondary-color);
  opacity: 0.65;
}

.recv-count-badge {
  font-size: 0.68rem;
  padding: 0.2rem 0.45rem;
}

.recv-form-shell,
.recv-hero,
.recv-kpi-card,
.recv-section-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.recv-hero {
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(255, 171, 0, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(255, 171, 0, 0.13), rgba(105, 108, 255, 0.06));
}

.recv-hero-icon,
.recv-kpi-icon,
.recv-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.recv-hero-icon {
  width: 56px;
  height: 56px;
  border-radius: 1.1rem;
  background: rgba(255, 171, 0, 0.16);
  color: var(--bs-warning);
  font-size: 1.75rem;
}

.recv-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
  font-size: 1.35rem;
}

.recv-field-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.85rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-size: 1.15rem;
}

.recv-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.recv-chip i {
  color: var(--bs-warning);
}

.recv-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.recv-section-title h6 {
  margin: 0;
  font-weight: 800;
}

.recv-section-title small {
  color: var(--bs-secondary-color);
}

.recv-money-input {
  height: 58px;
  font-size: 1.25rem;
  font-weight: 850;
}

.recv-live-total {
  border-radius: 1.1rem;
  padding: 1rem;
  background: rgba(255, 171, 0, 0.15);
  color: var(--bs-warning);
}

.recv-live-total .value {
  font-size: 1.5rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.recv-live-total.is-paid {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.recv-live-total.is-danger {
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
}

.recv-progress {
  height: 0.55rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(133, 146, 163, 0.16);
}

.recv-progress-bar {
  height: 100%;
  border-radius: 999px;
  width: 0%;
  background: var(--bs-success);
  transition: width 0.2s ease;
}

.recv-status-box {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(133, 146, 163, 0.06);
}

.recv-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  border-top: 1px solid var(--bs-border-color);
  background: rgba(var(--bs-body-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
}

.recv-save-btn {
  min-width: 160px;
}

@media (max-width: 767.98px) {
  .recv-hero {
    padding: 1rem !important;
  }

  .recv-footer {
    position: static;
  }

  .recv-save-btn,
  .recv-footer .btn {
    width: 100%;
  }
}

.recv-detail-hero,
.recv-detail-kpi,
.recv-detail-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.recv-detail-hero {
  background: linear-gradient(
    135deg,
    rgba(255, 171, 0, 0.15),
    rgba(105, 108, 255, 0.06)
  );
}

.recv-detail-icon,
.recv-detail-kpi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.recv-detail-icon {
  width: 50px;
  height: 50px;
  border-radius: 1rem;
  font-size: 1.55rem;
}

.recv-detail-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  font-size: 1.3rem;
}

.recv-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
}

.recv-detail-table th,
.recv-detail-table td {
  vertical-align: middle;
}

.recv-detail-table thead th {
  background: rgba(133, 146, 163, 0.06);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bs-secondary-color);
  white-space: nowrap;
}

.recv-id-badge {
  width: 34px;
  height: 34px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-weight: 800;
}

.recv-amount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 800;
  min-width: 115px;
}

.recv-amount-total {
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
}

.recv-amount-paid {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.recv-amount-remain {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.recv-note {
  max-width: 340px;
  white-space: normal;
}

.recv-customer-cell {
  max-width: 260px;
  white-space: normal;
}

.report-card,
.report-filter-card,
.report-matrix-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.15rem;
  background: var(--bs-body-bg);
}

.report-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.report-kpi-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.report-kpi-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.report-kpi-danger {
  background: rgba(255, 62, 29, 0.12);
  color: var(--bs-danger);
}

.report-table-wrap {
  overflow: auto;
  position: relative;
  max-width: 100%;
}

.report-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: max-content;
}

.report-table th,
.report-table td {
  white-space: nowrap;
  vertical-align: middle;
  border-right: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  padding: 0.42rem 0.6rem;
  font-size: 0.82rem;
}

.report-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
}

html.dark-style .report-table thead th {
  background: #2b2c40;
}

.report-sticky-main {
  position: sticky;
  left: 0;
  z-index: 35;
  min-width: 300px;
  width: 300px;
  max-width: 300px;
  background: var(--bs-body-bg) !important;
  box-shadow: 1px 0 0 var(--bs-border-color);
}

.report-table thead .report-sticky-main {
  z-index: 55;
  background: #fff !important;
}

html.dark-style .report-table thead .report-sticky-main {
  background: #2b2c40 !important;
}

.report-date-head {
  min-width: 118px;
}

.report-row-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.report-row-icon {
  width: 32px;
  height: 32px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
}

.report-group-row td {
  background: rgba(105, 108, 255, 0.08) !important;
  color: var(--bs-primary);
  font-weight: 800;
}

.report-group-row .report-sticky-main {
  background: #eef0ff !important;
}

html.dark-style .report-group-row .report-sticky-main {
  background: #313350 !important;
}

.report-auto-cell {
  background: rgba(40, 199, 111, 0.08) !important;
}

.report-diff-positive {
  background: rgba(255, 171, 0, 0.13) !important;
  color: var(--bs-warning);
  font-weight: 800;
}

.report-diff-negative {
  background: rgba(255, 62, 29, 0.11) !important;
  color: var(--bs-danger);
  font-weight: 800;
}

.report-diff-zero {
  background: rgba(40, 199, 111, 0.1) !important;
  color: var(--bs-success);
  font-weight: 800;
}

.report-total-cell {
  background: rgba(105, 108, 255, 0.1) !important;
  color: var(--bs-primary);
  font-weight: 800;
}

.report-chip {
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  background: var(--bs-body-bg);
}

.settings-hero,
.settings-card,
.settings-shell,
.settings-section-card,
.settings-side-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.settings-hero {
  border: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(105, 108, 255, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.13), rgba(40, 199, 111, 0.08));
}

.settings-hero-icon,
.settings-kpi-icon,
.settings-field-icon,
.settings-preview-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.settings-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 1.8rem;
}

.settings-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.settings-kpi-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.settings-kpi-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.settings-kpi-info {
  background: rgba(3, 195, 236, 0.14);
  color: var(--bs-info);
}

.settings-field-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.85rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-size: 1.15rem;
}

.settings-preview-avatar {
  width: 76px;
  height: 76px;
  border-radius: 1.35rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(105, 108, 255, 0.16);
}

.settings-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.settings-chip i {
  color: var(--bs-primary);
}

.settings-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.settings-section-title h6 {
  margin: 0;
  font-weight: 800;
}

.settings-section-title small {
  color: var(--bs-secondary-color);
}

.settings-money-input {
  height: 56px;
  font-size: 1.25rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.settings-live-box {
  border-radius: 1.2rem;
  padding: 1.1rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
}

.settings-live-box .value {
  font-size: 1.35rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.settings-mini-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px dashed var(--bs-border-color);
}

.settings-mini-row:last-child {
  border-bottom: 0;
}

.settings-help-box {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(133, 146, 163, 0.06);
}

.settings-note-preview {
  max-width: 240px;
  text-align: right;
  word-break: break-word;
}

.settings-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  border-top: 1px solid var(--bs-border-color);
  background: rgba(var(--bs-body-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
}

.settings-save-btn {
  min-width: 160px;
}

@media (max-width: 767.98px) {
  .settings-hero {
    padding: 1rem !important;
  }

  .settings-footer {
    position: static;
  }

  .settings-save-btn,
  .settings-footer .btn {
    width: 100%;
  }

  .settings-mini-row {
    flex-direction: column;
    gap: 0.35rem;
  }

  .settings-note-preview {
    max-width: 100%;
    text-align: left;
  }
}

.staff-card,
.staff-filter-card,
.staff-table-card,
.staff-hero {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.staff-hero {
  border: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(40, 199, 111, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.12), rgba(40, 199, 111, 0.08));
}

.staff-hero-icon,
.staff-kpi-icon,
.staff-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.staff-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: rgba(40, 199, 111, 0.14);
  color: var(--bs-success);
  font-size: 1.8rem;
}

.staff-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.staff-kpi-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.staff-kpi-secondary {
  background: rgba(133, 146, 163, 0.14);
  color: var(--bs-secondary);
}

.staff-kpi-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.staff-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.staff-chip i {
  color: var(--bs-success);
}

.staff-table-wrap {
  overflow: auto;
  max-width: 100%;
}

.staff-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1040px;
  border-top: 1px solid rgba(120, 130, 140, 0.18);
  border-left: 1px solid rgba(120, 130, 140, 0.18);
}

.staff-table th,
.staff-table td {
  vertical-align: middle;
  border-right: 1px solid rgba(120, 130, 140, 0.2) !important;
  border-bottom: 1px solid rgba(120, 130, 140, 0.2) !important;
  background: var(--bs-body-bg);
  padding: 0.72rem 0.8rem;
}

.staff-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    180deg,
    rgba(105, 108, 255, 0.09),
    rgba(105, 108, 255, 0.035)
  ) !important;
  border-bottom: 2px solid rgba(120, 130, 140, 0.28) !important;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

html.dark-style .staff-table thead th {
  background: #2b2c40 !important;
}

.staff-table tbody tr:nth-child(even) td {
  background: rgba(105, 108, 255, 0.025);
}

.staff-table tbody tr:hover td {
  background: rgba(105, 108, 255, 0.08) !important;
}

.staff-sticky-person {
  position: sticky;
  left: 0;
  z-index: 25;
  min-width: 290px;
  width: 290px;
  max-width: 290px;
  background: var(--bs-body-bg) !important;
  box-shadow:
    2px 0 0 rgba(120, 130, 140, 0.16),
    10px 0 20px rgba(0, 0, 0, 0.045);
}

.staff-table thead .staff-sticky-person {
  z-index: 40;
  background: #fff !important;
}

html.dark-style .staff-table thead .staff-sticky-person {
  background: #2b2c40 !important;
}

.staff-table tbody tr:nth-child(even) .staff-sticky-person {
  background: #fbfbff !important;
}

.staff-table tbody tr:hover .staff-sticky-person {
  background: #f2f3ff !important;
}

html.dark-style .staff-table tbody tr:nth-child(even) .staff-sticky-person {
  background: #2d2e44 !important;
}

html.dark-style .staff-table tbody tr:hover .staff-sticky-person {
  background: #343657 !important;
}

.staff-avatar {
  width: 42px;
  height: 42px;
  border-radius: 1rem;
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(40, 199, 111, 0.15);
}

.staff-person-line {
  max-width: 210px;
}

.staff-person-line .name {
  font-weight: 800;
  color: var(--bs-heading-color);
}

.staff-person-line .sub {
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-money-badge {
  display: inline-flex;
  justify-content: center;
  min-width: 94px;
  border-radius: 999px;
  padding: 0.4rem 0.65rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.staff-action-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .staff-hero {
    padding: 1rem !important;
  }

  .staff-sticky-person {
    min-width: 245px;
    width: 245px;
    max-width: 245px;
  }
}

.staff-form-shell,
.staff-hero,
.staff-kpi-card,
.staff-section-card,
.staff-side-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.staff-hero {
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(40, 199, 111, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.13), rgba(40, 199, 111, 0.08));
}

.staff-avatar-preview,
.staff-hero-icon,
.staff-kpi-icon,
.staff-field-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.staff-avatar-preview {
  width: 76px;
  height: 76px;
  border-radius: 1.35rem;
  background: rgba(40, 199, 111, 0.14);
  color: var(--bs-success);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(40, 199, 111, 0.16);
}

.staff-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: rgba(40, 199, 111, 0.14);
  color: var(--bs-success);
  font-size: 1.8rem;
}

.staff-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.staff-field-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.85rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-size: 1.15rem;
}

.staff-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.staff-chip i {
  color: var(--bs-success);
}

.staff-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.staff-section-title h6 {
  margin: 0;
  font-weight: 800;
}

.staff-section-title small {
  color: var(--bs-secondary-color);
}

.staff-money-input {
  height: 60px;
  font-size: 1.35rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.staff-readonly {
  background: rgba(133, 146, 163, 0.08) !important;
  font-weight: 900;
}

.staff-status-option {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.16s ease;
  height: 100%;
  background: var(--bs-body-bg);
}

.staff-status-option:hover {
  border-color: rgba(105, 108, 255, 0.45);
  transform: translateY(-1px);
}

.staff-status-option.active {
  background: rgba(105, 108, 255, 0.08);
  border-color: rgba(105, 108, 255, 0.55);
}

.staff-salary-preview {
  border-radius: 1.2rem;
  padding: 1.1rem;
  background: rgba(40, 199, 111, 0.1);
  color: var(--bs-success);
}

.staff-salary-preview .value {
  font-size: 1.65rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.staff-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px dashed var(--bs-border-color);
}

.staff-mini-row:last-child {
  border-bottom: 0;
}

.staff-help-box {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(133, 146, 163, 0.06);
}

.staff-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  border-top: 1px solid var(--bs-border-color);
  background: rgba(var(--bs-body-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
}

.staff-save-btn {
  min-width: 160px;
}

@media (max-width: 767.98px) {
  .staff-hero {
    padding: 1rem !important;
  }

  .staff-footer {
    position: static;
  }

  .staff-save-btn,
  .staff-footer .btn {
    width: 100%;
  }
}

.users-card,
.users-filter-card,
.users-table-card,
.users-hero {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.users-hero {
  border: 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top right,
      rgba(105, 108, 255, 0.18),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.12), rgba(3, 195, 236, 0.08));
}

.users-hero-icon,
.users-kpi-icon,
.users-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.users-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 1.8rem;
}

.users-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.users-kpi-success {
  background: rgba(40, 199, 111, 0.12);
  color: var(--bs-success);
}

.users-kpi-secondary {
  background: rgba(133, 146, 163, 0.14);
  color: var(--bs-secondary);
}

.users-kpi-warning {
  background: rgba(255, 171, 0, 0.14);
  color: var(--bs-warning);
}

.users-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.users-chip i {
  color: var(--bs-primary);
}

.users-table-wrap {
  overflow: auto;
  max-width: 100%;
}

.users-table {
  border-collapse: separate;
  border-spacing: 0;
  min-width: 1120px;
  border-top: 1px solid rgba(120, 130, 140, 0.18);
  border-left: 1px solid rgba(120, 130, 140, 0.18);
}

.users-table th,
.users-table td {
  vertical-align: middle;
  border-right: 1px solid rgba(120, 130, 140, 0.2) !important;
  border-bottom: 1px solid rgba(120, 130, 140, 0.2) !important;
  background: var(--bs-body-bg);
  padding: 0.72rem 0.8rem;
}

.users-table thead th {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(
    180deg,
    rgba(105, 108, 255, 0.09),
    rgba(105, 108, 255, 0.035)
  ) !important;
  border-bottom: 2px solid rgba(120, 130, 140, 0.28) !important;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

html.dark-style .users-table thead th {
  background: #2b2c40 !important;
}

.users-table tbody tr:nth-child(even) td {
  background: rgba(105, 108, 255, 0.025);
}

.users-table tbody tr:hover td {
  background: rgba(105, 108, 255, 0.08) !important;
}

.users-sticky-user {
  position: sticky;
  left: 0;
  z-index: 25;
  min-width: 290px;
  width: 290px;
  max-width: 290px;
  background: var(--bs-body-bg) !important;
  box-shadow:
    2px 0 0 rgba(120, 130, 140, 0.16),
    10px 0 20px rgba(0, 0, 0, 0.045);
}

.users-table thead .users-sticky-user {
  z-index: 40;
  background: #fff !important;
}

html.dark-style .users-table thead .users-sticky-user {
  background: #2b2c40 !important;
}

.users-table tbody tr:nth-child(even) .users-sticky-user {
  background: #fbfbff !important;
}

.users-table tbody tr:hover .users-sticky-user {
  background: #f2f3ff !important;
}

html.dark-style .users-table tbody tr:nth-child(even) .users-sticky-user {
  background: #2d2e44 !important;
}

html.dark-style .users-table tbody tr:hover .users-sticky-user {
  background: #343657 !important;
}

.users-avatar {
  width: 42px;
  height: 42px;
  border-radius: 1rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(105, 108, 255, 0.15);
}

.users-user-line {
  max-width: 210px;
}

.users-user-line .name {
  font-weight: 800;
  color: var(--bs-heading-color);
}

.users-user-line .mail {
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.users-action-btn {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .users-hero {
    padding: 1rem !important;
  }

  .users-sticky-user {
    min-width: 250px;
    width: 250px;
    max-width: 250px;
  }
}

.user-form-shell,
.user-hero,
.user-kpi-card,
.user-section-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1.2rem;
  background: var(--bs-body-bg);
}

.user-hero {
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(105, 108, 255, 0.19),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(105, 108, 255, 0.13), rgba(3, 195, 236, 0.08));
}

.user-hero-icon,
.user-kpi-icon,
.user-field-icon,
.user-avatar-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.user-hero-icon {
  width: 58px;
  height: 58px;
  border-radius: 1.15rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 1.8rem;
}

.user-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 0.9rem;
  background: rgba(105, 108, 255, 0.12);
  color: var(--bs-primary);
  font-size: 1.35rem;
}

.user-field-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.85rem;
  background: rgba(105, 108, 255, 0.1);
  color: var(--bs-primary);
  font-size: 1.15rem;
}

.user-avatar-preview {
  width: 76px;
  height: 76px;
  border-radius: 1.35rem;
  background: rgba(105, 108, 255, 0.14);
  color: var(--bs-primary);
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(105, 108, 255, 0.16);
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: var(--bs-body-bg);
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--bs-body-color);
}

.user-chip i {
  color: var(--bs-primary);
}

.user-section-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.user-section-title h6 {
  margin: 0;
  font-weight: 800;
}

.user-section-title small {
  color: var(--bs-secondary-color);
}

.user-status-option {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.85rem;
  cursor: pointer;
  transition: all 0.16s ease;
  height: 100%;
  background: var(--bs-body-bg);
}

.user-status-option:hover {
  border-color: rgba(105, 108, 255, 0.45);
  transform: translateY(-1px);
}

.user-status-option.active {
  background: rgba(105, 108, 255, 0.08);
  border-color: rgba(105, 108, 255, 0.55);
}

.user-branch-info {
  border: 1px dashed rgba(40, 199, 111, 0.35);
  border-radius: 0.85rem;
  padding: 0.55rem 0.75rem;
  background: rgba(40, 199, 111, 0.08);
}

.user-password-box {
  border: 1px dashed var(--bs-border-color);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(133, 146, 163, 0.06);
}

.user-password-strength {
  height: 0.5rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(133, 146, 163, 0.16);
}

.user-password-strength-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--bs-danger);
  transition:
    width 0.2s ease,
    background 0.2s ease;
}

.user-footer {
  position: sticky;
  bottom: 0;
  z-index: 12;
  border-top: 1px solid var(--bs-border-color);
  background: rgba(var(--bs-body-bg-rgb), 0.92);
  backdrop-filter: blur(10px);
}

.user-save-btn {
  min-width: 160px;
}

@media (max-width: 767.98px) {
  .user-hero {
    padding: 1rem !important;
  }

  .user-footer {
    position: static;
  }

  .user-save-btn,
  .user-footer .btn {
    width: 100%;
  }
}
