/* User dashboard */
.dash-main-slider #carouselExampleDark {
  height: 100%;
}

.dash-main-slider .carousel-inner {
  height: 100%;
}

.dash-main-slider .carousel-item.active {
  height: 100%;
}

.dash-main-slider .carousel-item img {
  height: 100%;
}

.dash-main-slider .carousel-item img {
  /* max-height: 310px; */
}

.dash-main-slider {
  width: 100%;
}

/* .offer-banners .carousel-item img{
  max-height: 150px !important;
}
.main-banners .carousel-item img{
  max-height: 320px !important;
} */
/* Add perspective to the parent container */
/* Add perspective to the desktop view wrapper */
/* Parent (desktop only) */
/* --- Vertical Flip Card CSS --- */

/* Outer container defines perspective */

.categories-flip-bottom-cards {
  perspective: 1000px;
  width: 100%;
  height: 90px;
  /* Fixed height (change as needed) */
  position: relative;
}

/* Inner wrapper flips */
.flip-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
  /* To make it flip from the bottom edge, you can set transform-origin: bottom;
       However, the default (center) usually looks good for a simple vertical flip.
       If you want a true "bottom edge" hinge, uncomment this:
       transform-origin: center bottom; */
}

/* Hover to flip (Changed to rotateX) */
.categories-flip-bottom-cards:hover .flip-wrapper {
  transform: rotateX(180deg);
  border: none;
}

/* Both faces must match exactly */
.flip-front,
.flip-back {
  position: absolute;
  width: 100%;
  /* border: 2px solid #a32f78; */
  height: 100%;
  border-radius: 10px;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  /* overflow: hidden; */
}

/* Front layout uses your original card */
.flip-front .card {
  height: 100%;
}

/* Back side design */
.flip-back {
  background: #CF5236 !important;
  padding: 20px;
  /* Changed to rotateX to keep the back side oriented correctly after flip */
  transform: rotateX(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid white;
}

/* Fix overflow of inner content */
.flip-front .card-body,
.flip-back {
  overflow: hidden;
}





.secondary-banners img {
  max-height: 152px;
}

.brand_swiper_container {
  overflow: hidden;
  position: relative;
}

.brand_track {
  white-space: nowrap;
  display: inline-block;
}

/* Forward scroll */
.scroll-left {
  animation: scrollLeft 40s linear infinite;
}

/* Backward scroll */
.scroll-right {
  animation: scrollRight 40s linear infinite;
}

/* Keyframes for continuous movement */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Brand logo styling */
.brands-section {
  /* background: #fff !important; */
  border-radius: 8px;
}

.brand_logo {
  width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  /* filter: grayscale(30%); */
}

.brand_logo:hover {
  transform: scale(1.1);
  /* filter: grayscale(0%); */
  cursor: pointer;
}

/* Hover pause */
.brand_swiper_container:hover .scroll-left,
.brand_swiper_container:hover .scroll-right {
  animation-play-state: paused;
}

.theme-text-section {
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  /* background-image: linear-gradient(to bottom, rgb(207 82 54 / 4%) 0%, rgb(21 94 239 / 12%) 45%, rgb(255 202 24 / 16%) 100%); */
  background-blend-mode: soft-light;
  /* background-image: url('/assets/img/bokeh-effect-gradient-background_23-2148381458.jpg'); */
  /* background-image: url('https://img.freepik.com/free-vector/bokeh-effect-gradient-background_23-2148381458.jpg?t=st=1762414824~exp=1762418424~hmac=fe8f69c9d8c8e892cc973d6cbee7381de79b4d1ce62ddc0bf69f19541abe85ea&w=1480'); */


}

.theme-text-section h2 {
  line-height: 82px;
  font-size: 60px;
  color: #999797a8;

  font-size: 45px;
  text-transform: uppercase;
  display: inline-block;
  overflow: hidden;

}

/* ✅ Fixed-width container — prevents shaking */


/* container for LOVE - fixed width so other text never moves */
.type-love {
  display: inline-block;
  width: 4ch;
  /* fixed space for 4 letters */
  height: 1em;
  /* matches line height */
  vertical-align: baseline;
  /* aligns with surrounding text */
  position: relative;
  overflow: visible;
  /* letters animate inside the box */
  white-space: nowrap;
  font-size: 80px;
  margin-left: -93px;
}

/* each letter */
.type-love span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transform-origin: center;
  color: #CF5236;
  will-change: transform, opacity;
  /* shared animation (duration controls speed) */
  animation: loveLetter 2.6s cubic-bezier(.2, .8, .2, 1) infinite;
}

/* stagger the letters so they appear one after another */
.type-love span:nth-child(1) {
  animation-delay: 0s;
}

.type-love span:nth-child(2) {
  animation-delay: 0.12s;
}

.type-love span:nth-child(3) {
  animation-delay: 0.24s;
}

.type-love span:nth-child(4) {
  animation-delay: 0.36s;
}

/* keyframes: rise & fade-in, hold, fade-out — loops smoothly */
@keyframes loveLetter {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  18% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* typed in */
  55% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* hold */
  80% {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }

  /* fade up */
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
}

/* Optional: reduce motion on small screens */
@media (max-width: 480px) {
  .type-love {
    width: 4ch;
  }

  .type-love span {
    animation-duration: 2.2s;
  }

}



/* Container */
.premium-particles-2 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  list-style: none;
  z-index: 3;
}

/* Basic particle style */
.premium-particles-2 li {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
  animation: driftParticles infinite ease-in-out;
  opacity: 0.85;
}

