/* Client */





/* ------------------------------------------------------------------------ */
/* Global Classes ================================================= Start */
/* ------------------------------------------------------------------------ */

:root {
  /* ================= Brand Colors ================= */
  --clr-primary: #7e3af2;
  --clr-primary-light: #8d4aff;
  --clr-primary-dark: #652ec3;
  --clr-secondary: #1565d6; 
  --clr-green: #00a63e;
  --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);
  --bg-green: var(--clr-green);

  /* ================= 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;
}

body{
  min-height: 100vh;
}

/* 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;
  line-height: normal;
}

@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);
}

.btn-cstm-primary.light {
  background-color: var(--bg-base);
  color: var(--txt-primary);
  border: 1px solid var(--border-primary);
}

.dark .btn-cstm-primary {
  background-color: var(--bg-primary-light);
}

.btn-cstm-primary:hover {
  background-color: var(--bg-primary-dark);
}

/* secondary Btn */
.btn-cstm-secondary {
  background-color: var(--txt-white);
  color: var(--bg-primary);
  border: 1px solid var(--bg-primary);
}

.btn-cstm-secondary.light {
  background-color: var(--bg-base);
  color: var(--txt-primary);
  border: 1px solid var(--border-primary);
}

.dark .btn-cstm-secondary {
  background-color: var(--bg-primary-light);
}

.btn-cstm-secondary:hover {
  background-color: var(--bg-primary);
  color: var(--txt-white);

}

/* 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);
}

.btn-cstm-success {
  background-color: var(--bg-green);
  color: var(--txt-white);
}

.btn-cstm-success:hover {
  background-color: rgba(4, 133, 52, 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-20 {
  border-color: rgb(var(--bg-primary-rgb) / 0.2);
}

.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;
}
.cstm-limit-line-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.5em;
}


/* 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: 20px;
}

.cstm-block-space {
  padding-block: 20px;
}

@media (min-width: 768px) {
  .cstm-inline-space {
    padding-inline: 40px;
  }

  .cstm-block-space {
    padding-block: 40px;
  }
}

/* ------------------------------------------------------------------------ */
/* Utility Classes ================================================= End */
/* ------------------------------------------------------------------------ */




/* ------------------------------------------------------------------------ */
/* Dark Mode ================================================= Start */
/* ------------------------------------------------------------------------ */

.dark {

  .toggle-btn.active {
        background: var(--bg-primary-dark);
        box-shadow: 0 1px 6px rgba(0, 0, 0, .15);
    }

  .bg_main_gradient {
    background: linear-gradient(135deg, #865cb0 0%, #7934eb 100%);
}

  /* 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] {
  background-color: var(--bg-primary);
  color: var(--txt-white);
}

option:hover {
  background-color: var(--bg-primary);
  opacity: 0.6;
  color: var(--txt-white);
}

option::checkmark {
  padding-left: 10px;
}


/* Check Box ==================*/
input:checked~.peer-checked\:bg-cstm-primary,
input:checked~* .peer-checked\:bg-cstm-primary {
  background-color: var(--bg-primary);
}

input:checked~.peer-checked\:bg-cstm-primary-5,
input:checked~* .peer-checked\:bg-cstm-primary-5 {
  background-color: rgb(var(--bg-primary-rgb) / 0.1);
}

input:checked~.peer-checked\:border-cstm-primary,
input:checked~* .peer-checked\:border-cstm-primary {
  border-color: var(--border-primary);
}

input:checked~.peer-checked\:text-cstm-primary,
input:checked~* .peer-checked\:text-cstm-primary {
  color: var(--txt-primary);
}

input:checked~.peer-checked\:opacity-100,
input:checked~* .peer-checked\:opacity-100 {
  opacity: 1;
}


/* 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;
}


.sidebar #sidebar-plan-box .user-mobile-icon {
  display: none;
}

/* When sidebar is active but NOT hovered → hide text */
.sidebar.active .sidebar-menu li a span,
.sidebar.active .sidebar-bottom-menus li span,
.sidebar.active #sidebar-plan-box #plan-box-content,
.sidebar.active #sidebar-plan-box #plan-box-error {
  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;
}

.sidebar.active .sidebar-menu li.dropdown>a::after {
  right: 8px;
}

.sidebar.active #sidebar-plan-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

.sidebar.active #sidebar-plan-box #plan-box-content {
  position: absolute;
  display: block;
  width: 100%;
}

