/* Client */





/* ------------------------------------------------------------------------ */
/* Global Classes ================================================= Start */
/* ------------------------------------------------------------------------ */

:root {
  /* ================= Brand Colors ================= */
  --clr-primary:   #7e3af2;
  --clr-primary-light:   #8d4aff;
  --clr-primary-dark:   #652ec3;
  --clr-secondary: #1565d6;

  --clr-gray:   #aeaeae;
  --clr-red:   #DC2626;

  /* ================= Brand Colors (RGB for opacity) ================= */
  --clr-primary-rgb:  126 58 242;
  --clr-secondary-rgb: 33 138 203;
  
  --clr-gray-rgb:   174 174 174;
  --clr-red-rgb:   220 38 38;

  /* ================= Background Colors ================= */
  --bg-base:      #ffffff; /* White */
  --bg-muted:     #4b5563; /* Slate Gray */
  --bg-black:     #000000; /* Black */
  --bg-primary:   var(--clr-primary);
  --bg-primary-light:   var(--clr-primary-light);
  --bg-primary-dark:   var(--clr-primary-dark);
  --bg-secondary: var(--clr-secondary);
  --bg-gray:    var(--clr-gray);
  --bg-red:    var(--clr-red);

  /* ================= Background Colors (RGB) ================= */
  --bg-base-rgb:      255 255 255;
  --bg-muted-rgb:     75 85 99;
  --bg-black-rgb:     00 00 00;
  --bg-primary-rgb:   var(--clr-primary-rgb);
  --bg-secondary-rgb: var(--clr-secondary-rgb);
  --bg-gray-rgb:    var(--clr-gray-rgb);
  --bg-red-rgb:    var(--clr-red-rgb);

  /* ================= Text Colors ================= */
  --txt-white:     #ffffff;
  --txt-muted:     #6b7280;
  --txt-strong:    #111827;
  --txt-primary:   var(--clr-primary);
  --txt-primary-light:   var(--clr-primary-light);
  --txt-primary-dark:   var(--clr-primary-dark);
  --txt-secondary: var(--clr-secondary);
  --txt-gray:    var(--clr-gray);
  --txt-red:    var(--clr-red);

  /* ================= Text Colors (RGB) ================= */
  --txt-white-rgb:     255 255 255;
  --txt-muted-rgb:     107 114 128;
  --txt-black-rgb:    00 00 00;
  --txt-primary-rgb:   var(--clr-primary-rgb);
  --txt-secondary-rgb: var(--clr-secondary-rgb);
  --txt-gray-rgb:    var(--clr-gray-rgb);
  --txt-red-rgb:    var(--clr-red-rgb);

  /* ================= Border Colors ================= */
  --border-base:   #ebecf0;
  --border-primary: var(--clr-primary);
  --border-primary-light: var(--clr-primary-light);
  --border-primary-dark: var(--clr-primary-dark);
  --border-secondary: var(--clr-secondary);
  --border-red: var(--clr-red);

  /* ================= Border Colors (RGB) ================= */
  --border-base-rgb:   235 236 239;
  --border-primary-rgb: var(--clr-primary-rgb);
  --border-red-rgb: var(--clr-red-rgb);
}

html {
  scroll-behavior: smooth;
}


/* Hide Scrollbar ================= */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

*{
  scrollbar-width: none; 
}


/* ::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background-color: #a9a9a9;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #888b91;
}
::-webkit-scrollbar-track {
  background: transparent;
} */


/* ------------------------------------------------------------------------ */
/* Global Classes ================================================= End */
/* ------------------------------------------------------------------------ */




/* ------------------------------------------------------------------------ */
/* Utility Classes ================================================= Start */
/* ------------------------------------------------------------------------ */

/* Background Color ================= */
.bg-cstm-primary { background-color: var(--bg-primary); }
.bg-cstm-primary-5 { background-color: rgb(var(--bg-primary-rgb) / 0.05); }       
.bg-cstm-primary-10 { background-color: rgb(var(--bg-primary-rgb) / 0.1); } 
.bg-cstm-primary-20 { background-color: rgb(var(--bg-primary-rgb) / 0.2); }
.bg-cstm-primary-30 { background-color: rgb(var(--bg-primary-rgb)/ 0.3); }
.bg-cstm-primary-40 { background-color: rgb(var(--bg-primary-rgb)/ 0.4); }
.bg-cstm-primary-50 { background-color: rgb(var(--bg-primary-rgb)/ 0.5); }
.bg-cstm-primary-60 { background-color: rgb(var(--bg-primary-rgb)/ 0.6); }
.bg-cstm-primary-70 { background-color: rgb(var(--bg-primary-rgb)/ 0.7); }
.bg-cstm-primary-80 { background-color: rgb(var(--bg-primary-rgb)/ 0.8); }
.bg-cstm-primary-90 { background-color: rgb(var(--bg-primary-rgb)/ 0.9); }
     