/* Drift animation */
@keyframes driftParticles {
  0% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(20px, -30px) scale(1.3);
  }

  50% {
    transform: translate(-10px, -50px) scale(0.9);
  }

  75% {
    transform: translate(-25px, 20px) scale(1.1);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Random positions & speeds (1–40) */

.premium-particles-2 li:nth-child(1) {
  top: 5%;
  left: 10%;
  animation-duration: 7s;
}

.premium-particles-2 li:nth-child(2) {
  top: 12%;
  left: 60%;
  animation-duration: 9s;
}

.premium-particles-2 li:nth-child(3) {
  top: 22%;
  left: 30%;
  animation-duration: 6s;
}

.premium-particles-2 li:nth-child(4) {
  top: 35%;
  left: 80%;
  animation-duration: 8s;
}

.premium-particles-2 li:nth-child(5) {
  top: 44%;
  left: 25%;
  animation-duration: 10s;
}

.premium-particles-2 li:nth-child(6) {
  top: 55%;
  left: 75%;
  animation-duration: 6.5s;
}

.premium-particles-2 li:nth-child(7) {
  top: 60%;
  left: 40%;
  animation-duration: 9.3s;
}

.premium-particles-2 li:nth-child(8) {
  top: 70%;
  left: 55%;
  animation-duration: 7.4s;
}

.premium-particles-2 li:nth-child(9) {
  top: 78%;
  left: 12%;
  animation-duration: 8.6s;
}

.premium-particles-2 li:nth-child(10) {
  top: 88%;
  left: 70%;
  animation-duration: 11s;
}

/* New particles 11–40 */
.premium-particles-2 li:nth-child(11) {
  top: 8%;
  left: 45%;
  animation-duration: 6.8s;
}

.premium-particles-2 li:nth-child(12) {
  top: 18%;
  left: 75%;
  animation-duration: 9.8s;
}

.premium-particles-2 li:nth-child(13) {
  top: 28%;
  left: 15%;
  animation-duration: 7.1s;
}

.premium-particles-2 li:nth-child(14) {
  top: 38%;
  left: 55%;
  animation-duration: 10.2s;
}

.premium-particles-2 li:nth-child(15) {
  top: 48%;
  left: 85%;
  animation-duration: 8.2s;
}

.premium-particles-2 li:nth-child(16) {
  top: 58%;
  left: 5%;
  animation-duration: 6.3s;
}

.premium-particles-2 li:nth-child(17) {
  top: 68%;
  left: 30%;
  animation-duration: 9.7s;
}

.premium-particles-2 li:nth-child(18) {
  top: 78%;
  left: 50%;
  animation-duration: 7.8s;
}

.premium-particles-2 li:nth-child(19) {
  top: 88%;
  left: 25%;
  animation-duration: 11.3s;
}

.premium-particles-2 li:nth-child(20) {
  top: 15%;
  left: 90%;
  animation-duration: 8.9s;
}

.premium-particles-2 li:nth-child(21) {
  top: 5%;
  left: 25%;
  animation-duration: 7.2s;
}

.premium-particles-2 li:nth-child(22) {
  top: 20%;
  left: 10%;
  animation-duration: 9.1s;
}

.premium-particles-2 li:nth-child(23) {
  top: 30%;
  left: 50%;
  animation-duration: 6.4s;
}

.premium-particles-2 li:nth-child(24) {
  top: 40%;
  left: 70%;
  animation-duration: 10.8s;
}

.premium-particles-2 li:nth-child(25) {
  top: 50%;
  left: 40%;
  animation-duration: 8.3s;
}

.premium-particles-2 li:nth-child(26) {
  top: 60%;
  left: 60%;
  animation-duration: 7.9s;
}

.premium-particles-2 li:nth-child(27) {
  top: 70%;
  left: 35%;
  animation-duration: 6.9s;
}

.premium-particles-2 li:nth-child(28) {
  top: 80%;
  left: 80%;
  animation-duration: 10.4s;
}

.premium-particles-2 li:nth-child(29) {
  top: 90%;
  left: 45%;
  animation-duration: 9.9s;
}

.premium-particles-2 li:nth-child(30) {
  top: 25%;
  left: 95%;
  animation-duration: 11.6s;
}

.premium-particles-2 li:nth-child(31) {
  top: 10%;
  left: 5%;
  animation-duration: 6.6s;
}

.premium-particles-2 li:nth-child(32) {
  top: 30%;
  left: 20%;
  animation-duration: 8.7s;
}

.premium-particles-2 li:nth-child(33) {
  top: 50%;
  left: 50%;
  animation-duration: 9.4s;
}

.premium-particles-2 li:nth-child(34) {
  top: 70%;
  left: 65%;
  animation-duration: 7.7s;
}

.premium-particles-2 li:nth-child(35) {
  top: 85%;
  left: 15%;
  animation-duration: 6.2s;
}

.premium-particles-2 li:nth-child(36) {
  top: 82%;
  left: 55%;
  animation-duration: 8.5s;
}

.premium-particles-2 li:nth-child(37) {
  top: 62%;
  left: 85%;
  animation-duration: 10.9s;
}

.premium-particles-2 li:nth-child(38) {
  top: 42%;
  left: 12%;
  animation-duration: 7.3s;
}

.premium-particles-2 li:nth-child(39) {
  top: 22%;
  left: 35%;
  animation-duration: 8.1s;
}

.premium-particles-2 li:nth-child(40) {
  top: 12%;
  left: 50%;
  animation-duration: 6.1s;
}





/* .typing-text {
    border-right: 3px solid #CF5236;
    white-space: nowrap;
    display: inline-block;
    overflow: hidden;
    animation: blink_cursor 0.7s infinite;
    color: #155EEF;
} */

/* @keyframes blink_cursor {
    0%, 100% { border-color: transparent; }
    50% { border-color: #CF5236; }
} */

.product-services-card {
  background-color: #cfcfdb6e;
  border: none;
}

.product-services-card .desktop-view .card-bg-light {
  /* margin-bottom: 5px;
    margin-top: 5px; */
}

.mitra-product {
  border-radius: 130px !important;
  border: none;
}

.mitra-product .card-title {
  font-size: 24px !important;
}

.hover-card-shadow {
  position: relative;
  border-radius: 12px;
  background: #fff;
  padding: 20px;
  transition: box-shadow 1s ease;
}

/* HOVER — gradient box shadow */
.hover-card-shadow:hover {
  cursor: pointer;
  box-shadow:
    -5px -5px 12px rgba(0, 133, 89, 0.15),
    5px -5px 14px rgba(0, 108, 224, 0.15),
    0px 6px 14px rgba(250, 65, 23, 0.22);

}








.hover-card-shadow .ribbon {
  right: -6px !important;
  top: 6% !important;
  padding: 0px 28px 0px 25px;
}

.hover-card-shadow {
  position: relative;
  /* border-radius: 16px; your card radius */
  border-radius: 20px !important;
  overflow: hidden;
  /* important to blend ribbon with rounded corners */
}

.hover-card-shadow .product-btn {
  padding: 4px;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

/* .active-border - four-side running border animation
   Requirements: the element must have four empty direct <span> children (in order).
*/

.active-border {
  position: relative;
  /* display: inline-block; */
  overflow: hidden;
  /* tweak these vars to change thickness and speed */
  --ab-size: 3px;
  /* border thickness */
  --ab-color: #fff;
  /* runner color */
  --ab-duration: 1s;
  /* full loop duration */
}

/* ensure main content sits above parent stacking context if needed */
.active-border>* {
  position: relative;
  z-index: 2;
}

/* runner lines */
.active-border span {
  position: absolute;
  display: block;
  pointer-events: none;
  z-index: 3;
  /* appear above content */
  background-repeat: no-repeat;
  background-size: 100% 100%;
  will-change: transform;
  /* hint for smoother animation */
}

/* TOP (span:nth-child(1)) — moves left → right */
.active-border span:nth-child(1) {
  top: 0;
  left: 0;
  width: 100%;
  height: var(--ab-size);
  background: linear-gradient(90deg, transparent, var(--ab-color));
  transform: translateX(-100%);
  animation: ab_top var(--ab-duration) linear infinite;
}

@keyframes ab_top {
  0% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* RIGHT (span:nth-child(2)) — moves top → bottom */
.active-border span:nth-child(2) {
  top: 0;
  right: 0;
  width: var(--ab-size);
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--ab-color));
  transform: translateY(-100%);
  animation: ab_right var(--ab-duration) linear infinite;
  animation-delay: calc(var(--ab-duration) * 0.25);
}

@keyframes ab_right {
  0% {
    transform: translateY(-100%);
  }

  50% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(100%);
  }
}