.sidebar.active #sidebar-plan-box .user-mobile-icon {
  display: block;
}

/* When hovering active sidebar → reveal text smoothly */
.sidebar.active:hover .sidebar-menu li a span,
.sidebar.active:hover .sidebar-bottom-menus li span,
.sidebar.active:hover #sidebar-plan-box #plan-box-content,
.sidebar.active:hover #sidebar-plan-box #plan-box-error {
  display: inline-block;
  transform: translateX(0);
  opacity: 1;
  width: auto;
  /* expands to natural width */
  height: 100%;
}

.sidebar.active:hover #sidebar-plan-box #plan-box-content {
  position: unset;
  display: block;
  width: 100%;
}

.sidebar.active:hover #sidebar-plan-box .user-mobile-icon {
  display: none;
}

.sidebar.active:hover #sidebar-plan-box {
  margin: 1rem;
}

.sidebar.active:hover .sidebar-menu li.dropdown>a::after {
  right: 12px;
}

/* 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 =====================  */

/* STRAT - Sidebar plan box =====================  */
#plan-countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 6px;
}

#plan-countdown>span {
  font-weight: 400;
  font-size: 14px;
}

#plan-countdown>span:first-child {
  text-align: left;
  width: 100%;
  display: block;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
}

/* END - Sidebar plan box =====================  */


/* 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 */
.bg-light-gray {
  background-color: #E5E7EB;
}

.discount-sticker {
  z-index: 1;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

button[data-tooltip-target="tooltip-projects"]:hover~#tooltip-projects {
  opacity: 1;
  visibility: visible;

}

#tooltip-projects {
  position: absolute;
  top: 0;
  left: 44%;
  max-width: 250px;
}

.tooltip_btn {
  right: 2.5rem;
  font-size: 22px;
  color: var(--clr-green);
}
.primary_tooltip_btn{
  color: var(--clr-primary);
}

 .btn-disabled {
        opacity: 0.45;
        cursor: not-allowed !important;
        pointer-events: none;
        filter: blur(1px);
    }
    .toggle-btn.active {
        background: white;
        box-shadow: 0 1px 6px rgba(0, 0, 0, .15);
    }

    .plan-header-cell {
        overflow: visible !important;
        position: relative;
    }

    .tooltip {
        /* CHANGED: absolute is required for the scrollY math to work */
        position: absolute;
        z-index: 9999;
        max-width: 260px;
        background: #1f2937;
        /* Darker background for better contrast */
        color: #ffffff;
        padding: 10px 14px;
        border-radius: 8px;
        font-size: 13px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
        pointer-events: none;
        /* Smooth fade effect */
        transition: opacity 0.15s ease-in-out, visibility 0.15s ease-in-out;
        opacity: 0;
        visibility: hidden;
    }

    .tooltip.visible {
        opacity: 1;
        visibility: visible;
    }