.bg-cstm-secondary { background-color: var(--bg-secondary); }
.bg-cstm-secondary-10 { background-color: rgb(var(--bg-secondary-rgb) / 0.1); }
.bg-cstm-secondary-20 { background-color: rgb(var(--bg-secondary-rgb) / 0.2); }
.bg-cstm-secondary-30 { background-color: rgb(var(--bg-secondary-rgb) / 0.3); }
.bg-cstm-secondary-40 { background-color: rgb(var(--bg-secondary-rgb) / 0.4); }
.bg-cstm-secondary-50 { background-color: rgb(var(--bg-secondary-rgb) / 0.5); }
.bg-cstm-secondary-60 { background-color: rgb(var(--bg-secondary-rgb) / 0.6); }
.bg-cstm-secondary-70 { background-color: rgb(var(--bg-secondary-rgb) / 0.7); }
.bg-cstm-secondary-80 { background-color: rgb(var(--bg-secondary-rgb) / 0.8); }
.bg-cstm-secondary-90 { background-color: rgb(var(--bg-secondary-rgb) / 0.9); }

.bg-cstm-black-10 { background-color: rgb(var(--bg-black-rgb) / 0.1); }
.bg-cstm-black-20 { background-color: rgb(var(--bg-black-rgb) / 0.2); }
.bg-cstm-black-30 { background-color: rgb(var(--bg-black-rgb) / 0.3); }
.bg-cstm-black-40 { background-color: rgb(var(--bg-black-rgb) / 0.4); }
.bg-cstm-black-50 { background-color: rgb(var(--bg-black-rgb) / 0.5); }
.bg-cstm-black-60 { background-color: rgb(var(--bg-black-rgb) / 0.6); }
.bg-cstm-black-70 { background-color: rgb(var(--bg-black-rgb) / 0.7); }
.bg-cstm-black-80 { background-color: rgb(var(--bg-black-rgb) / 0.8); }
.bg-cstm-black-90 { background-color: rgb(var(--bg-black-rgb) / 0.9); }