/* BOTTOM (span:nth-child(3)) — moves right → left */
.active-border span:nth-child(3) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: var(--ab-size);
  background: linear-gradient(270deg, transparent, var(--ab-color));
  transform: translateX(100%);
  animation: ab_bottom var(--ab-duration) linear infinite;
  animation-delay: calc(var(--ab-duration) * 0.5);
}

@keyframes ab_bottom {
  0% {
    transform: translateX(100%);
  }

  50% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* LEFT (span:nth-child(4)) — moves bottom → top */
.active-border span:nth-child(4) {
  bottom: 0;
  left: 0;
  width: var(--ab-size);
  height: 100%;
  background: linear-gradient(360deg, transparent, var(--ab-color));
  transform: translateY(100%);
  animation: ab_left var(--ab-duration) linear infinite;
  animation-delay: calc(var(--ab-duration) * 0.75);
}

@keyframes ab_left {
  0% {
    transform: translateY(100%);
  }

  50% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(-100%);
  }
}

/* optional: make runners subtler on small elements */
@media (max-width: 420px) {
  .active-border {
    --ab-size: 2px;
    --ab-duration: 1.1s;
  }
}



.hover-card-shadow .ribbon {
  position: absolute;
  top: 20px;
  right: 0;
  background-color: #155EEF;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  /* padding: 0px 16px 0px 16px; */
  z-index: 5;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;

  /* create room for inset cut */
  /* clip-path: polygon(
    16px 0,       
    100% 0,       
    100% 100%,    
    16px 100%,     
    0 50%         
); */

}

.offer-banners img {
  border-radius: 20px !important;
}

.offer-banners .carousel-item {
  border-radius: 20px !important;
}

.offer-banners-mobile {
  display: none;
}

/* Responsive tuning */
@media (max-width: 768px) {
  .brand_logo {
    height: 45px;
  }

  .scroll-left,
  .scroll-right {
    animation-duration: 60s;
    /* slower on mobile */
  }
}

/* =======================
   Mobile Devices
   767px and below
   ======================= */
@media (max-width: 1024px) {
  .theme-text-section {
    padding: 20px;
    margin-bottom: 0;
  }

  .theme-text-section h2 {
    line-height: 55px;
    font-size: 28px;
  }

  .type-love {
    font-size: 62px;
  }

  .offer-banners {
    display: none;
  }

  .offer-banners-mobile {
    display: block;
  }
}

/* End User dashboard */

/* Global search */
.source-db {
  justify-content: start;
  flex-direction: column;
  align-items: start !important;
}

.source-db li {
  margin-bottom: 15px;
  flex: 1 1 auto;
}

/* End Global search */


/* Notification */
.notification-item i {
  color: #092c4c;
  font-size: 20px;
  border: 1px solid #092c4c0f;
  border-radius: 50%;
  padding: 12px;
  background: #e6eaed57;
}

/* End Notification */
/* Wiggle animation */
@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }

  15% {
    transform: rotate(15deg);
  }

  30% {
    transform: rotate(-10deg);
  }

  45% {
    transform: rotate(10deg);
  }

  60% {
    transform: rotate(-5deg);
  }

  75% {
    transform: rotate(5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* Apply wiggle animation */
.wiggle-icon {
  display: inline-block;
  /* important for rotation */
  animation: wiggle 0.8s ease-in-out infinite;
  /* duration 0.8s, repeat infinitely */
}

/* Notification badge */
.notification-badge {
  display: none;
}

.notification-badge.active {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  background-color: red;
  color: white;
  font-size: 10px;
  font-weight: bold;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}


/* Secure PIN */
/* Overlay */
.secure-slide-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff99;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  filter: blur(2px);
}

.secure-slide-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Sliding Panel */
.secure-slide-panel {
  position: fixed;
  left: 0;
  bottom: -100%;
  width: 100%;
  background: #fff;
  color: #000;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  padding: 100px 20px 100px;
  transition: all 0.5s ease-in-out;
  text-align: center;
  /* z-index: 9999; */
  z-index: 99999999999;
}

.secure-slide-panel.active {
  bottom: 0;
}

.secure-slide-panel h3 {
  font-weight: 600;
  margin-bottom: 22px;
  font-size: 26px;
}

/* Security Input */
.secure-slide-input {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.secure-slide-input input {
  width: 100px;
  height: 100px;
  font-size: 34px;
  text-align: center;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  font-weight: 600;
  transition: 0.3s;
}

.secure-slide-input input:focus {
  border-color: #cf5236;
  box-shadow: 0 0 5px rgb(207 82 54 / 50%);
  outline: none;
}

/* Close Button */
.secure-slide-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 26px;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
}

.secure-slide-close:hover {
  color: #0d6efd;
}

/* =======================
   Tablets (portrait & landscape)
   768px to 1024px
   ======================= */
@media (max-width: 1024px) {

  .secure-slide-panel {
    padding: 25px;
  }

  .secure-slide-input input {
    width: 70px;
    height: 70px;
    font-size: 24px;
  }
}

/* =======================
   Mobile Devices
   767px and below
   ======================= */
@media (max-width: 767px) {

  .secure-slide-panel {
    padding: 20px;
  }

  .secure-slide-input {
    gap: 10px;
  }

  .secure-slide-input input {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .secure-slide-panel h3 {
    font-size: 18px;
  }

  .secure-slide-btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  .secure-slide-close {
    top: 5px;
    right: 10px;
    font-size: 20px;
  }
}


/* Export btn */
.export-btn {
  height: 35px;
  width: 35px;
  display: flex;
  align-items: center;
  -webkit-box-align: center;
  justify-content: center;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(230, 234, 237);
  border-image: initial;
  background: rgb(255, 255, 255);
  border-radius: 5px;
  padding: 4px;
}

/* End Export btn */

/* sidebar */
.sidebar-icon {
  max-width: 25px;
  margin-right: 8px;
}

/* end sidebar */

/* chatbot  */
#JotformAgent-019a0be145237d7cb3fa53b96b4ad4974a17 .embedded-agent-container {
  bottom: 15px !important;
}

/* end chatbot  */


/* 🟡 Premium Paid User Profile */
/* 🟡 Premium Paid User Profile */



/* end premium paid user profile */


/* card hover up */
.hover-card-up {
  transition: all 0.3s ease-in-out;
}

.hover-card-up:hover {
  transform: translateY(-8px);
  /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); */
  cursor: pointer;
}