.green_color_bg{
  background: linear-gradient(135deg, #f97316, #f59e0b);
}
.green_color{
  color: #00a63e;
}

.tooltip_icon{
  font-size: 24px;
}

.pricing_font {
  font-size: 15px;
  letter-spacing: 0.2px;
}
.pricing_head_font {
  font-size: 16px;
  letter-spacing: 0.2px;
}

.review-highlight{
  color: #fff !important;
 background: linear-gradient(90deg, #c010e3 0%, #9b2cf6 50%, #7e3af2 100%);
}

/* Arrow wrapper */
.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    background: var(--bg-primary);
    color: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

/* Position */
.slick-prev.custom-arrow {
    left: 0px;
}

.slick-next.custom-arrow {
    right: 0px;
}

/* Disabled */
.slick-disabled {
    opacity: 0.4;
    pointer-events: none;
}
 .h-auto{
  height: auto;
 }

 .not-allowed{
  cursor: not-allowed;
 }

 .text-\[72px\]{
  font-size: 72px;
 }
 .form-select.not-allowed{
background-image: unset;
 }

.h-\[90vh\]{
  height: 90vh;
} 
.margin-unset{
  margin: unset;
}
.bg_main_gradient{
  background: linear-gradient(135deg, #ebd7ff 0%, #d9c2ff 100%);
}
/* .sidebar_app_card {
    background: linear-gradient(
        135deg,
        rgba(126, 58, 242, 0.22),
        rgba(126, 58, 242, 0.06)
    );
    border: 1px solid rgba(126, 58, 242, 0.25);
} */


@media (max-width:768px){
    .mobile_d_none{
        display: none;
    }
    .mobile_d_unset{
        display: inline-block;
    }
    .wizard_step_hide{
        display: none;
    }
    .sidebar_app_card span{
    font-size: 12px;
  }
}


.animate-spin{
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ==========================================================
   HubSpot-style Wizard Popups (imported 2026-04-22 for Squarespace script embed flow)
   ========================================================= */
.hs-popup-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.hs-popup-overlay.hidden { display: none !important; }
.hs-popup-box {
    background: #fff; border-radius: 16px;
    width: 100%; max-width: 1300px;
    max-height: 92vh; overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0,0,0,0.25);
    display: flex; flex-direction: column;
}
.hs-popup-box--sm { max-width: 600px; }
.hs-popup-header {
    display: flex; align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #f3f4f6;
    position: sticky; top: 0;
    background: #fff; z-index: 1;
    border-radius: 16px 16px 0 0;
}
.hs-popup-header-left { display: flex; align-items: center; gap: 12px; }
.hs-popup-logo {
    width: 38px; height: 38px;
    background: #fff4f0; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.hs-popup-title {
    font-size: 16px; font-weight: 700;
    color: #111827; margin: 0;
}
.hs-popup-subtitle {
    font-size: 12px; color: #6b7280;
    margin: 2px 0 0;
}
.hs-popup-close {
    background: none; border: none; cursor: pointer;
    color: #9ca3af; padding: 6px; border-radius: 6px;
    display: flex; align-items: center; transition: all 150ms;
}
.hs-popup-close:hover { background: #f3f4f6; color: #374151; }
.hs-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 12px 28px;
   
    border-bottom: 1px solid #dcfce7;
    font-size: 12px;
  
    font-weight: 600;
    align-items: center;
    line-height: 1.5;
    justify-content: space-around;
}
.hs-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.hs-popup-body {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 0;
    flex: 1;
}
@media (max-width: 700px) {
    .hs-popup-body { grid-template-columns: 1fr; }
}
.hs-instructions-col {
    padding: 12px 12px 12px 0;
    border-right: 1px solid #f3f4f6;
    overflow-y: auto;
    background-color: #fafafa;
}

.hs-section-label {
    font-size: 18px; font-weight: 600;
    color: #374151; text-transform: capitalize;
    letter-spacing: 0.03em; margin: 0 0 20px;
}
.hs-step-block { margin-bottom: 24px; }
.hs-step-header {
    display: flex; align-items: center;
    gap: 10px; margin-bottom: 6px;
}
.hs-step-num {
    width: 22px; height: 22px; min-width: 22px;
    background: #6c2bd9; color: white;
    border-radius: 50%; font-size: 11px;
    font-weight: 700; display: flex;
    align-items: center; justify-content: center;
}
.hs-step-title { font-size: 13px; font-weight: 600; color: #111827; }
.hs-step-detail {
    font-size: 12px; color: #6b7280;
    line-height: 1.6; margin: 0 0 8px 32px;
}
.hs-open-link {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; color: #6c2bd9;
    text-decoration: none; font-weight: 600;
    margin: 0 0 10px 32px;
}
.hs-open-link:hover { text-decoration: underline; }
.hs-scopes-grid {
    display: flex; flex-wrap: wrap;
    gap: 6px; margin: 6px 0 10px 32px;
}
.hs-scope-badge {
    background: #eff6ff; color: #1d4ed8;
    font-size: 11px; padding: 3px 8px;
    border-radius: 4px; font-family: monospace;
    font-weight: 600;
}
.hs-step-screenshot {
    margin: 0 0 0 32px;
    border-radius: 8px; overflow: hidden;
    border: 1px solid #e5e7eb;
}
.hs-step-screenshot img {
    width: 100%; display: block;
}
.hs-step-screenshot.hs-screenshot-missing img { display: none; }
.hs-screenshot-placeholder {
    display: none;
    background: #f9fafb;
    padding: 12px 16px;
    font-size: 12px; color: #9ca3af;
    text-align: center;
}
.hs-step-screenshot.hs-screenshot-missing .hs-screenshot-placeholder {
    display: block;
}
.hs-token-col {
    padding: 12px;
    display: flex; flex-direction: column; gap: 16px;
    background: #fafafa;
    border-radius: 0 0 16px 0;
}
.hs-token-card {
    background: #fff; border-radius: 12px;
    border: 1px solid #e5e7eb; padding: 18px;
}
.hs-token-card-header {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700;
    color: #111827; margin-bottom: 12px;
}
.hs-input-wrap {
    display: flex; align-items: center;
    border: 1.5px solid #d1d5db;
    border-radius: 8px; overflow: hidden;
    transition: border-color 150ms;
}
.hs-input-wrap:focus-within { border-color: #6c2bd9; }
.hs-token-input {
    flex: 1; padding: 10px 12px;
    border: none; outline: none;
    font-size: 12px; font-family: monospace;
    color: #374151; background: transparent;
}
.hs-toggle-vis {
    background: none; border: none;
    padding: 8px 10px; cursor: pointer;
    color: #9ca3af; border-left: 1px solid #e5e7eb;
}
.hs-toggle-vis:hover { color: #374151; }
.hs-input-hint {
    font-size: 11px; color: #9ca3af; margin: 6px 0 0;
}
.hs-verify-msg {
    padding: 10px 12px; border-radius: 8px;
    font-size: 12px; margin: 10px 0 0;
}
.hs-verify-msg.hidden { display: none; }
.hs-verify-msg.success {
    background: #f0fdf4; color: #166534;
    border: 1px solid #bbf7d0;
}
.hs-verify-msg.error {
    background: #fef2f2; color: #991b1b;
    border: 1px solid #fecaca;
}
.hs-verify-btn {
    width: 100%; padding: 11px;
    background: #6c2bd9; color: white;
    border: none; border-radius: 8px;
    font-size: 14px; font-weight: 600;
    cursor: pointer; margin-top: 12px;
    display: flex; align-items: center;
    justify-content: center; gap: 8px;
    transition: opacity 150ms;
}
.hs-verify-btn:hover { opacity: 0.9; }
.hs-btn-loader.hidden { display: none; }
@keyframes hs-spin { to { transform: rotate(360deg); } }
.hs-spinner { animation: hs-spin 0.8s linear infinite; }
.hs-skip-wrap {
    text-align: center; margin-top: 10px;
    font-size: 11px; color: #9ca3af;
}
.hs-skip-wrap a { color: #6b7280; font-weight: 600; }
.hs-video-card {
    background: #fff; border-radius: 12px;
    border: 1px solid #e5e7eb; padding: 16px;
}
.hs-video-card-header {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700;
    color: #374151; margin-bottom: 10px;
}
.hs-video-container {
    border-radius: 8px; overflow: hidden;
    background: #111827;
    aspect-ratio: 16/9;
    position: relative;
}
.hs-video-thumb {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    cursor: pointer; gap: 8px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
}
.hs-play-btn {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255,255,255,0.3);
    transition: background 150ms;
}
.hs-video-thumb:hover .hs-play-btn {
    background: rgba(255,255,255,0.25);
}
.hs-video-thumb-text {
    color: white; font-size: 12px;
    font-weight: 600; text-align: center;
    padding: 0 16px; margin: 0;
}
.hs-video-duration {
    color: rgba(255,255,255,0.6);
    font-size: 11px; margin: 0;
}
#hs-video-frame { width: 100%; height: 100%; }
#hs-video-frame.hidden { display: none; }
.hs-video-hint {
    font-size: 11px; color: #9ca3af;
    margin: 8px 0 0; text-align: center;
}
.hs-security-note {
    display: flex; align-items: flex-start;
    gap: 8px; padding: 12px;
    background: #f9fafb; border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.hs-security-note span {
    font-size: 11px; color: #6b7280; line-height: 1.5;
}

/* Preserved for script embed popup */
.hs-step-list { display: flex; flex-direction: column; gap: 16px; }
.hs-step { display: flex; gap: 12px; }
.hs-step-content strong { display: block; font-size: 13px; font-weight: 600; color: #111827; }
.hs-step-content p { font-size: 12px; color: #6b7280; margin: 4px 0 0; }
.hs-popup-footer { padding: 20px 24px; border-top: 1px solid #f3f4f6; }
.hs-skip-hint { font-size: 12px; color: #9ca3af; text-align: center; margin: 0; }
.hs-skip-hint a { color: #6b7280; text-decoration: underline; }
.hs-skip-hint a:hover { color: #374151; }
.hs-btn-loader { display: none; align-items: center; gap: 8px; }
.hs-btn-loader.is-active { display: inline-flex; }
.hs-btn-text.is-hidden { display: none; }

/* Script popup */
.hs-script-body { padding: 24px; }
.hs-script-instructions { margin-bottom: 20px; }
.hs-code-wrap { margin-bottom: 4px; }
.hs-code-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 8px;
}
.hs-code-label { font-size: 11px; font-weight: 600; color: #374151; }
.hs-copy-btn {
    background: #d1fae5; border: 1px solid #a7f3d0;
    border-radius: 6px; padding: 4px 12px;
    font-size: 12px; cursor: pointer;
    color: #065f46;
    transition: background 150ms;
}
.hs-copy-btn:hover { background: #d1fae5; color: #065f46; border-color: #a7f3d0; }
.hs-copy-btn.copied { background: #d1fae5; color: #065f46; border-color: #a7f3d0; }
.hs-code-block {
    background: #1e1e2e;
    border-radius: 8px;
    padding: 16px;
    color: #cdd6f4;
    font-family: monospace;
    font-size: 12px;
    word-break: break-all;
    white-space: pre-wrap;
    margin: 0;
    min-height: unset;
    max-height: none;
    height: auto;
    overflow-y: visible;
    line-height: 1.6;
}
.hs-copyright-note {
    font-size: 10px;
    color: #9ca3af;
    margin: 8px 0 0;
    font-style: italic;
    line-height: 1.4;
    padding: 0 2px;
}

/* ---------------------------------------------------------------- */
/* scriptEmbedPopup — scoped overrides (Squarespace brand + layout) */
/* ---------------------------------------------------------------- */
#scriptEmbedPopup .hs-popup-body {
    grid-template-columns: 1fr 520px;
}

@media (max-width: 900px) {
    #scriptEmbedPopup .hs-popup-body {
        grid-template-columns: 1fr;
    }
    #scriptEmbedPopup .hs-token-col {
        min-width: 0;
    }
}

#scriptEmbedPopup .hs-step-num {
    background: var(--bg-primary, #7e3af2);
}
#scriptEmbedPopup .hs-verify-btn {
    background: var(--bg-primary, #7e3af2);
}
#scriptEmbedPopup .hs-verify-btn[style*="22c55e"] {
    background: var(--bg-primary, #7e3af2) !important;
}
#scriptEmbedPopup .hs-open-link {
    color: var(--bg-primary, #7e3af2);
}
#scriptEmbedPopup .hs-scope-badge {
    background: rgb(var(--bg-primary-rgb, 126 58 242) / 0.1);
    color: var(--bg-primary, #7e3af2);
}
#scriptEmbedPopup .hs-input-wrap:focus-within {
    border-color: var(--bg-primary, #7e3af2);
}
#scriptEmbedPopup .hs-popup-logo {
    background: rgb(var(--bg-primary-rgb, 126 58 242) / 0.1);
}

.embedded_sticky {
  position: sticky;
  top: 5rem;
}