body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  font-size: 0.95rem; /* slightly tighter look */
  line-height: 1.5;
  color: #1e1e1e;
}

:root {
  --backgroundColor: #eceff3;
  --themeColor1:  #33CCCC;
  --themeColor2:  #00FFCC;
  --accent-clr: #EF9B14;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.015em;
}

button {
  touch-action: manipulation !important;
}

body {
  background-color: var(--backgroundColor);
}

.bg-linear-main {
  background: linear-gradient(#33CCCC, #00FFCC)!important;
}

.container-center-md {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.modal-backdrop-dark {
    background-color: black;
}

.cursor {
  cursor: pointer;
}

.loader-wrapper{
  position:fixed;
  z-index:999999;
}

.page-loader-wrapper {
  width: 100%;
  height: 100%;
  position:fixed;
  left:0;
  top:0;
  right:0;
  bottom:0;
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 20px );
  -webkit-backdrop-filter: blur( 20px );
  display:flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.glass-card {
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 20px );
  -webkit-backdrop-filter: blur( 20px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.glass-card input {
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 20px );
  -webkit-backdrop-filter: blur( 20px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.glass-card input:focus {
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 20px );
  -webkit-backdrop-filter: blur( 20px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.glass-card textarea {
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 20px );
  -webkit-backdrop-filter: blur( 20px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.glass-card textarea:focus {
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 20px );
  -webkit-backdrop-filter: blur( 20px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.glass-card select {
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 20px );
  -webkit-backdrop-filter: blur( 20px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}
.glass-card select:focus {
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 20px );
  -webkit-backdrop-filter: blur( 20px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.glass-card span {
  text-align: center;
  width: 40px;
  background: rgba( 255, 255, 255, 0.25 );
  box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
  backdrop-filter: blur( 20px );
  -webkit-backdrop-filter: blur( 20px );
  border-radius: 10px;
  border: 1px solid rgba( 255, 255, 255, 0.18 );
}

.bg-theme-2 {
  background: var(--themeColor1);
}

/* --- form --- */

.form-container {
  width:100%;
  background:#ffffff;
  border-radius:8px;
  /*box-shadow:0 0 40px -10px #000;*/
  /*margin:calc(50vh - 220px) auto;*/
  padding:20px 30px;
  box-sizing:border-box;
  font-family:'Montserrat', sans-serif;
  /*position: relative;*/
}

.form-input {
  width:100%; 
  padding:10px;
  box-sizing:border-box;
  background:none;
  outline: none;
  resize:none;
  border:0;
  font-size: 14px;
  color: #474544;
  border-bottom:2px solid #bebed2;

}

.form-input:focus{
  border-bottom:2px solid #78788c
}

.label-form {
  color: #474544;
  font-size: 14px;
  font-weight: 700;
  /*letter-spacing: 7px;
  text-align: center;*/
  text-transform: uppercase;
}

.label-feedback {
  font-family: "PT Sans", Calibri, Tahoma, sans-serif;
}

.select2-container--bootstrap-5 .select2-selection--single {
  height: calc(2.375rem + 2px); /* Matches .form-select */
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.375rem;
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
  line-height: 1.5rem;
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 0.75rem;
}

.form-control-dark {
  border-color: var(--bs-gray);
}
.form-control-dark:focus {
  border-color: #fff;
  box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
}

.text-small {
  font-size: 85%;
}

.dropdown-toggle {
  outline: 0;
}

.default-nav {
  height: 60px !important;
}

/*.default-nav .dropdown .dropdown-menu {
  margin-top:  17px !important;
}*/

.dotted {
  border-bottom: dotted 2px gray;
  border-bottom-width: 2px
}

.custom-btn-icon {
  cursor: pointer;
}

nav.main-nav{
  background: #33CCCC;
  height: 50px;
  width: 100%;
}

nav.main-nav label.logo{
  color: white;
  font-size: 35px;
  line-height: 50px;
  padding: 0 10px;
  font-weight: bold;
}

nav.main-nav ul{
  float: right;
  margin-right: 20px;
}

nav.main-nav ul li{
  text-decoration: none !important;
  display: inline-block;
  line-height: 50px;
  margin: 0 5px;
}

nav.main-nav ul li a{
  color: white;
  font-size: 17px;
  padding: 7px 13px;
  text-transform: uppercase;
  text-decoration: none !important;
}

nav.main-nav ul li a.active,nav.main-nav a:hover{
  border-bottom: solid 2px white;
  transition: .5s;
}

nav.main-nav .checkbtn{
  font-size: 30px;
  color: white;
  float: right;
  line-height: 50px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

nav.main-nav #check{
  display: none;
}

@media (max-width: 952px){
  nav.main-nav label.logo{
    font-size: 30px;
  }
  nav.main-nav ul li a{
    font-size: 16px;
  }
}

@media (max-width: 858px){
  nav.main-nav .checkbtn{
    display: block;
  }
  nav.main-nav ul{
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #2c3e50;
    top: 50px;
    left: -100%;
    text-align: center;
    transition: all .5s;
    z-index: 99999;
  }
  nav.main-nav ul li{
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }
  nav.main-nav ul li a{
    font-size: 20px;
  }
  nav.main-nav ul li a:hover,nav.main-nav a.active{
    background: none;
    color: #0082e6;
  }
  nav.main-nav #check:checked ~ ul{
    left: 0;
  }

  .login-form-container{
    height: 100vh;
    background-size: 100%;
  }

  body {
    background-color: var(--backgroundColor);
    background-size: 100%;
  }

}

section{
  background: url(bg1.jpg) no-repeat;
  background-size: cover;
  height: calc(100vh - 50px);
}

.card-tracking-log {
  border-left: solid 2px darkblue !important;
}

.login-form-container{
  height: 100vh;
}

.bg-blur {
  background-color: blur( 20px );

  backdrop-filter: blur( 20px );
  -webkit-backdrop-filter: blur( 20px );
}

.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 40px; /* Adjust the width */
  height: 40px; /* Adjust the height */
}

.lds-spinner div {
  transform-origin: 20px 20px; /* Adjust the transform origin */
  animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 1px; /* Adjust the top position */
  left: 18px; /* Adjust the left position */
  width: 3px; /* Adjust the width */
  height: 9px; /* Adjust the height */
  border-radius: 20%;
  background: #5bc0de; /* Crystal Blue color */
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.bi {
  vertical-align: -.125em;
  fill: currentColor;
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
  }
}

.nav-scroller .nav {
  color: rgba(255, 255, 255, .75);
}

.nav-scroller .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: .875rem;
  color: #6c757d;
}

.nav-scroller .nav-link:hover {
  color: #007bff;
}

.nav-scroller .active {
  font-weight: 500;
  color: #343a40;
}

.tooltip-primary {
  --bs-tooltip-bg: var(--bs-primary);
}

.tooltip-info {
  --bs-tooltip-bg: var(--bs-info);
}

.tooltip-warning {
  --bs-tooltip-bg: var(--bs-warning);
}

.tooltip-danger {
  --bs-tooltip-bg: var(--bs-danger);
}

.tooltip-success {
  --bs-tooltip-bg: var(--bs-success);
}

.lh-100 {
  line-height: 1 !important;
}

.lh-125 {
  line-height: 1.25 !important;
}

.lh-150 {
  line-height: 1.50 !important;
}

.badge-outline-primary {
  color: var(--bs-primary);
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  border: 1px solid var(--bs-primary);
}

.badge-outline-secondary {
  color: var(--bs-secondary);
  background-color: rgba(var(--bs-secondary-rgb), 0.1);
  border: 1px solid var(--bs-secondary);
}

.badge-outline-success {
  color: var(--bs-success);
  background-color: rgba(var(--bs-success-rgb), 0.1);
  border: 1px solid var(--bs-success);
}

.badge-outline-danger {
  color: var(--bs-danger);
  background-color: rgba(var(--bs-danger-rgb), 0.1);
  border: 1px solid var(--bs-danger);
}

.badge-outline-warning {
  color: #8a6d3b; /* brownish tone */
  background-color: rgba(var(--bs-warning-rgb), 0.15); /* keep the yellow vibe */
  border: 1px solid #8a6d3b;
}

.badge-outline-info {
  color: var(--bs-info);
  background-color: rgba(var(--bs-info-rgb), 0.1);
  border: 1px solid var(--bs-info);
}

.badge-outline-light {
  color: var(--bs-light);
  background-color: rgba(var(--bs-light-rgb), 0.1);
  border: 1px solid var(--bs-light);
}

.badge-outline-dark {
  color: var(--bs-dark);
  background-color: rgba(var(--bs-dark-rgb), 0.1);
  border: 1px solid var(--bs-dark);
}

.offcanvas-body {
  max-height: calc(98dvh - 2rem); /* 2rem = some padding space */
  overflow: auto;
  padding-bottom: env(safe-area-inset-bottom); /* for iOS safe area */
}

@media (min-width: 768px) {
  .offcanvas-custom {
    margin: 15px !important;
    border-radius: 12px !important;
  }

  .offcanvas-body {
    max-height: calc(98dvh - 13vh); /* Similar to 87vh from before */
  }
}

.login-pattern {
  background: 
    url('../images/login-pattern-trans.png') repeat,
    linear-gradient(180deg, rgba(96, 165, 250, 1) 0%, rgba(30, 64, 175, 1) 100%);
}


.bg-pattern-image {
  background: url('../images/login-pattern-trans.png') repeat;
}

.bg-pattern {
  background: 
    url('../images/login-pattern-trans.png') repeat,
    linear-gradient(180deg, rgba(96, 165, 250, 1) 0%, rgba(30, 64, 175, 1) 100%);
}

ul.nav-pills-custom li.nav-item button.nav-link.active {
  background-color: rgba(var(--bs-warning-rgb),var(--bs-bg-opacity))!important;
  color: var(--text-dark-rgb) !important;
}

.dashed-hr {
  border: 0;
  border-top: 2px dashed #000; /* Adjust thickness and color as needed */
  margin: 1rem 0;              /* Optional spacing */
}

.paper-cut {
  background: #fff;
  padding: 1rem;
  padding-bottom: 5rem;
  border: 1px solid #ccc;
  position: relative;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 85%,
    96% 88%,
    91% 84%,
    87% 89%,
    83% 85%,
    77% 90%,
    74% 86%,
    69% 91%,
    65% 87%,
    60% 90%,
    56% 85%,
    52% 89%,
    48% 86%,
    43% 91%,
    39% 86%,
    35% 89%,
    30% 85%,
    25% 90%,
    20% 86%,
    16% 88%,
    11% 85%,
    6% 90%,
    0% 85%
  );
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.paid-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 4rem;
  font-weight: bold;
  color: red;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 1;
}

.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background-color: #0d6efd; /* Bootstrap primary color */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  text-decoration: none;
}

.floating-btn:hover {
  background-color: #0b5ed7; /* Slightly darker on hover */
  text-decoration: none;
  color: white;
}

.floating-btn .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 50%;
}

.pin-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #dee2e6;
  transition: background-color 0.2s ease;
}

.pin-circle.filled {
  background-color: #0d6efd;
}

.form-block {
  display: none;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.form-block.active {
  display: block;
  transform: translateX(0);
  opacity: 1;
}

.form-block.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}

input.outline-0:focus,
textarea.outline-0:focus,
select.outline-0:focus {
  outline: none;
  box-shadow: none !important;
}

/* HTML: <div class="ribbon">Your text content</div> */
.ribbon {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}
.ribbon {
  --r: .4em; /* control the ribbon shape (the radius) */
  --c: #FA6900;

  position: absolute;
  top: 17px;
  left: calc(-1*var(--r));
  line-height: 1.8; 
  padding: 0 .5em calc(2*var(--r));
  border-radius: var(--r) 0 0 var(--r);
  background: 
    radial-gradient(100% 50% at left,var(--c) 98%,#0000 101%)
     100% 0/.5lh calc(100% - 2*var(--r)),
    radial-gradient(100% 50% at right,#0005 98%,#0000 101%) 
     0 100%/var(--r) calc(2*var(--r)),
    conic-gradient(from 90deg at var(--r) calc(100% - 2*var(--r)),#0000 25%,var(--c) 0)
     0 0/calc(101% - .5lh) 100%;
  background-repeat: no-repeat;   
}

.ribbon-primary { --c: #0d6efd; }
.ribbon-secondary { --c: #6c757d; }
.ribbon-success { --c: #198754; }
.ribbon-danger { --c: #dc3545; }
.ribbon-warning { --c: #ffc107; color: #000; }
.ribbon-info { --c: #0dcaf0; }
.ribbon-dark { --c: #212529; }
.ribbon-light { --c: #f8f9fa; color: #000; }

/* HTML: <div class="ribbon">Your text content</div> */
.ribbon-sale {
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}
.ribbon-sale {
  --f: .5em; /* control the folded part*/
  --r: .8em; /* control the ribbon shape */
  
  position: absolute;
  right: 10px;
  top: calc(-1*var(--f));
  padding: .2em;
  background: #C8CF02;
  border-right: var(--f) solid #0005;
  border-bottom: var(--r) solid #0000;
  clip-path: polygon(calc(100% - var(--f)) 0,0 0,0 100%,calc(50% - var(--f)/2) calc(100% - var(--r)),calc(100% - var(--f)) 100%,calc(100% - var(--f)) var(--f),100% var(--f));
}

.ribbon-sale-primary { background: #0d6efd; }
.ribbon-sale-secondary { background: #6c757d; }
.ribbon-sale-success { background: #198754; }
.ribbon-sale-danger { background: #dc3545; }
.ribbon-sale-warning { background: #ffc107; color: #000; }
.ribbon-sale-info { background: #0dcaf0; }
.ribbon-sale-dark { background: #212529; }
.ribbon-sale-light { background: #f8f9fa; color: #000; }


.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f054"; /* fa-chevron-right */
  color: #9ca3af;   /* softer gray */
  padding: 0 0.75rem;
  vertical-align: middle;
}
.back-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9; /* light gray circle */
    color: #495057;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.back-circle:hover {
    background-color: #e2e8f0; /* slightly darker on hover */
    color: #212529;
}

.back-circle i {
    pointer-events: none; /* icon doesn’t interfere with click */
}

/* STEP BASE */
.step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1 1 0;
}

/* CIRCLE */
.step .circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ccc;
  color: #fff;
  text-align: center;
  font-weight: bold;
  line-height: 32px;
  flex-shrink: 0;
  z-index: 2;
}

/* LINE CONNECTOR */
.step .line {
  position: absolute;
  background-color: #ccc;
  z-index: 1;
}

/* CONTENT */
.step .content {
  flex: 1;
}

/* COMPLETED STEPS */
.step.active .circle {
  background-color: #0696d7;
}

.step.completed .circle {
  background-color: #0696d7;
}

.step.completed .line {
  background-color: #0696d7;
}

/* VERTICAL MODE (mobile) */
@media (max-width: 767.98px) {
  .step {
    flex-direction: row;
    align-items: flex-start;
  }

  .step .line {
    left: 15px;
    top: 32px;
    bottom: -2rem;
    width: 2px; /* thinner vertical line */
    height: auto;
  }
  
  .stepper {
    gap: 2rem;
  }

  .step:last-child .line {
    display: none;
  }
}

/* HORIZONTAL MODE (desktop) */
@media (min-width: 768px) {
  .step {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .step .circle {
    margin-bottom: 0.5rem;
  }

  .step .line {
    top: 15px;
    left: 32px;
    right: -50%;
    height: 2px; /* thinner horizontal line */
    width: calc(100% - 32px);
  }

  .step .content {
    padding-right: 10px;
    padding-top: 7px;
  }

  /* ✅ Hide the last horizontal step line */
  .stepper .step:last-child .line {
    display: none !important;
  }
}

/* Force vertical layout regardless of screen size */
.stepper.stepper-vertical .step {
  flex-direction: row !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.stepper.stepper-vertical .step .line {
  left: 15px !important;
  top: 32px !important;
  bottom: -2rem !important;
  width: 2px !important; /* thinner vertical line */
  height: auto !important;
}

.stepper.stepper-vertical {
  gap: 2rem !important;
}

.stepper.stepper-vertical .step:last-child .line {
  display: none !important;
}

/* TYPE: Dashed line */
.stepper.stepper-dashed .step .line {
  background: none; /* remove solid background */
  border-top: 2px dashed #ccc; /* thinner horizontal dashed line */
}

.stepper.stepper-dashed.stepper-vertical .step .line,
.stepper.stepper-dashed .step .line.vertical {
  border: none;
  border-left: 2px dashed #ccc; /* thinner vertical dashed line */
}

/* Active/completed states for dashed type */
.stepper.stepper-dashed .step.completed .line,
.stepper.stepper-dashed .step.active .line {
  border-color: #0696d7;
}

.stepper.stepper-sm .step .circle {
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 0.75rem;
}

/* Thinner connector line */
.stepper.stepper-sm .step .line {
  height: 1.5px;
}

/* ----- Horizontal (desktop) ----- */
@media (min-width: 768px) {
  .stepper.stepper-sm .step .line {
    /* Center line through middle of smaller circle */
    top: 12px; /* half of 24px */
    left: 24px; /* aligns with circle edge */
    width: calc(100% - 24px);
  }
}

/* ----- Vertical (mobile) ----- */
@media (max-width: 767.98px) {
  .stepper.stepper-sm .step .line {
    left: 12px !important; /* center through circle */
    top: 24px !important;  /* starts at bottom of circle */
    bottom: -1.5rem !important;
    width: 1.5px !important;
    height: auto !important;
  }
}

/* ----- Forced vertical layout (applies regardless of screen size) ----- */
.stepper.stepper-sm.stepper-vertical .step .line {
  left: 12px !important; /* center through smaller circle */
  top: 24px !important;  /* start exactly below circle */
  bottom: -1.5rem !important;
  width: 1.5px !important;
  height: auto !important;
}

/* ----- Dashed small variant ----- */
.stepper.stepper-sm.stepper-dashed .step .line {
  border-top-width: 1.5px;
}

.stepper.stepper-sm.stepper-dashed.stepper-vertical .step .line {
  border-left-width: 1.5px;
}

/* Slightly tighter spacing between steps */
.stepper.stepper-sm {
  gap: 1.5rem !important;
}

.stepper.stepper-sm .step .content {
  padding-top: 2px;
}

.fab-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

/* Main FAB */
.fab-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #EF9B14;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.fab-main:hover {
  background: #D58910;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.fab-main.active {
  transform: rotate(45deg);
}

/* FAB Actions container */
.fab-actions {
  position: absolute;
  bottom: 70px;
  right: 7px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.fab-actions.show {
  opacity: 1;
  pointer-events: all;
}

/* Each action + label wrapper */
.fab-action-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  transform: translateX(20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.fab-actions.show .fab-action-wrapper {
  transform: translateX(0);
  opacity: 1;
}

.fab-action {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  color: #667eea;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fab-action:hover {
  background: #667eea;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* Labels beside buttons */
.fab-label {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s ease;
}

.fab-actions.show .fab-label {
  opacity: 1;
  transform: translateX(0);
}

.fab-action-wrapper:hover .fab-label {
  background: #333;
}

/* Backdrop when open */
.fab-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.fab-backdrop.show {
  opacity: 1;
  pointer-events: all;
}


.dropdown-menu {
    border: none;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    padding: 0.75rem;
    margin-top: 0.5rem;
    min-width: 200px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.dropdown-item {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: #495057;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  border: none;
  background: transparent;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, #ef9b14 0%, #f7b648 100%);
  color: #fff;
  transform: translateX(2px);
}

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

.priority-option {
  position: relative;
  cursor: pointer;
}

.priority-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.priority-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  transition: all 0.3s ease;
  height: 120px;
  justify-content: space-between;
}

.priority-option:hover .priority-card {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* Priority Colors */
.priority-success {
  --priority-color: #10b981;
  --priority-bg: #ecfdf5;
}

.priority-primary {
  --priority-color: #3b82f6;
  --priority-bg: #eff6ff;
}

.priority-warning {
  --priority-color: #f59e0b;
  --priority-bg: #fffbeb;
}

.priority-danger {
  --priority-color: #ef4444;
  --priority-bg: #fef2f2;
}

.priority-secondary {
  --priority-color: #6b7280; /* neutral gray */
  --priority-bg: #f3f4f6;    /* light gray background */
}

.priority-option input[type="radio"]:checked + .priority-card {
  border-color: var(--priority-color);
  background: var(--priority-bg);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.priority-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  max-width: 30px;
  max-height: 30px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.8);
  color: #64748b;
  font-size: 18px;
  transition: all 0.3s ease;
}

.priority-option input[type="radio"]:checked + .priority-card .priority-icon {
  background: var(--priority-color);
  color: white;
  transform: scale(1.1);
}

.priority-label {
  padding: 5px;
  font-weight: 600;
  font-size: 1rem;
  color: #1e293b;
}
.priority-indicator {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: white;
  transition: all 0.3s ease;

  flex-shrink: 0;   /* flexbox fix */
  align-self: center; /* grid + flex fix */
}

.priority-option input[type="radio"]:checked + .priority-card .priority-indicator {
  border-color: var(--priority-color);
  background: var(--priority-color);
}

.text-gradient-theme {
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

body.modal-open,
body:not(.modal-open) {
  padding-right: 0 !important;
}

.progress .progress-bar {
    transition: width .6s ease-in-out; /* smooth animation */
}

.select2-results__option small {
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.config-group {
  margin-bottom: 2rem;
}

.config-group:last-child {
  margin-bottom: 0;
}

.group-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #e5e7eb 0%, transparent 100%);
}

.config-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background: #f9fafb;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.config-item:hover {
  background: #f3f4f6;
  border-color: #667eea;
}

.config-item:last-child {
  margin-bottom: 0;
}

.config-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.config-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.config-icon.purple {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #6366f1;
}

.config-icon.blue {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #3b82f6;
}

.config-icon.green {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #10b981;
}

.config-icon.orange {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  color: #f97316;
}

.config-icon.pink {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  color: #ec4899;
}

.config-icon.teal {
  background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
  color: #14b8a6;
}

.config-icon.indigo {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #6366f1;
}

.config-icon.rose {
  background: linear-gradient(135deg, #ffe4e6 0%, #fecdd3 100%);
  color: #f43f5e;
}

.config-details {
  flex: 1;
}

.config-name {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.config-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.config-action {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.config-badge {
  background: #667eea;
  color: #ffffff;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.config-badge.secondary {
  background: #e5e7eb;
  color: #6b7280;
}

.btn-configure {
  background: #667eea;
  border: none;
  color: #ffffff;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-configure:hover {
  background: #5568d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.chevron-icon {
  color: #9ca3af;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .settings-container {
    padding: 1.5rem;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .section-body {
    padding: 1.25rem;
  }
  
  .config-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .config-action {
    width: 100%;
    justify-content: space-between;
  }
}

.text-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg,#f59e0b,#2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.search-area {
  position: relative;
}

.search-input-field {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: #f4f6f9;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  color: #1a2332;
  font-size: 0.95rem;
  font-family: 'IBM Plex Sans', sans-serif;
  transition: all 0.2s ease;
}

.search-input-field::placeholder {
  color: rgba(26, 35, 50, 0.5);
}

.search-input-field:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-icon-pos {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(26, 35, 50, 0.5);
  font-size: 1rem;
}

/* Tweak the popup container for a cleaner, flatter look */
.pro-popup {
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* Adjust the title spacing */
.pro-title {
    font-weight: 600 !important;
    color: #2b2d42 !important;
    margin-bottom: 0.5rem !important;
}

/* Adjust the text spacing */
.pro-content {
    color: #6c757d !important;
    font-size: 1rem !important;
}

/* Custom spacing for the icon */
.swal2-icon {
    margin-top: 0 !important;
    margin-bottom: 1.5rem !important;
}