/* end card hover up */

/* sidebar active nav */
.submenu-open .subdrop i,
.submenu-open .subdrop span {
  color: #212B36 !important;
}

.sidebar .sidebar-menu>ul>li.submenu-open ul li a:hover {}

/* end sidebar active nav */



/* premium */
/* Premium wrapper */
/*  */

/* animmm */
.background-card {
  position: relative;
  /* Make it the containing block */
  overflow: hidden;
  /* Hide overflowing cubes */
}

.background-card .img-fluid {
  vertical-align: middle;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  background: none;
  overflow: hidden;
  z-index: 0;
  /* Keep it behind content */
}

.background li {
  position: absolute;
  width: 10px;
  height: 10px;
  border: solid 1px #cf52360f;
  color: transparent;
  transform-origin: top left;
  transform: scale(0) rotate(0deg) translate(-50%, -50%);
  animation: cube 22s ease-in forwards infinite;
  opacity: 0.5;
}

/* Animation Keyframes */
@keyframes cube {
  from {
    transform: scale(0) rotate(0deg) translate(-50%, -50%);
    opacity: 1;
  }

  to {
    transform: scale(20) rotate(960deg) translate(-50%, -50%);
    opacity: 0;
  }
}

/* Individual cube positions and delays */
.background li:nth-child(1) {
  animation-delay: 0s;
  left: 20%;
  top: 30%;
}

.background li:nth-child(2) {
  animation-delay: 2s;
  left: 50%;
  top: 80%;
}

.background li:nth-child(3) {
  animation-delay: 4s;
  left: 70%;
  top: 10%;
}

.background li:nth-child(4) {
  animation-delay: 6s;
  left: 85%;
  top: 40%;
}

.background li:nth-child(5) {
  animation-delay: 8s;
  left: 60%;
  top: 60%;
}

.background li:nth-child(6) {
  animation-delay: 10s;
  left: 30%;
  top: 75%;
}

.background li:nth-child(7) {
  animation-delay: 12s;
  left: 10%;
  top: 20%;
}

.background li:nth-child(8) {
  animation-delay: 14s;
  left: 40%;
  top: 50%;
}

.background li:nth-child(9) {
  animation-delay: 16s;
  left: 90%;
  top: 80%;
}

.background li:nth-child(10) {
  animation-delay: 18s;
  left: 15%;
  top: 60%;
}


/*  */
/* Premium wrapper keeps current image size */
/* Wrapper keeps image size intact */
.premium-wrapper {
  position: relative;
  display: inline-block;
}

/* Main profile image */
.profile-img {
  display: block;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  width: 100%;
  /* keep your current size */
  height: auto;
}

/* Rotating golden ring */
.premium-wrapper::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 3px solid #cf5236;
  box-shadow: 0 0 15px #ffd70000, 0 0 30px rgba(255, 215, 0, 0.3);
  animation: rotateRing 6s linear infinite;
  z-index: 1;
}

/* Soft glow effect behind the image */
.premium-wrapper::after {
  content: '';
  position: absolute;
  top: -12%;
  left: -12%;
  width: 124%;
  height: 124%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 223, 0, 0.15) 0%, transparent 70%);
  animation: glow 3s ease-in-out infinite alternate;
  z-index: 0;
}

/* Floating tiny particles */
.premium-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  list-style: none;
  z-index: 3;
}

/* Base particle styling */
.premium-particles li {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.8;
  animation: floatParticle linear infinite;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}

/* Particle movement animation */
@keyframes floatParticle {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }

  50% {
    transform: translate(30px, -40px) scale(1.2);
    opacity: 1;
  }

  100% {
    transform: translate(-20px, 30px) scale(1);
    opacity: 0.8;
  }
}

/* Individual particle positions and speeds */
.premium-particles li:nth-child(1) {
  top: 5%;
  left: 10%;
  animation-duration: 6s;
}

.premium-particles li:nth-child(2) {
  top: 15%;
  left: 80%;
  animation-duration: 7s;
}

.premium-particles li:nth-child(3) {
  top: 25%;
  left: 40%;
  animation-duration: 8s;
}

.premium-particles li:nth-child(4) {
  top: 35%;
  left: 65%;
  animation-duration: 6.5s;
}

.premium-particles li:nth-child(5) {
  top: 45%;
  left: 20%;
  animation-duration: 7.5s;
}

.premium-particles li:nth-child(6) {
  top: 55%;
  left: 75%;
  animation-duration: 5.5s;
}

.premium-particles li:nth-child(7) {
  top: 60%;
  left: 30%;
  animation-duration: 6.2s;
}

.premium-particles li:nth-child(8) {
  top: 70%;
  left: 50%;
  animation-duration: 7.1s;
}

.premium-particles li:nth-child(9) {
  top: 80%;
  left: 10%;
  animation-duration: 6.8s;
}

.premium-particles li:nth-child(10) {
  top: 20%;
  left: 60%;
  animation-duration: 7.3s;
}

.premium-particles li:nth-child(11) {
  top: 10%;
  left: 30%;
  animation-duration: 8.2s;
}

.premium-particles li:nth-child(12) {
  top: 40%;
  left: 85%;
  animation-duration: 6.7s;
}

.premium-particles li:nth-child(13) {
  top: 50%;
  left: 15%;
  animation-duration: 7.6s;
}

.premium-particles li:nth-child(14) {
  top: 75%;
  left: 35%;
  animation-duration: 6.4s;
}

.premium-particles li:nth-child(15) {
  top: 85%;
  left: 70%;
  animation-duration: 8.5s;
}


.profile-img {
  display: block;
  border-radius: 50%;
  width: 100%;
  height: auto;
}

/* Rotating dot on the border */
.rotating-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  /* size of the dot */
  height: 12px;
  background: #fff;
  /* white dot */
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg) translateX(50px);
  /* 50px = radius from center */
  animation: rotateDot 3s linear infinite;
  z-index: 2;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Dot rotation animation */
@keyframes rotateDot {
  from {
    transform: translate(-50%, -50%) rotate(0deg) translateX(50px);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg) translateX(50px);
  }
}