/* Gradient BG Colors */
.bg-cstm-primary-gradient-light{
  background: linear-gradient(90deg, rgb(var(--bg-primary-rgb) / 0.2) 0.12%, #FDF8F7 99.89%) !important;
}
.bg-cstm-primary-gradient-dark{
  background: linear-gradient( 146deg, var(--bg-primary) -50%, rgb(15 15 15 / 1)) !important
}
.bg-cstm-danger-gradient-light{
  background: linear-gradient(90deg, rgb(var(--bg-red-rgb) / 0.2) 0.12%, #FDF8F7 99.89%) !important;
}
.bg-cstm-danger-gradient-dark{
  background: linear-gradient(90deg, #651e1e 0.12%, #000000 99.89%) !important;
}
.bg-cstm-common-gradient-light{
  background: linear-gradient(90deg, #F7E9FF 0.12%, #FDF8F7 99.89%) !important;
}

/* Hover Background */
.hover\:bg-cstm-primary:hover { background-color: var(--bg-primary); }
.hover\:bg-cstm-primary-10:hover { background-color: rgb(var(--bg-primary-rgb) / 0.1); }
.hover\:bg-cstm-primary-20:hover { background-color: rgb(var(--bg-primary-rgb) / 0.2); }
.hover\:bg-cstm-primary-30:hover { background-color: rgb(var(--bg-primary-rgb)/ 0.3); }
.hover\:bg-cstm-primary-40:hover { background-color: rgb(var(--bg-primary-rgb)/ 0.4); }
.hover\:bg-cstm-primary-50:hover { background-color: rgb(var(--bg-primary-rgb)/ 0.5); }
.hover\:bg-cstm-primary-light:hover { background-color: var(--bg-primary-light); }
.hover\:bg-cstm-primary-dark:hover { background-color: var(--bg-primary-dark); }

.hover\:bg-cstm-secondary:hover { background-color: var(--bg-secondary); }
.hover\:bg-cstm-secondary-10:hover { background-color: rgb(var(--bg-secondary-rgb) / 0.1); }
.hover\:bg-cstm-secondary-20:hover { background-color: rgb(var(--bg-secondary-rgb) / 0.2); }
.hover\:bg-cstm-secondary-30:hover { background-color: rgb(var(--bg-secondary-rgb) / 0.3); }
.hover\:bg-cstm-secondary-40:hover { background-color: rgb(var(--bg-secondary-rgb) / 0.4); }
.hover\:bg-cstm-secondary-50:hover { background-color: rgb(var(--bg-secondary-rgb) / 0.5); }


/* Text ================= */
.text-cstm-primary { color: var(--txt-primary); }
.text-cstm-primary-10 { color: rgb(var(--txt-primary-rgb) / 0.1); }
.text-cstm-primary-20 { color: rgb(var(--txt-primary-rgb) / 0.2); }
.text-cstm-primary-30 { color: rgb(var(--txt-primary-rgb) / 0.3); }
.text-cstm-primary-40 { color: rgb(var(--txt-primary-rgb) / 0.4); }
.text-cstm-primary-50 { color: rgb(var(--txt-primary-rgb) / 0.5); }
.text-cstm-primary-60 { color: rgb(var(--txt-primary-rgb) / 0.6); }
.text-cstm-primary-70 { color: rgb(var(--txt-primary-rgb) / 0.7); }
.text-cstm-primary-80 { color: rgb(var(--txt-primary-rgb) / 0.8); }
.text-cstm-primary-90 { color: rgb(var(--txt-primary-rgb) / 0.9); }

.text-cstm-secondary { color: var(--txt-secondary); }
.text-cstm-secondary-10 { color: rgb(var(--txt-secondary-rgb) / 0.1); }
.text-cstm-secondary-20 { color: rgb(var(--txt-secondary-rgb) / 0.2); }
.text-cstm-secondary-30 { color: rgb(var(--txt-secondary-rgb) / 0.3); }
.text-cstm-secondary-40 { color: rgb(var(--txt-secondary-rgb) / 0.4); }
.text-cstm-secondary-50 { color: rgb(var(--txt-secondary-rgb) / 0.5); }
.text-cstm-secondary-60 { color: rgb(var(--txt-secondary-rgb) / 0.6); }
.text-cstm-secondary-70 { color: rgb(var(--txt-secondary-rgb) / 0.7); }
.text-cstm-secondary-80 { color: rgb(var(--txt-secondary-rgb) / 0.8); }
.text-cstm-secondary-90 { color: rgb(var(--txt-secondary-rgb) / 0.9); }

/* Hover Text */
.hover\:text-cstm-primary:hover { color: var(--txt-primary); }
.hover\:text-cstm-primary-10:hover { color: rgb(var(--txt-primary-rgb) / 0.1); }
.hover\:text-cstm-primary-20:hover { color: rgb(var(--txt-primary-rgb) / 0.2); }
.hover\:text-cstm-primary-30:hover { color: rgb(var(--txt-primary-rgb) / 0.3); }
.hover\:text-cstm-primary-40:hover { color: rgb(var(--txt-primary-rgb) / 0.4); }
.hover\:text-cstm-primary-50:hover { color: rgb(var(--txt-primary-rgb) / 0.5); }
.hover\:text-cstm-primary-60:hover { color: rgb(var(--txt-primary-rgb) / 0.6); }
.hover\:text-cstm-primary-70:hover { color: rgb(var(--txt-primary-rgb) / 0.7); }
.hover\:text-cstm-primary-80:hover { color: rgb(var(--txt-primary-rgb) / 0.8); }
.hover\:text-cstm-primary-90:hover { color: rgb(var(--txt-primary-rgb) / 0.9); }

.hover\:text-cstm-secondary:hover { color: var(--txt-secondary); }
.hover\:text-cstm-secondary-10:hover { color: rgb(var(--txt-secondary-rgb) / 0.1); }
.hover\:text-cstm-secondary-20:hover { color: rgb(var(--txt-secondary-rgb) / 0.2); }
.hover\:text-cstm-secondary-30:hover { color: rgb(var(--txt-secondary-rgb) / 0.3); }
.hover\:text-cstm-secondary-40:hover { color: rgb(var(--txt-secondary-rgb) / 0.4); }
.hover\:text-cstm-secondary-50:hover { color: rgb(var(--txt-secondary-rgb) / 0.5); }
.hover\:text-cstm-secondary-60:hover { color: rgb(var(--txt-secondary-rgb) / 0.6); }
.hover\:text-cstm-secondary-70:hover { color: rgb(var(--txt-secondary-rgb) / 0.7); }
.hover\:text-cstm-secondary-80:hover { color: rgb(var(--txt-secondary-rgb) / 0.8); }
.hover\:text-cstm-secondary-90:hover { color: rgb(var(--txt-secondary-rgb) / 0.9); }


/* Buttons ===============*/

.btn {
  font-size: 12px;
  transition-duration: 300ms;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px){
  .btn {
    font-size: 14px;
    transition-duration: 300ms;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* primary Btn */
.btn-cstm-primary {
  background-color: var(--bg-primary);
  color: var(--txt-white);
}
.dark .btn-cstm-primary {
  background-color: var(--bg-primary-light);
}
.btn-cstm-primary:hover {
  background-color: var(--bg-primary-dark);
}

/* Muted Btn */
.btn-cstm-muted {
  background-color: var(--bg-gray);
  color: var(--txt-white);
}
.btn-cstm-muted:hover {
  background-color: rgb(var(--bg-gray-rgb) / 0.85);
  color: var(--txt-white);
}

/* Danger btn Dark*/
.btn-cstm-danger {
  background-color: var(--bg-red);
  color: var(--txt-white);
}
.btn-cstm-danger:hover {
  background-color: rgb(var(--bg-red-rgb) / 0.85);
  color: var(--txt-white);
}

/* Danger btn Light*/
.btn-cstm-danger.light {
  background-color: var(--bg-base);
  color: var(--txt-red);
  border: 1px solid var(--border-red); 
}
.dark .btn-cstm-danger.light {
  background-color: unset;
}
.btn-cstm-danger.light:hover {
  background-color: var(--bg-base);
  color: var(--txt-red);
  border: 1px solid rgb(var(--border-red-rgb) / 0.85);
}


/* Border ================= */ 
.border-cstm-primary { border-color: var(--border-primary); }
.border-t-cstm-primary { border-top-color: var(--border-primary); }
.border-b-cstm-primary { border-bottom-color: var(--border-primary); }
.border-l-cstm-primary { border-left-color: var(--border-primary); }
.border-r-cstm-primary { border-right-color: var(--border-primary); }

.border-cstm-secondary { border-color: var(--border-secondary); }

/* Outline =============== */
.outline-cstm-primary { outline-color: var(--border-primary); }

/* Clamp for limit lines ================= */
.cstm-limit-line {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 1.5em;
}

.cstm-limit-line-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 3em;
}


/* Scroll Bar ==================== */
.cstm-scroll-sm {
  scrollbar-width: thin;
  scrollbar-color: #cecece transparent;
}
.cstm-scroll-sm::-webkit-scrollbar {
  width: 6px;
}
.cstm-scroll-sm::-webkit-scrollbar-thumb {
  background-color: #d4d8df;
  border-radius: 9999px;
  min-height: 30px;
  margin: 4px;
}
.cstm-scroll-sm::-webkit-scrollbar-thumb:hover {
  background-color: #a5aab5;
}
.cstm-scroll-sm::-webkit-scrollbar-track {
  background: transparent;
}

/* Hedden scroll */
.scroll-hidden {
  overflow: auto;
  scrollbar-width: none; /* Firefox */
}
.scroll-hidden::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}



/* Common Spacing ============================ */
.cstm-inline-space{
  padding-inline: 40px;
}
.cstm-block-space{
  padding-block: 20px;
}

@media (min-width: 768px){
  .cstm-inline-space{
    padding-inline: 80px;
  }
  .cstm-block-space{
    padding-block: 40px;
  }
}

/* ------------------------------------------------------------------------ */
/* Utility Classes ================================================= End */
/* ------------------------------------------------------------------------ */




/* ------------------------------------------------------------------------ */
/* Dark Mode ================================================= Start */
/* ------------------------------------------------------------------------ */

.dark{

  /* Dark Mode Color Conflict */
  .text-cstm-primary { color: var(--txt-primary-light); }
  .bg-cstm-primary { background-color: var(--bg-primary-light); }
  
  /* Text */
  .drk-text-cstm-primary { color: var(--txt-primary-light); }

  /* Text Hover */
  .hover\:drk-text-cstm-primary:hover { color: var(--txt-primary-light); }

  /* Background */
  .drk-bg-cstm-primary { background-color: var(--bg-primary-light); }
  .drk-bg-cstm-primary-10 { background-color: rgb(var(--bg-primary-rgb) / 0.1);  }
  .drk-bg-cstm-primary-20 { background-color: rgb(var(--bg-primary-rgb) / 0.2);  }
  .drk-bg-cstm-primary-30 { background-color: rgb(var(--bg-primary-rgb) / 0.3);  }
  .drk-bg-cstm-primary-40 { background-color: rgb(var(--bg-primary-rgb) / 0.4);  }
  .drk-bg-cstm-primary-50 { background-color: rgb(var(--bg-primary-rgb) / 0.5);  }

  /* BG Hover */
  .hover\:drk-bg-cstm-primary:hover { background-color: var(--bg-primary-light); }

  /* Gradient BG */
  .drk-bg-cstm-primary-gradient-light{
    background: linear-gradient(90deg, rgb(var(--bg-primary-rgb) / 0.2) 0.12%, #FDF8F7 99.89%) !important;
  }
  .drk-bg-cstm-primary-gradient-dark{
    background: linear-gradient( 146deg, var(--bg-primary) -50%, rgb(15 15 15 / 1)) !important
  }
  .drk-bg-cstm-danger-gradient-light{
    background: linear-gradient(90deg, rgb(var(--bg-red-rgb) / 0.2) 0.12%, #FDF8F7 99.89%) !important;
  }
  .drk-bg-cstm-danger-gradient-dark{
    background: linear-gradient(90deg, #651e1e 0.12%, #000000 99.89%) !important;
  }
  .drk-bg-cstm-common-gradient-light{
    background: linear-gradient(90deg, #374151 100%, #374151 100%) !important;
  }

  /* Border ================= */ 
  .border-cstm-primary { border-color: var(--border-primary); }
  .border-t-cstm-primary { border-top-color: var(--border-primary); }
  .border-b-cstm-primary { border-bottom-color: var(--border-primary); }
  .border-l-cstm-primary { border-left-color: var(--border-primary); }
  .border-r-cstm-primary { border-right-color: var(--border-primary); }

  .border-cstm-secondary { border-color: var(--border-secondary); }
}

/* ------------------------------------------------------------------------ */
/* Dark Mode ================================================= End */
/* ------------------------------------------------------------------------ */



/* ------------------------------------------------------------------------ */
/* Default Settings ================================================= Start */
/* ------------------------------------------------------------------------ */


/* Search Bar ============================= */
.navbar-search input {
  background-color: var(--bg-base);
}

/* Select Dropdown Setting ================ */
select,
::picker(select) {
  appearance: base-select;
  border: 1px solid #dddddd;
  border-radius: 5px;
  margin-top: 4px;
}
select::picker-icon {
  visibility: hidden;
}
.dark option {
  background: #374151;
  color: var(--txt-white);
}
option[selected],
option:hover {
  background-color: var(--bg-primary);
  color: var(--txt-white);
}
option::checkmark {
  padding-left: 10px;
}


/* Check Box ==================*/
input:checked ~ .peer-checked\:bg-cstm-primary {
  background-color: var(--bg-primary);
}


/* Pseudo Setting ================= */
[type='text'], [type='string'], [type='email'], [type='url'], [type='password'], [type='number'], [type='date'], [type='datetime-local'], [type='month'], [type='search'], [type='tel'], [type='time'], [type='week'], [multiple], textarea, select{
    font-size: 14px;
}
[type='checkbox']:checked, [type='radio']:checked, .dark [type='checkbox']:checked, .dark [type='radio']:checked, [type='checkbox']:indeterminate, [type='checkbox']:indeterminate:hover, [type='checkbox']:indeterminate:focus{
  background-color: var(--bg-primary);
}
[type='text']:focus, [type='string']:focus, [type='checkbox']:focus, [type='string']:focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus{
  --tw-ring-color: var(--border-primary);
  border-color: var(--border-primary) !important;
}


/* Table Settings */
.table th, .table td {
  text-align: start;
}
.table td:last-child,
.table th:last-child {
  text-align: center;
}

/* ------------------------------------------------------------------------ */
/* Default Settings ================================================= End */
/* ------------------------------------------------------------------------ */







/* ------------------------------------------------------------------------ */
/* Custom Styles ================================================= Start */
/* ------------------------------------------------------------------------ */

/* Main Body UI ================ */
.dashboard-main-body {
  width: 100%;
}
.dashboard-main {
  transition: all 0.3s;
}



/* When sidebar is active but NOT hovered → hide text */
.sidebar.active .sidebar-menu li a span {
  display: inline-block;
  transform: translateX(-50px);
  opacity: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  transition: 
    transform 0.3s ease-in-out,
    opacity 0.3s ease-in-out,
    width 0.3s ease-in-out;
}

/* When hovering active sidebar → reveal text smoothly */
.sidebar.active:hover .sidebar-menu li a span {
  display: inline-block;
  transform: translateX(0);
  opacity: 1;
  width: auto; /* expands to natural width */
  height: 100%;
}



/* Navbar ====================== */
.navbar-header {
    box-shadow: 0px 0px 10px #00000030;
}






/* Sidebar ===================== */
.cstm-sidebar.active .sidebar-logo img {
    max-height: 2rem;
}

.cstm-sidebar-menu li > a.active-page,
.cstm-sidebar-menu .dropdown-open > a,
.cstm-sidebar-menu li.dropdown.open > a{
  background-color: var(--bg-primary) !important;
  color: var(--txt-white) !important;
}
.cstm-sidebar-menu .dropdown-open {
  padding-top: 5px;
  transition-duration: 300ms;
}
.cstm-sidebar-menu .dropdown {
  transition-duration: 300ms;
}
.cstm-sidebar-menu li > a.active-page:hover {
  background-color: var(--bg-primary-dark) !important;
}
.cstm-sidebar-menu li a:hover {
  color: var(--txt-primary);
}



/* Progress Bar Brightness */
#completion-bar::after {
  content: "";
  position: absolute;
  bottom: 2px;
  padding: 4px 2px;
  background: #ffffff;
  border-radius: 9999px;
  box-shadow: 0 0 5px 2px rgba(255, 255, 255, 0.8), /* Inner glow */
            0 0 10px 4px rgba(255, 255, 255, 0.5);
  right: 3px;
}

/* View Profile ================= */
.cstm-avatar-upload .avatar-preview {
  border-color: var(--border-primary);
}
.cstm-tab-style-gradient button[aria-selected=true] {
  /* background: linear-gradient(180deg,  rgb(var(--bg-primary-rgb)/ 0.1) 0%, rgba(72, 127, 255, 0.03) 100%);
  border-top: 2px solid var(--border-primary); */
  background: no-repeat;
  border-top: none;
  border-bottom: 4px solid var(--border-primary);
  color: var(--txt-primary);
}
.cstm-tab-style-gradient button[aria-selected=true]:hover {
  color: var(--clr-primary);
}
.dark .cstm-tab-style-gradient button[aria-selected=true] {
  color: var(--clr-primary);
}


/* Faq ===========================*/
.cstm-accordion-item [aria-expanded=true],
.cstm-accordion-item [aria-expanded=true] span {
  color: var(--txt-primary);
} 
.cstm-accordion-item [aria-expanded=true]{
  background-color: rgb(var(--bg-primary-rgb) / 0.1);
}
.cstm-accordion-item [aria-expanded=true]:hover {
  background-color: rgb(var(--bg-primary-rgb) / 0.1);
}


/* Schema Template =============== */
.cstm-form-select {
  padding-inline-end: 2.25rem !important;
}


/* Alert Container ================= */
.toast-hidden {
  opacity: 0;
  transform: translateY(-10px);
}

.toast-show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-hide {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}


/* Setup Wizard  =========================================*/

/* Step 2 - Analysis */

.loader-dot {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}



/* Unblur */
.result-card-blurred {
  filter: blur(2px);
  transition: filter 0.8s ease-out, opacity 0.8s ease-out;
  opacity: 0.5;
}

.result-card-unblurred {
  filter: blur(0);
  opacity: 1;
}

 /* Icon Fade-in Effect */
.status-icon-placeholder {
  transition: opacity 0.7s ease-in;
  opacity: 0;
}

.status-icon-visible {
   opacity: 1;
}

/* ---Icon Success Animation (Pop/Jiggle Effect) --- */
@keyframes success-pop {
  0% {
      transform: scale(0.7) rotate(-20deg);
      opacity: 0;
  }
  60% {
      transform: scale(1.2) rotate(5deg);
      opacity: 1;
  }
  100% {
      transform: scale(1) rotate(0deg);
  }
}
.animate-success-pop {
    animation: success-pop 0.5s ease-out forwards;
}

/* Icon Warning Animation (Subtle Shake/Pulse) --- */
@keyframes warning-pulse {
  0%, 100% {
      transform: translateX(0);
      opacity: 1;
  }
  25% {
      transform: translateX(-1px);
  }
  50% {
      transform: translateX(1px);
  }
  75% {
      transform: translateX(-1px);
  }
}
.animate-warning-pulse {
    animation: warning-pulse 0.5s ease-in-out 2;
}

/* Step-3 */
 @keyframes scan-line {
        0% {
            transform: translateX(-100%);
        }

        100% {
            transform: translateX(100%);
        }
    }

    .scanning-loader {
        position: relative;
        width: 35%;
        height: 10px;
        background-color: #e5e7eb;
        border-radius: 5px;
        overflow: hidden;
    }

    .scan-line {
        position: absolute;
        top: 0;
        left: 0;
        width: 50%;
        height: 100%;
        background: linear-gradient(90deg, transparent, var(--bg-primary) 50%, transparent);
        animation: scan-line 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* * 2. ANIMATED PROGRESS BARS */
    .progress-bar-inner {
        transition: width 0.9s ease-out;
    }



    /* Aleart Popup Icon =====================  */

.alert-popup-title {
    font-size: 32px;
    font-weight: 700;
    color: rgb(62, 182, 62);
    margin-top: 20px;
    margin-bottom: 15px;
    position: relative;
}
.alert-popup-message {
    color: #555;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 25px;
}
        /* --- Success Checkmark Styles (Corrected & Enhanced) --- */

.check-icon {
    /* ... (rest of the styles are fine) ... */
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 5px solid rgb(62, 182, 62);
}


/* Fix for the masking elements (::before and ::after) */
.check-icon::before {
    top: 5px;
    left: -3px;
    width: 40px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}
.check-icon::after {
    top: 0;
    left: 40px;
    width: 70px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    /* This animation definition is the key: */
    animation: rotate-circle 1.2s ease-in-out; 
}

.check-icon::before {
    top: 5px;
    left: -3px;
    width: 40px; /* Adjusted width */
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.check-icon::after {
    top: 0;
    left: 40px; /* Adjusted left position */
    width: 70px; /* Adjusted width */
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 1.2s ease-in-out; /* Faster, more punchy animation */
}

.icon-line {
    height: 6px; /* Slightly thicker line */
    background-color: rgb(62, 182, 62);
    display: block;
    border-radius: 3px; /* Softer edges */
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 55px;
    left: 20px;
    width: 30px; /* Adjusted size */
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s ease-out 0.2s; /* Delayed to start after circle animation */
}

.icon-line.line-long {
    top: 45px;
    right: 10px;
    width: 55px; /* Adjusted size */
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s ease-out 0.2s; /* Delayed to start after circle animation */
}

.icon-circle {
    top: -5px;
    left: -5px;
    z-index: 10;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    /* Added a subtle pulsating shadow for polish */
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2); 
    animation: circle-pulse 1.2s ease-out 1;
}

.icon-fix {
    top: 10px;
    width: 6px; /* Adjusted size */
    left: 40px; /* Adjusted position */
    z-index: 1;
    height: 95px; /* Adjusted size */
    position: absolute;
    transform: rotate(-45deg);
    background-color: #FFFFFF;
}

/* --- Keyframes --- */

@keyframes rotate-circle {
    0% { transform: rotate(-45deg); }
    50% { transform: rotate(-45deg); } /* Keep the mask stationary initially */
    /* Increased the rotation from -405deg to -420deg to ensure full completion */
    100% { transform: rotate(-420deg); }
}

 @keyframes circle-pulse {
     0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
     50% { box-shadow: 0 0 0 15px rgba(16, 185, 129, 0); }
     100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
 }

 @keyframes icon-line-tip {
     0% { width: 0; left: 10px; top: 40px; opacity: 0; }
     50% { opacity: 1; }
     100% { width: 30px; left: 17px; top: 55px; } /* Final position */
 }

 @keyframes icon-line-long {
     0% { width: 0; right: 50px; top: 50px; opacity: 0; }
     50% { opacity: 1; }
     100% { width: 55px; right: 10px; top: 45px; } /* Final position */
 }
    /* Aleart Popup Icon =====================  */





    /* SPINNER ORBITS =================================*/
  .spinner-box {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
  }
  .leo {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
  }
  
  .blue-orbit {
    width: 165px;
    height: 165px;
    border: 3px solid var(--txt-primary);
    -webkit-animation: spin3D 3s linear .2s infinite;
  }
  .green-orbit {
    width: 120px;
    height: 120px;
    border: 3px solid var(--txt-primary);
    -webkit-animation: spin3D 2s linear 0s infinite;
  }
  .red-orbit {
    width: 90px;
    height: 90px;
    border: 3px solid var(--txt-primary);
    -webkit-animation: spin3D 1s linear 0s infinite;
  }
  .white-orbit {
    width: 60px;
    height: 60px;
    border: 3px solid var(--txt-primary);
    -webkit-animation: spin3D 10s linear 0s infinite;
  }

  .w1 {
      transform: rotate3D(1, 1, 1, 90deg);
  }

  .w2 {
      transform: rotate3D(1, 2, .5, 90deg);
  }

  .w3 {
      transform: rotate3D(.5, 1, 2, 90deg);
  }

@keyframes spin3D {
  from {
    transform: rotate3d(.5, .5, .5, 360deg);
  }

  to {
    transform: rotate3d(0deg);
  }
}


/* Check Animation Step 3 */
.checkmark__circle{
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 50px;
  stroke-miterlimit: 20;
  stroke: rgb(62, 182, 62);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards
}
.checkmark{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 4;
  stroke: #fff;
  stroke-miterlimit: 10;
  margin: 10% auto;
  box-shadow: inset 0px 0px 0px rgb(62, 182, 62);
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both
}
.checkmark__check{
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards
}

@keyframes stroke{
  100%{stroke-dashoffset: 0}
}
@keyframes scale{
  0%, 100%{transform: none}
  50%{transform: scale3d(1.1, 1.1, 1)}
}
@keyframes fill{
  100%{box-shadow: inset 0px 0px 0px 30px #7ac142}
}








/* disable text selection */
.select-none {
  user-select: none;
}

/* make element 60% opaque */
.opacity-60 {
  opacity: 0.6;
}

/* apply grayscale filter */
.grayscale {
  filter: grayscale(100%);
}

/* apply 1px blur filter */
.blur-\[1px\]{
  filter: blur(1px);
}
.blur-\[2px\]{
  filter: blur(2px);
}






/* Review Popup Styles - Start */
   .review-numbers-selected {
        transform: scale(1.1);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5), 0 0 0 6px var(--clr-primary);
        opacity: 0.9;
    }
    .review-numbers:hover {
        transform: scale(1.1);
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5), 0 0 0 6px var(--clr-primary);
        opacity: 0.9;
    }

    /* 10-Step Color Gradient (HSL adjusted for smooth Red-to-Green transition) */
    .bg-c1 {
        background-color: hsl(0, 80%, 65%);
    }

    /* Red (1) */
    .bg-c2 {
        background-color: hsl(13, 80%, 65%);
    }

    .bg-c3 {
        background-color: hsl(27, 80%, 65%);
    }

    .bg-c4 {
        background-color: hsl(40, 80%, 60%);
    }

    .bg-c5 {
        background-color: hsl(53, 80%, 55%);
    }

    /* Yellow */
    .bg-c6 {
        background-color: hsl(67, 80%, 50%);
    }

    .bg-c7 {
        background-color: hsl(80, 75%, 45%);
    }

    .bg-c8 {
        background-color: hsl(93, 70%, 40%);
    }

    .bg-c9 {
        background-color: hsl(107, 65%, 35%);
    }

    .bg-c10 {
        background-color: hsl(120, 60%, 30%);
    }

    /* Green (10) */
/* Review Popup Styles - End */