/* Animations */
@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes glow {
  from {
    transform: scale(1);
    opacity: 0.7;
  }

  to {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes floatParticle {
  0% {
    transform: translate(0, 0) scale(0.8);
    opacity: 0.6;
  }

  50% {
    transform: translate(5px, -10px) scale(1);
    opacity: 1;
  }

  100% {
    transform: translate(-5px, 10px) scale(0.8);
    opacity: 0.6;
  }
}

#premium-crown {
  font-size: 20px;
  color: #ffca18;
  display: inline-block;
  animation: wiggle 3s infinite ease-in-out;
  transform-origin: center bottom;
  /* rotate around bottom center for natural effect */
}

#basic-crown {
  font-size: 20px;
  color: #CF5236;
  display: inline-block;
}

@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }

  15% {
    transform: rotate(10deg);
  }

  30% {
    transform: rotate(-10deg);
  }

  45% {
    transform: rotate(8deg);
  }

  60% {
    transform: rotate(-8deg);
  }

  75% {
    transform: rotate(5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}


/* profile page */
.custom-card-header {
  background-color: none !important;
}

.custom-card-header:hover {
  background-color: none !important;
}

#sidebar2 {
  margin-right: 0;
}

.profile-mobile {
  display: none;
}

.right-profile-card {
  margin-left: 15px !important;
}

.verify-pan-digilocker {
  display: flex;
  justify-content: start;
  align-items: center;
  width: 37%;
}

.verify-pan-digilocker span {

  padding-left: 2px;
}


/* right tools section */
/* Sticky vertical button */
.calculator-tool {
  background: var(--secondary-theme-color);
}

#sticky_buttons_container {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* auto spacing */
  z-index: 1001;
}

.sticky-btn {
  color: #fff;
  padding: 12px 6px;
  cursor: pointer;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: 600;
  border-radius: 6px 0 0 6px;
  user-select: none;

  display: flex;
  align-items: center;
  gap: 6px;
}

.sticky-btn i {
  transform: rotate(90deg);
  display: inline-block;
  font-weight: 600;
}

#sticky_buttons_container_mobile{
    display: none;
  }
/* Mobile */
@media (max-width: 480px) {
  #sticky_buttons_container{
    display: none;
  }

  #sticky_buttons_container_mobile{
           display: flex !important;
        justify-content: end;
        align-items: center !important;
        flex-direction: row !important;
        max-width: 55px !important;

  }

  #sticky_buttons_container_mobile{
    display: block;
     position: fixed;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 0px;
      /* auto spacing */
      z-index: 1001;
          padding-top: 10px;
    padding-bottom: 10px;
      

  }
  #buttons_container_mobile_collapse .sticky-btn{
    margin: 10px;
  }
  .tools-collapsed.hide{
            right: -57px !important;
    background: #fff;
        border-radius: 15px;
        color: var(--secondary-theme-color);
        box-shadow: 0 10px 30px rgb(102 133 245 / 16%), 0 0 18px rgb(118 129 242 / 25%);
                padding-left: 5px;
                transition: all 0.3s ease;
  }
  .tools-collapsed.show{
            right: 0 !important;
    background: #fff;
                border-radius: 15px 0px 0px 15px;
        color: var(--secondary-theme-color);
        box-shadow: 0 10px 30px rgb(102 133 245 / 16%), 0 0 18px rgb(118 129 242 / 25%);
                padding-left: 0px;
  }
  .tools-collapsed.show .icon-arrow-bar i{ 
        transform: rotate(180deg);
  }
  #sticky_buttons_container_mobile .icon-arrow-bar{
               position: relative;
        right: 1px;
               border-radius: 10px 0px 0px 10px;
        background: var(--secondary-theme-color);
        padding: 10px 3px 10px 3px;
        width: 21px;
        color: #fff;
  }
  .panel-wrapper .tools-panel{
      /* height: calc(40% - 100px) !important; */
      height: max-content !important;
  }
}

/* ===============================
   OFFER TOOL SPECIAL STYLE
================================ */
.sticky-btn.offer-tool {
  background: linear-gradient(135deg,
      #ff9f1c,
      #ff6f00,
      #ff3d00);
  color: #fff;
  position: relative;
  overflow: hidden;

  animation: offer_pulse 2.5s infinite;
}

/* Soft glowing pulse */
@keyframes offer_pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.6);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 111, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 111, 0, 0);
  }
}

/* ===============================
   SHIMMER EFFECT
================================ */
.sticky-btn.offer-tool::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -80%;
  width: 60%;
  height: 160%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.45),
      transparent);
  transform: rotate(20deg);
  animation: offer_shimmer 3.5s infinite;
}

@keyframes offer_shimmer {
  0% {
    left: -80%;
  }

  60% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

/* ===============================
   ICON MICRO ANIMATION
================================ */
.sticky-btn.offer-tool i {
  animation: offer_icon_bounce 1.6s infinite;
}

@keyframes offer_icon_bounce {

  0%,
  100% {
    transform: rotate(90deg) translateY(0);
  }

  50% {
    transform: rotate(90deg) translateY(-3px);
  }
}

/* Icon rotation */
.spin-tool i {
    font-size: 18px;
    margin-bottom: 2px;
    animation: rotate_wheel 2.5s linear infinite;
}

/* Hover effect */
.spin-tool:hover {
    transform: scale(1.08);
}

/* Pulse animation */
@keyframes spin_pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 212, 59, 0.7);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(255, 212, 59, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 212, 59, 0);
    }
}

/* Wheel rotation */
@keyframes rotate_wheel {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* Overlay wrapper (for centering) */
.panel-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
}
/* Floating sliding panel */
.panel-wrapper .tools-panel {
    position: absolute;
    pointer-events: auto !important;
    top: 50%;
    right: 25px;
    transform: translate(120%, -50%);
    width: 300px;
    /* height: calc(100% - 140px); */
    height: auto;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(240, 249, 255, 0.92) 45%, 
        rgba(235, 240, 255, 0.95) 100%);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    outline: 1px solid rgba(59, 130, 246, 0.08);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(59, 130, 246, 0.05);
    border-radius: 32px;
    transition: all 0.8s cubic-bezier(0.2, 1, 0.2, 1);
    padding: 22px 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.panel-wrapper .tools-panel::-webkit-scrollbar {
    width: 5px;
}


.panel-wrapper .tools-panel::-webkit-scrollbar-track {
    background: transparent;
    margin: 20px;
}


.panel-wrapper .tools-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #3b82f6, #6366f1); 
    border-radius: 10px;
    border: 2px solid transparent; 
}


.panel-wrapper .tools-panel::-webkit-scrollbar-thumb:hover {
    background: #2563eb; 
}


.panel-wrapper .tools-panel {
    scrollbar-width: thin;
    scrollbar-color: #f4f9fd transparent;
}


.panel-wrapper .tools-panel.active {
    transform: translate(0, -50%);
}


.panel-wrapper .tools-panel h3 {
    font-weight: 800;
    font-size: 16px;
    color: #0f172a;
    margin-bottom: 28px;
    letter-spacing: -0.8px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
}


.panel-wrapper .tools-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.panel-wrapper .tools-panel ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 999px;
    padding: 8px 14px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.7); /* Translucent cards */
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    color: #334155;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 80%;
        margin: 10px auto;
}

.panel-wrapper .tools-panel ul li a:hover {
    transform: scale(1) translateX(-6px);
    background: #ffffff;
    border-color: #3b82f6;
    color: #1e40af;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15);
}


.panel-wrapper .tools-panel ul li a span:last-child {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.2);
}


.tools-panel::-webkit-scrollbar {
    width: 4px;
}
.tools-panel::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.panel-wrapper .close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  background: #fff;
  color: var(--primary-theme-color);
}



/* end right tools section */

@media screen and (max-width: 768px) {
    .panel-wrapper .tools-panel {
        right: 25px;
        width: calc(100% - 20px);
        max-width: 290px;
        height: calc(80% - 100px);
        padding: 20px 15px;
        border-radius: 20px;
        padding-right: 35px;
    }

    .panel-wrapper .tools-panel h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .panel-wrapper .tools-panel h3 img{
            max-width: 35px;
    }
    .panel-wrapper .tools-panel h3 i{
                font-size: 30px;
    }

    .panel-wrapper .tools-panel ul li a {
       padding: 8px 9px;
        font-size: 12px;
    }


    .panel-wrapper .tools-panel::-webkit-scrollbar {
        width: 3px;
    }
}

/* =======================
   Mobile Devices
   767px and below
   ======================= */
@media (max-width: 1024px) {
  #profilemodelcontant .profile-pic-upload p {
    white-space: normal;
    font-size: 12px;
  }

  #profilemodelcontant .profile-pic-upload img {
    width: 100%;
    height: 100% !important;
    object-fit: fill !important;
  }

  #profilemodelcontant .image-upload {
    width: 100%;
  }

  #profilemodelcontant .file-input-div {
    height: 40px;
  }

  .settings-sidebar {
    width: 100% !important;
  }

  .profile-mobile {
    display: block;
  }

  .settings-wrapper .custom-card-header {
    background-color: #fff !important;
  }

  .profile-mobile .submenu-open ul li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    width: 100%;
    padding: 8px 12px;
    border-radius: 5px;
    margin-bottom: 8px;
  }

  .right-profile-card {
    margin-left: 0px !important;
  }

  .tl-info {
    gap: 0 !important;
  }

  #JotformAgent-019a0be145237d7cb3fa53b96b4ad4974a17 .embedded-agent-container {
    bottom: 50px !important;
  }

  .ai-agent-chat-avatar {
    height: 70px !important;
    width: 70px !important;
  }

  #bankContainer .bank-card {
    min-width: 100% !important;
    margin-top: 30px;
  }

  .profile-bg-mobile .rounded-circle {
    height: 80px;
    width: 80px;
  }

  .verify-pan-digilocker {
    width: 100%;
  }

  #ai_chatbot_widget {
        right: -17px !important;
        /* width: 24% !important;
        height: 86px !important; */
        bottom: 52px !important;
  }

}
@media (max-width: 380px) {
    #ai_chatbot_widget {
        /* right: -17px !important;
        bottom: 52px !important; */
    }
}

/* profile page */

/* global modal close button */
.modal .close {
  background-color: #fff !important;
  color: #000 !important;
  font-size: 23px !important;
}

.modal .close:hover {
  background-color: #fff !important;
  color: red !important;
}

/* end global modal close button */
.premium-header-icon {
  position: relative !important;
  display: inline-block !important;

  border-radius: 50% !important;
  overflow: hidden !important;
}

/* Profile image */
.alert .fa-regular.fa-bell {
  font-size: .8125rem;
}
.content .alert{
      font-size: 14px !important;
}

.premium-header-icon .profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.profile-user-wid {
  margin-top: -38px !important;
}

/* Rotating border animation */
.premium-header-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 2px;
  /* Border thickness */
  background: conic-gradient(from 0deg,
      #cf5236,
      #e95f42,
      #ff7b5d,
      #cf5236);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotateBorder 3s linear infinite;
}

/* Rotation keyframes */
@keyframes rotateBorder {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


.team-leader-profile img {
  width: 50px;
  border-radius: 50%;
  border: 1px solid #80808042;
  padding: 5px;

}
@media (max-width:767px) {
  .profile-mobile .sidebar-scroll .bg-gradient-custom{
      /* max-height: 128px; */
              padding: 8px !important;
  }
  .profile-mobile .sidebar-scroll .bg-gradient-custom .avatar{
      margin-bottom: 0 !important;
      height: 4rem !important;
        width: 4rem !important;
  }
  .profile-mobile .sidebar-scroll .bg-gradient-custom h3{
      font-size: 14px;
  }
  .profile-mobile .sidebar-scroll .bg-gradient-custom h5{
         font-size: 12px !important;
  }
  .settings-wrapper .custom-card-header{
      padding: 5px 8px 5px 8px;
  }
  /* .settings-wrapper .tab-pane .card-body{
    padding-top: 5px !important;
  } */
  .settings-wrapper .tab-pane .card-body .flex-fill .view-bttn{
        display: flex;
      justify-content: end;
  }
  .settings-wrapper .tab-pane .card-body .flex-fill .view-bttn .btn-sm{
      background-color: var(--primary-theme-color);
      border: none !important;
      color: #fff !important;
      margin-right: 0 !important;
      padding: 5px !important;
      font-size: 10px !important;
  }
  .settings-wrapper .tab-pane .card-body .flex-fill .verify-pan-digilocker{
      width: 50%;
      display: flex;
      justify-content: center;
      background-color: var(--secondary-theme-color);
      border: none !important;
      color: #fff !important;
          padding: 5px !important;
  }
  .badge-corner{
    font-size: 8px !important;
        padding: 4px 3px !important;
  }
  .settings-wrapper .tab-pane .card-body .flex-fill .card-body{
    padding: 8px; 
  }
  .settings-wrapper .nav-tabs .nav-item a{
        padding: 5px 8px 5px 8px;
    font-size: 14px;

  }
  .settings-wrapper .btn.open-bank-modal{
    padding: 5px 8px 5px 8px;
    font-size: 14px;
  }

}



/* Security page */
/* =======================
   Mobile Devices
   767px and below
   ======================= */
@media (max-width: 1024px) {
  .security-tab .border-bottom {
    margin-bottom: 30px !important;
  }
}

/* Security page */

/* Call and support page */
/* =======================
   Mobile Devices
   767px and below
   ======================= */
@media (max-width: 1024px) {
  #accordionPrimaryExample .accordion-button {
    font-size: 16px !important;
  }
}

/* Call and support page */



/* Mitra kit modalx */
.card-img-top {
  max-height: 202px;
  object-fit: contain;
}

/* Mitra kit modalx */



/* product list page */
.mitra-product {
  min-height: 240px;
}

@media (max-width: 1024px) {
  .mitra-product {
    min-height: 100%;
  }
}

/* product list page */



/* ///////////////////////////////////////////// SUPERADMIN DASHBOARD //////////////////////////////////////// */
.dash-cards-bottom-flip {
  perspective: 1000px;
  width: 100%;
  /* Default full width for mobile/tablet */
  height: 90px;
  position: relative;
}

.dash-cards-bottom-flip .flip-back .card-body {
  padding: 0;
}

/* Desktop: 4 cards per row */
@media (min-width: 768px) {
  .dash-cards-bottom-flip {
    width: 25% !important;
    /* col-md-3 (4 equal columns) */
  }
}

.dash-cards-bottom-flip:hover .flip-wrapper {
  transform: rotateX(180deg);
  border: none;
}

/* Card 1 */
.dash-cards-bottom-flip:nth-child(1) .flip-back {
  background-color: #CF5236 !important;
}

/* Card 2 */
.dash-cards-bottom-flip:nth-child(2) .flip-back {
  background-color: #092C4C !important;
}

/* Card 3 */
.dash-cards-bottom-flip:nth-child(3) .flip-back {
  background-color: #1ace46 !important;
}

/* Card 4 */
.dash-cards-bottom-flip:nth-child(4) .flip-back {
  background-color: #155EEF !important;
}

.dash-cards-row {
  margin-bottom: 20px;
}

/* global responsive css */
/* =======================
   Mobile Devices
   767px and below
   ======================= */
@media (max-width: 1024px) {
  .table-responsive {}
}

@media (max-width: 767px) {

  @media (max-width: 480px) {
    #spinWinModal .spin-card {
        max-height: 64vh !important;
    }
}
  div.dataTables_wrapper div.dataTables_filter,
  div.dataTables_wrapper div.dataTables_length {
    text-align: left;
    width: 100%;
    /* margin-bottom: 10px; */
    padding: 10px 22px;
  }

  div.dataTables_wrapper div.dataTables_filter label,
  div.dataTables_wrapper div.dataTables_length label {
    width: 100%;
    display: block;
  }

  div.dataTables_wrapper div.dataTables_filter input {
    width: 80% !important;
    margin-top: 5px;
  }

  .table-dropdown .dropdown {
    margin-left: 0 !important;
  }

  .table-responsive .col-sm-12 {
    padding: 0 !important;
  }

  .hidden-in-mobile {
    display: none;
  }

  .page-wrapper .content {
    margin-bottom: 40px;
  }

  .embedded-agent-container {
    z-index: 999 !important;
  }

}

/* global responsive css */
/* ===========================
   Mobile Styles (310px – 576px)
   =========================== */
@media (max-width: 576px) {
  #ai_chatbot_widget .chatbot-button {
    right: 0px;
    bottom: 50px;
  }

  .chatbot-container {
    right: 0;
    bottom: 50px;
    width: 100%;
    height: 85%;
  }
}

/* ===========================
   Tablet Styles (577px – 992px)
   =========================== */
@media (min-width: 577px) and (max-width: 992px) {
  #ai_chatbot_widget .chatbot-button {
    right: 0px;
    bottom: 50px;
  }

  #ai_chatbot_widget .chatbot-container {
    right: 0;
    bottom: 50px;
    width: 100%;
    height: 85%;
  }
}



#sidebar .sidebar-menu>ul>li.submenu-open ul li:not(.active) a {
  position: relative;
  display: inline-block;
  /* padding: 8px 14px; */
      padding: 7px 14px;
  border-radius: 999px;
  /* capsule */
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease;
}

/* fill layer */
#sidebar .sidebar-menu>ul>li.submenu-open ul li:not(.active) a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0%;
  background-color: #F2F2F2;
  border-radius: 999px;
  z-index: -1;
  transition: height 0.35s ease;
}

/* hover effect ONLY for non-active items */
#sidebar .sidebar-menu>ul>li.submenu-open ul li:not(.active) a:hover::before {
  height: 100%;
}

#sidebar .sidebar-menu>ul>li ul li.active a {
  border-radius: 999px !important;
  padding: 8px 14px;
}




/* Custom CSS for custom product select2 */
/* =========================================
   SCOPED SELECT2 STYLING
   (Only affects .field-select2)
   ========================================= */

/* 1. The Main Selection Box (Scoped by .clean-select2) */
.input-group-clean .select2-selection--single{
    border: none;
    border-bottom: 2px solid #e1e1e1;
    border-radius: 0;
    height: 35px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    display: none !important;
}
.select2-container.clean-select2 .select2-selection--single {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 2px solid #e1e1e1 !important;
    border-radius: 0 !important;
    height: 45px !important;
    outline: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

/* 2. Focus State */
.select2-container.clean-select2.select2-container--open .select2-selection--single,
.select2-container.clean-select2.select2-container--focus .select2-selection--single {
    border-bottom-color: var(--primary-theme-color) !important;
}

/* 3. The Text */
.select2-container.clean-select2 .select2-selection--single .select2-selection__rendered {
    color: #2c3e50 !important;
    font-size: 16px;
    font-weight: 500;
    padding-left: 0 !important;
    line-height: normal !important;
}

/* 4. Placeholder */
.select2-container.clean-select2 .select2-selection--single .select2-selection__placeholder {
    color: #ccc !important;
    font-weight: 400;
    font-size: 15px;
}

/* 5. Arrow Alignment */
.select2-container.clean-select2 .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    top: 0 !important;
    right: 0 !important;
}

/* 6. Arrow Icon Styling */
.select2-container.clean-select2 .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
    margin-left: -10px !important;
    margin-top: -2px !important;
}

/* 7. The Dropdown Popup (Scoped by .clean-select2-dropdown) */
.select2-dropdown.clean-select2-dropdown {
    border: 1px solid #e1e1e1 !important;
    border-radius: 4px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    margin-top: 1px;
    background-color: #fff;
    z-index: 9999;
}

/* 8. Search Box inside Dropdown */
.select2-dropdown.clean-select2-dropdown .select2-search__field {
    border: 1px solid #e1e1e1 !important;
    border-radius: 4px !important;
    padding: 8px !important;
    outline: none !important;
}
.select2-dropdown.clean-select2-dropdown .select2-search__field:focus {
    border-color: var(--primary-theme-color) !important;
}

/* 9. Dropdown Options Highlights */
.select2-dropdown.clean-select2-dropdown .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-theme-color) !important;
    color: white !important;
}
.select2-dropdown.clean-select2-dropdown .select2-results__option {
    padding: 8px 12px !important;
    font-size: 14px;
}
/* Custom CSS for custom product select2 */

.payout-badge-v2 {
    background: linear-gradient(45deg, #e0eeff, #f8f8ff);
    border: 1px dashed #3182ce;
    color: #1a365d;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(49, 130, 206, 0.15);
    transition: all 0.3s ease;
}
.payout-badge-v2::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.6);
    transform: rotate(30deg);
    animation: badgeShine2 4s infinite;
}
@keyframes badgeShine2 {
            0% {
                left: -60%;
            }

            15% {
                left: 120%;
            }

            100% {
                left: 120%;
            }
        }


/* Common css for sweat alert popup small in size */
/* SweetAlert compact theme */
.sa-compact  {
    width: 290px !important;
    padding: 16px !important;
    border-radius: 14px !important;
}
.sa-compact .swal2-popup {
    width: 290px !important;
    padding: 16px !important;
    border-radius: 14px !important;
}

.sa-compact .swal2-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin: 0 0 6px !important;
}

.sa-compact .swal2-html-container {
    font-size: 14px !important;
    margin: 0 !important;
}

/* Remove icon */
.sa-compact .swal2-icon {
    display: none !important;
}

/* Shrink buttons & remove defaults */
.sa-compact .swal2-actions {
    margin-top: 14px !important;
}

.sa-compact .swal2-confirm,
.sa-compact .swal2-cancel {
    padding: 6px 16px !important;
    font-size: 14px !important;
    border-radius: 6px !important;
    border: none !important;

}
.sa-btn-confirm {
    background:var(--primary-theme-color) !important;
    color:#fff !important;
}

.sa-btn-cancel {
    background:#dee2e6 !important;
    color:#000 !important;
}
.strike-reg-fee {
    text-decoration: line-through;
    color: #9ca3af; /* soft gray */
}
.plan-details-popup p{
  font-size: 16px;
}
body.swal2-shown #ai_chatbot_widget {
        z-index: 99 !important;
    }
    body.swal2-shown .floating-spin-btn {
        z-index: 99 !important;
    }
    body.modal-open #ai_chatbot_widget {
        z-index: 99 !important;
    }
    body.modal-open .floating-spin-btn {
        z-index: 99 !important;
    }
/* Mobile */
@media (max-width: 480px) {

    .sa-compact {
        width: 92% !important;
        max-width: 300px !important;
        padding: 14px !important;
    }
    .sa-compact .swal2-popup {
        width: 92% !important;
        max-width: 300px !important;
        padding: 14px !important;
    }
    .sa-compact .swal2-title {
        font-size: 16px !important;
    }
    .sa-compact .swal2-html-container {
        font-size: 13px !important;
    }
    .sa-compact .swal2-confirm,
    .sa-compact .swal2-cancel {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }
    .content .alert, .content .alert i{
      font-size: 16px !important;
    }
    body.bottom-sheet-active .floating-spin-btn {
        z-index: 99;
    }
    body.bottom-sheet-active #ai_chatbot_widget {
        z-index: 99 !important;
    }
    body.swal2-shown #ai_chatbot_widget {
        z-index: 99 !important;
    }
    body.swal2-shown .floating-spin-btn {
        z-index: 99 !important;
    }
    body.modal-open #ai_chatbot_widget {
        z-index: 99 !important;
    }
    body.modal-open .floating-spin-btn {
        z-index: 99 !important;
    }
    body.modal-open .modal .modal-content {
        width: 90% !important;
        margin: 0 auto;
    }
    .wheel-wrapper{
      width: min(70vw, 25vh);
      height: min(85vw, 48vh);
      max-width: 263px;
      max-height: 202px;
          height: min(75vw, 48vh) !important;
    }
    .wheel-wrapper .wheel-label{
      font-size: 8px;
    }
    #spinWinModal .spin-card{
      width: 100%;
   
        max-height: 85vh !important;
    }
    .highlight-earn {
    font-size: 11px;}
    #spinWinModal .wheel-wrapper{
      max-width: 100%;
      max-height: 100%;
    }
    #sticky_buttons_container .sticky-btn{
          padding: 9px 2px;
          font-weight: 500;
          font-size: 12px;
    }
    /* .floating-spin-btn{
      padding: 4px 6px;
    }
    .floating-spin-btn .spin-icon-wrapper i{
      font-size: 19px;
    } */
    body main{
      margin-bottom: 80px;
    }
    .profile-mobile .submenu-open ul li a{
        margin-bottom: 0px;
    }
    .right-profile-card .flex-fill .status-toggle.modal-status .badge{
        margin-right: 0 !important;
    }
    .floating-spin-btn{
      max-width: 50px !important;
    }

    /* Mitra kit modal */
    #mitrakitModel .modal-body .row.g-3{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
    }
    #mitrakitModel .modal-body {
        padding: 5px;
    }
    #mitrakitModel .modal-body .card .card-text {
      font-size: 10px;
    }
    #mitrakitModel .modal-body .card-img-top {
      max-height: 105px;
      object-fit: contain;
    }
    #mitrakitModel .modal-body .card .card-title {
        font-size: 12px !important;
    }
    #mitrakitModel .modal-body .card .card-body small.text-primary {
        font-size: 8px;
        line-height: 13px;
        display: block;
    }
    #mitrakitModel .modal-body .card .card-body .btn-primary {
        padding: 5px;
        font-size: 10px;
    }
    #mitrakitModel .modal-body .card{
        max-height: 355px;
    }

    /* Profile modal */
    #profilemodel .modal-body {
      padding: 10px !important;
    }
    #profilemodel .js-cropper-container .profile-pic{
      width: 110px;
      height: 110px;
    }

    /* Plan modal */
    #planModal .modal-body{
      padding: 10px !important;
    }
    #planModal .modal-body .row.mt-2.g-3{
      margin: 0;
    }
    

    .recommended-slider .card .btn.btn-outline-primary{
        font-size: 8px !important;
        padding: 0.15rem .5rem !important;
    }

    /* referrer modal */
    #referrerInfoModal .team-leader-profile{
      padding: 5px !important;
    }
    #referrerInfoModal .modal-body {
      padding: 10px !important;
    }
    
}
