@font-face {
  font-family: 'Vazirmatn';
  src: url('../font/Vazirmatn-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'saudi_riyal';
  src: url('../font/saudi_riyal.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.icon-saudi_riyal::before {
  content: "\e900";
  font-family: 'saudi_riyal' !important;
  font-size: 0.92em;
  color: inherit;
  vertical-align: -1.5px;
  line-height: 1;
  margin-inline-start: -2px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.35;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
  font-feature-settings: "ss01" 0, "ss02" 0;
  font-variant-ligatures: normal;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

#wrapper-432 {
  -ms-overflow-style: none;
  scrollbar-width: none;
  overscroll-behavior-x: none;
}

#wrapper-432::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* Urdu language font override for delivery pages */
body[data-lang="ur"],
html[lang="ur"] body,
.urdu-lang {
  font-family: 'Vazirmatn', sans-serif !important;
}

body[data-lang="ur"] *:not(.icon-saudi_riyal):not(.hgi-stroke),
html[lang="ur"] body *:not(.icon-saudi_riyal):not(.hgi-stroke),
.urdu-lang *:not(.icon-saudi_riyal):not(.hgi-stroke) {
  font-family: 'Vazirmatn', sans-serif !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  * {
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
  }

  *::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
  }
}

body {
  padding-top: var(--safe-area-top);
  padding-bottom: var(--safe-area-bottom);
  padding-inline-end: env(safe-area-inset-left);
  padding-inline-start: env(safe-area-inset-right);
}

h1,
label {
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif !important;
  font-weight: 500;
}

body,
p,
input,
textarea,
h2,
h3,
a,
button {
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif !important;
  font-weight: 400;
}

input,
textarea,
button,
select {
  line-height: 1.2;
}

input:focus,
textarea:focus,
select:focus {
  outline: 1px solid var(--hkd-mian-color);
  outline-offset: 0;
}

.pagination-wrapper.text-center.mt-4 {
  padding: 15px 0 14px;
  background: #ffffff !important;
  border-radius: 0 0 50px 50px;
}

small,
.note,
.muted,
span,
.tooltip-content,
strong {
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif !important;
  font-weight: 300;
}

body {
  margin: 0;
  background-color: #f1f1f1;
  overflow-y: auto;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  color: var(--link-color);
  text-decoration: none;
  cursor: pointer;
}

button {
  cursor: pointer;
}

/*
|--------------------------------------------------------------------------
| Main Styles
|--------------------------------------------------------------------------
*/

.full-width {
  width: 100%;
}

.text-align-center {
  text-align: center;
}

.margin-top__0 {
  margin-top: 0 !important;
}

.margin-bottom__25 {
  margin-bottom: 25px;
}

.adapted-btn {
  padding: 20px 0 18px 0 !important;
}

/*
|--------------------------------------------------------------------------
| Main Blocks
|--------------------------------------------------------------------------
*/

/* === Popup Modal === */

.modal-overlay {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: 100%;
  height: 100%;
  background: rgb(36 4 42 / 45%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  border-radius: 15px;
  width: 100%;
  overflow: hidden;
  max-width: 465px;
  max-height: 95%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

.hidden {
  display: none !important;
}

.model-topbar {
  height: 50px;
  background: var(--hkd-mian-color);
  box-shadow: 0 3px 25px #f4f4f4;
  padding: 17.5px 20px 0 20px;
  margin: 0;
  z-index: 999;
}

.modal-title {
  margin-top: 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: #fff;
}

.modal-actions {
  position: sticky;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: #f0f0f0;
  padding: 10px 20px 10px 20px;
  z-index: 99;
}

.modal-actions button {
  font-weight: 400;
}

.extra-fields {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.extra-fields.show {
  opacity: 1;
  overflow: visible !important;
}

.toggle-extra {
  overflow: visible !important;
  font-size: 0.9rem;
  color: var(--hkd-mian-color);
  cursor: pointer;
  user-select: none;
  margin: 6px 0 20px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.toggle-icon.rotated {
  transform: rotate(180deg);
}

.section-title {
  margin: 16px 0 8px;
  font-size: 14px;
  color: #333;
  font-weight: 400;
}

/* == Floats == */

.hkd-float-left {
  display: flex;
  gap: 8px;
  position: absolute;
  top: 10.5px;
  inset-inline-end: 20px;
}

.hkd-float-left button {
  padding: 17.5px 15px 15.5px 15px !important;
}

.modal-actions button {
  padding: 17.5px 15px 15.5px 15px !important;
}

/* == Buttons == */

.hkd-main-btn {
  position: relative;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  height: 15px;
  padding: 17px 15px 15px 15px;
  background-color: var(--hkd-mian-color);
  color: var(--hkd-text-white);
  border: 1px solid var(--hkd-mian-color);
  border-radius: 10px;
  transition: all 0.3s;
}

.hkd-main-btn:hover {
  background-color: var(--hkd-hover-color);
}

.hkd-secondary-btn {
  position: relative;
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  height: 15px;
  padding-top: 25.5px !important;
  padding-bottom: 23.5px !important;
  padding-inline-start: 11px !important;
  padding-inline-end: 8px !important;
  background-color: #f0f0f0;
  color: #111111;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  transition: all 0.3s;
}

.hkd-secondary-btn:hover {
  background-color: #e5e5e5;
}

.hkd-mains-btn__icon {
  font-size: 18px;
  margin-top: -1.3px;
  margin-bottom: 0;
  margin-inline-start: -3px;
  margin-inline-end: 0;
}

/* == Ripple Animation == */

.ripple-btn {
  position: relative;
  overflow: hidden;
  border-radius: 15px !important;
}

.ripple-btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  opacity: 0.4;
  background-color: rgba(176, 176, 176, 0.721);
  pointer-events: none;
  transition: transform 1000ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 1000ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.ripple-btn .ripple.ripple-active {
  transform: scale(4);
  opacity: 0;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Disabled Button */

button[disabled],
button:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* == Input == */

.hkd-main-input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 12px 10px 12px;
  font-size: 13.5px;
  font-weight: 400;
  border: 1px solid #e8e8e8;
  border-radius: 25px;
  outline: none;
  transition: all 0.1s;
}

.hkd-main-input:hover {
  border: 1px solid #c7c7c7;
}

.hkd-main-input:focus {
  border: 1px solid var(--hkd-mian-color);
}

.hkd-main-input::-webkit-input-placeholder {
  color: #c1c1c1;
}

.hkd-main-input:-moz-placeholder {
  color: #c1c1c1;
}

.hkd-main-input::-moz-placeholder {
  color: #c1c1c1;
}

.hkd-main-input:-ms-input-placeholder {
  color: #c1c1c1;
}

.form-content {
  max-height: 465px;
  padding: 25px 25px 0 25px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.3s ease, padding 0.3s ease;
}

.form-content:hover {
  scrollbar-color: rgba(227, 227, 227, 0.57) transparent;
}

.form-content::-webkit-scrollbar {
  width: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-content:hover::-webkit-scrollbar {
  opacity: 1;
}

.form-content::-webkit-scrollbar-track {
  background: transparent;
}

.form-content::-webkit-scrollbar-thumb {
  background-color: rgba(227, 227, 227, 0.57);
  border-radius: 10px;
  border: none;
}

.form-content::-webkit-scrollbar-button {
  height: 0;
  width: 0;
  display: none;
}

.form-content::-webkit-scrollbar-corner {
  background: transparent;
}

.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 400;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #333;
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-group.half {
  flex: 1;
}

.input-with-prefix {
  display: flex;
  align-items: center;
}

.input-with-prefix .prefix,
.input-with-prefix i {
  width: 41px;
  background: #f9f9f9;
  padding-top: 11.16px;
  padding-bottom: 10.16px;
  padding-inline-start: 11.8px;
  padding-inline-end: 12.16px;
  border: 1px solid #e0e0e0;
  border-inline-end: none;
  border-start-start-radius: 50px;
  border-end-start-radius: 50px;
  font-size: 1.1rem;
  color: var(--hkd-mian-color);
}

.input-with-prefix input {
  border-start-end-radius: 50px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  border-end-end-radius: 50px;
  border: 1px solid #e0e0e0;
  flex: 1;
}

.store-prefix {
  flex-direction: row-reverse;
}

.store-prefix .prefix {
  font-size: 15px;
  color: #000;
  border-start-end-radius: 50px;
  border-end-end-radius: 50px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  border-inline-start: none;
}

.store-prefix input {
  border-start-end-radius: 0;
  border-start-start-radius: 50px;
  border-end-start-radius: 50px;
  border-end-end-radius: 0;
  border-inline-end: none;
}

.input-with-suffix {
  display: flex;
  align-items: center;
}

.input-with-suffix .suffix {
  background: #f9f9f9;
  padding: 11px 12px;
  border: 1px solid #e0e0e0;
  border-start-end-radius: 50px;
  border-end-end-radius: 50px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  font-size: 1.1rem;
  color: var(--hkd-mian-color);
  border-inline-start: none;
  white-space: nowrap;
}

.input-with-suffix {
  display: flex;
  align-items: center;
}

.input-with-suffix .suffix {
  background: #f9f9f9;
  padding: 13.8px 12px 8.3px 12px;
  border: 1px solid #e0e0e0;
  border-start-end-radius: 50px;
  border-end-end-radius: 50px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  font-size: 14px;
  color: var(--hkd-mian-color);
  border-inline-start: none;
  white-space: nowrap;
}

.input-with-suffix input {
  flex: 1;
  border-start-end-radius: 0;
  border-start-start-radius: 50px;
  border-end-start-radius: 50px;
  border-end-end-radius: 0;
  border: 1px solid #e0e0e0;
  padding: 13px 12px 10px 12px;
  font-size: 13.5px;
  transition: all 0.1s;
}

.input-with-suffix input:hover {
  border-color: #c7c7c7;
}

.input-with-suffix input:focus {
  border-color: var(--hkd-mian-color);
}

.textarea-group {
  position: relative;
}

.char-counter {
  position: absolute;
  bottom: 8px;
  inset-inline-end: 12px;
  font-size: 0.85rem;
  pointer-events: none;
  user-select: none;
}

.char-count {
  color: #888888;
}

.char-max {
  color: #000000;
}

/* == Field Alert == */

.field-alert {
  display: flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 400;
  color: #a5831b;
}

.field-alert i {
  margin-top: -3px;
  margin-bottom: 0;
  margin-inline-start: 0;
  margin-inline-end: 5px;
  font-size: 14px;
}

/* == HEX Color Input == */

.color-hex-group .color-hex-inputs {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
}

.small-color-input {
  appearance: none;
  -webkit-appearance: none;
  width: 42px;
  height: 41.8px;
  padding: 3px;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  cursor: pointer;
  background: none;
  overflow: hidden;
}

.small-color-input:hover {
  border-color: #c7c7c7;
}

.small-color-input:focus {
  outline: none;
  border-color: var(--hkd-mian-color);
}

.small-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
  border-radius: 15px;
}

.small-color-input::-webkit-color-swatch {
  border-radius: 15px;
}

.small-color-input::-moz-color-swatch {
  border-radius: 15px;
}

.hex-input {
  flex: 1;
  min-width: 0;
}

/* == Select Input == */

.custom-dropdown {
  position: relative;
  width: 100%;
  font-size: 13.5px;
  cursor: pointer;
  user-select: none;
}

.chart-period-selector .custom-dropdown {
  width: 140px;
  min-width: 140px;
}

.chart-period-selector .custom-dropdown .selected {
  padding: 8px 12px 6px 12px;
  font-size: 13px;
  font-weight: 500;
}

.chart-period-selector .custom-dropdown .dropdown-item {
  padding: 8px 12px 6px 12px;
  font-size: 13px;
  font-weight: 400;
}

.custom-dropdown:focus {
  outline: none;
}

.custom-dropdown .selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 12px 10px 12px;
  border: 1px solid #e8e8e8;
  border-radius: 25px;
  background: #fff;
  transition: border-color 0.1s;
}

.custom-dropdown:hover .selected {
  border-color: #c7c7c7;
}

.custom-dropdown:focus-within .selected {
  border-color: var(--hkd-mian-color);
}

.dropdown-arrow {
  font-size: 16px;
  transition: transform 0.2s;
}

.custom-dropdown.open .dropdown-arrow {
  margin-top: -2px;
  transform: rotate(180deg);
}

.dropdown-list {
  position: absolute;
  top: calc(100% + 2px);
  inset-inline-end: 0;
  inset-inline-start: 0;
  margin-top: 5px;
  padding: 0 5px 5px 5px;
  list-style: none;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  background: #ffffff;
  max-height: 150px;
  overflow-y: auto;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  z-index: 10;
  display: none;
}

.dropdown-list:not(.hidden) {
  display: block;
}

.hidden {
  display: none !important;
}

.dropdown-item {
  display: flex;
  align-items: center;
  margin-top: 10px;
  padding: 10.5px 15px 9.5px 15px;
  border-radius: 10px;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  transition: background 0.1s;
  position: relative;
}

.dropdown-item:first-child {
  margin-top: 5.5px;
}

.selected-text {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #000;
}

.selected-text i {
  margin-top: -2.5px;
  margin-bottom: -2px;
  margin-inline-start: 0px;
  margin-inline-end: 7px;
  font-size: 18px;
  color: var(--hkd-mian-color);
}

.selected-text .fi-icon__select {
  margin-top: -2px !important;
  margin-bottom: -5px !important;
  margin-inline-start: 0px !important;
  margin-inline-end: 7px !important;
  font-size: 17px !important;
}

.dropdown-item i {
  margin-top: -2.5px;
  margin-bottom: 0;
  margin-inline-start: -5px;
  margin-inline-end: 6px;
  font-size: 17px;
  color: var(--hkd-mian-color);
}

.fi-icon__select {
  margin-top: -1.5px !important;
  margin-bottom: -5px !important;
  margin-inline-start: -4px !important;
  margin-inline-end: 7px !important;
  font-size: 15px !important;
}

.dropdown-item:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  inset-inline-start: 0;
  bottom: -5px;
  height: 1px;
  background-color: #e0e0e073;
}

.dropdown-item:hover {
  background: #f5f5f5;
}

.dropdown-item.selected {
  justify-content: start;
  padding: 10.5px 15px 9.5px 15px;
  background-color: #6868681a;
  color: #333;
  border-top: 1px;
  border-bottom: 1px;
  border-inline-start: none;
  border-inline-end: none;
}

/* ============ Dropdown Container ============ */
.filter-activity-dropdown {
  position: relative;
  width: 100%;
  margin: -3px 0 -8px 0;
  font-size: 13.5px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease-in-out;
}

.has-tags .filter-activity-dropdown {
  margin-bottom: 0;
}

.filter-activity-dropdown:focus {
  outline: none;
}

.filter-activity-dropdown .filter-activity-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 12px 7px 12px;
  border: 1px solid #d3d3d3;
  border-radius: 15px;
  background: #fff;
  transition: border-color 0.1s;
}

.filter-activity-dropdown:hover .filter-activity-trigger {
  border-color: #c7c7c7;
}

.filter-activity-dropdown:focus-within .filter-activity-trigger {
  border-color: var(--hkd-mian-color);
}

.filter-activity-arrow {
  font-size: 16px;
  margin-top: -2px;
  transition: transform 0.2s;
}

.filter-activity-dropdown.open .filter-activity-arrow {
  margin-top: -3px;
  transform: rotate(180deg);
}

.filter-activity-list {
  position: absolute;
  top: calc(100% + 2px);
  inset-inline-end: 0;
  inset-inline-start: 0;
  margin-top: 5px;
  padding: 0 5px 5px 5px;
  list-style: none;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  background: #ffffff;
  max-height: 150px;
  overflow-y: auto;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.filter-activity-list.hidden {
  display: none;
}

.filter-activity-item {
  display: flex;
  align-items: center;
  margin-top: 10px;
  padding: 10.5px 15px 9.5px 15px;
  border-radius: 15px;
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  transition: background 0.1s;
  position: relative;
}

.filter-activity-item:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  inset-inline-start: 0;
  bottom: -5px;
  height: 1px;
  background-color: #e0e0e073;
}

.filter-activity-item:hover {
  background: #f5f5f5;
}

.filter-activity-item.selected {
  justify-content: start;
  padding: 9.5px 15px 8.5px 15px;
  background-color: #6868681a;
  color: #333;
  border-top: 1px;
  border-bottom: 1px;
  border-inline-start: none;
  border-inline-end: none;
}

.filter-activity-item i {
  margin-top: -1.5px;
  margin-bottom: -2.5px;
  margin-inline-start: -5px;
  margin-inline-end: 6px;
  font-size: 16px;
  color: var(--hkd-mian-color);
}

.filter-activity-text {
  display: flex;
  align-items: center;
  font-size: 12.9px;
  font-weight: 400;
  color: #3e3e3e;
}

.filter-activity-text i {
  margin-top: -1.5px;
  margin-bottom: -2px;
  margin-inline-start: 0px;
  margin-inline-end: 7px;
  font-size: 18px;
  color: var(--hkd-mian-color);
}

.filter-activity-text .fi-icon__select {
  margin-top: -2px !important;
  margin-bottom: -5px !important;
  margin-inline-start: 0px !important;
  margin-inline-end: 7px !important;
  font-size: 12.5px !important;
}

.filter-activity-item .fi-icon__select {
  margin-top: 0px !important;
  margin-bottom: -5px !important;
  margin-inline-start: -4px !important;
  margin-inline-end: 7px !important;
  font-size: 13.8px !important;
}

.filter-activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
}

.has-tags .filter-activity-tags {
  margin: 0 0 -2px 0;
}

.filter-activity-tag {
  display: flex;
  align-items: center;
  padding-top: 5px;
  padding-bottom: 4px;
  padding-inline-start: 7px;
  padding-inline-end: 3px;
  background: #f5f5f5;
  border-radius: 15px;
  font-size: 13px;
  color: #0c0c0c;
  transition: all 0.1s ease-in-out;
}

.filter-activity-tag:hover {
  cursor: pointer;
  background: #f5f5f597;
}

.filter-activity-tag i {
  margin-top: -5px !important;
  margin-bottom: -5px !important;
  margin-inline-start: 1px !important;
  margin-inline-end: 5px !important;
  font-size: 13.8px !important;
  color: var(--hkd-mian-color);
}

.filter-activity-tag .fi-icon__select {
  margin-top: -1.5px !important;
  margin-bottom: -5px !important;
  margin-inline-start: 1px !important;
  margin-inline-end: 5px !important;
  font-size: 12px !important;
  color: var(--hkd-mian-color);
}

/* == Switch Button == */

.toggle-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  margin-bottom: 20px;
}

.toggle-info {
  max-width: calc(100% - 60px);
}

.toggle-info .toggle-title {
  font-weight: 400;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #333;
}

.toggle-info .toggle-desc {
  font-size: 12.5px;
  font-weight: 300;
  color: #3f3f3f;
  margin-top: 4px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 25px;
  border-radius: 50px;
  transition: 0.1s ease-in-out;
}

.switch:hover {
  outline: 2px solid #37004229;
  outline-offset: 1px;
  border-radius: 50px;
}

.switch:active {
  outline: 2px solid #370042;
  outline-offset: 1px;
  border-radius: 50px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  inset-inline-end: 0;
  inset-inline-start: 0;
  bottom: 0;
  background: #ccc;
  border-radius: 20px;
  transition: 0.4s;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  inset-inline-end: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.4s;
}

.switch input:checked+.slider {
  background: var(--hkd-mian-color);
}

.switch input:checked+.slider:before {
  transform: translateX(14px);
  bottom: 2.5px;
}

/* == Date Select Input == */

.flatpickr-calendar.custom-range {
  position: absolute !important;
  top: calc(-250% + -7px) !important;
  inset-inline-end: 2.5px !important;
  z-index: 9999 !important;
  overflow: hidden;
  width: 100%;
  background: #fff !important;
  border: 1px solid #e4e4e4 !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
  margin-top: -45px !important;
}

.flatpickr-innerContainer {
  padding-top: 0;
  padding-bottom: 9px;
  padding-inline-start: 0;
  padding-inline-end: 9px;
}

.flatpickr-calendar.custom-range::before,
.flatpickr-calendar.custom-range::after {
  display: none !important;
}

.flatpickr-calendar.rangeMode.animate.custom-range.arrowBottom.arrowLeft.open {
  width: 320px !important;
  padding: 5px !important;
}

.custom-range .flatpickr-months {
  background: #ffffff !important;
}

.flatpickr-months {
  padding: 5px 15px 10px 15px !important;
}

span.flatpickr-prev-month {
  margin-top: 7px;
  margin-bottom: 0;
  margin-inline-start: 0;
  margin-inline-end: 10px;
  width: 32px;
  height: 32px !important;
  padding-top: 8px !important;
  padding-bottom: 19px !important;
  padding-inline-start: 13px !important;
  padding-inline-end: 8px !important;
  border: 1px solid #e5e5e5;
  border-radius: 15px;
}

span.flatpickr-next-month {
  margin-top: 7px;
  margin-bottom: 0;
  margin-inline-start: 10px;
  margin-inline-end: 0;
  width: 32px;
  height: 32px !important;
  padding-top: 8px !important;
  padding-bottom: 19px !important;
  padding-inline-start: 13px !important;
  padding-inline-end: 8px !important;
  border: 1px solid #e5e5e5;
  border-radius: 15px;
}

.numInputWrapper {
  font-size: 15px !important;
}

select.flatpickr-monthDropdown-months {
  font-size: 14px !important;
}

.flatpickr-weekdaycontainer {
  font-weight: 100 !important;
  font-size: 14px !important;
}

.flatpickr-day {
  font-size: 13px !important;
  padding: 1.6px 0 0 0 !important;
  border-radius: 6px !important;
  max-width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
}

.flatpickr-current-month {
  margin: -2px 0 0 0 !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
  background: var(--hkd-hover-color) !important;
  box-shadow: none !important;
  color: #fff !important;
  border-color: var(--hkd-hover-color) !important;
}

.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
  border-start-end-radius: 15px !important;
  border-start-start-radius: 0 !important;
  border-end-start-radius: 0 !important;
  border-end-end-radius: 15px !important;
  z-index: 10000;
}

.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
  border-start-end-radius: 0 !important;
  border-start-start-radius: 15px !important;
  border-end-start-radius: 15px !important;
  border-end-end-radius: 0 !important;
}

.custom-range .flatpickr-day.selected,
.custom-range .flatpickr-day.startRange,
.custom-range .flatpickr-day.endRange {
  background: var(--hkd-hover-color);
  border-color: var(--hkd-hover-color);
  color: #fff;
  z-index: 1;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fpFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.custom-range.open {
  animation: fpFadeIn 0.25s ease forwards !important;
}

.custom-range.closing {
  animation: fpFadeOut 0.2s ease forwards !important;
}

.range-input {
  width: 100%;
  margin: -3px 0 0 0;
  padding: 12px 10px 7px 10px !important;
  border: 1px solid #ccc !important;
  border-radius: 15px !important;
  outline: none;
  cursor: pointer !important;
  background-color: #fff !important;
}

/* == File Input Wrapper & Label == */

.file-input-wrapper {
  position: relative;
}

.file-input-wrapper input[type="file"] {
  opacity: 0;
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.file-input-wrapper .file-label {
  display: inline-grid;
  width: 100%;
  padding: 45px 10px;
  border: 1.5px dashed #ccc;
  border-radius: 15px;
  text-align: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: #666;
  position: relative;
  z-index: 1;
}

.file-input-wrapper .file-label.empty-content {
  color: transparent;
}

.file-input-wrapper .file-label.empty-content i {
  display: none;
}

.file-input-wrapper input[type="file"]:hover+.file-label {
  border-color: var(--hkd-mian-color);
}

.file-label i {
  margin: 0 0 15px 0;
  font-size: 39px;
  color: var(--hkd-mian-color);
}

.logo-preview-wrapper {
  position: absolute;
  top: 50%;
  inset-inline-end: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  pointer-events: none;
}

.logo-preview-img {
  margin-top: 16px;
  width: 128px;
  height: 128px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  border: 1px solid #ccc;
  pointer-events: auto;
}

.remove-logo-btn {
  position: absolute;
  top: 15px;
  inset-inline-start: 126px;
  z-index: 4;
  background-color: white;
  border: none;
  border-radius: 50%;
  padding-top: 6px;
  padding-bottom: 5px;
  padding-inline-start: 6px;
  padding-inline-end: 5px;
  cursor: pointer;
  font-size: 14px;
  color: var(--hkd-mian-color);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
}

.remove-logo-btn i {
  pointer-events: none;
}

/* == Tooltip: Click-based (tooltip-container) == */

.tooltip-container {
  cursor: pointer;
  position: relative;
}

.tooltip-content {
  background: #161616d5;
  border: 1px solid #161616d5;
  border-radius: 15px;
  box-shadow: 0 0.5px 4px rgba(0, 0, 0, 0.08);
  display: none;
  font-size: 12px;
  padding: 12px 10px 9px;
  position: absolute;
  white-space: nowrap;
  z-index: 10;
  top: -50px;
  inset-inline-end: 0;
}

.tooltip-container.active .tooltip-content {
  display: block;
}

.tooltip-arrow {
  position: absolute;
  bottom: -6px;
  inset-inline-end: 10px;
  border-inline-end: 6px solid transparent;
  border-inline-start: 6px solid transparent;
  border-top: 6px solid #161616d5;
  height: 0;
  width: 0;
}

/* == Tooltip: Hover-based (hdk-main-tooltip) == */

.hdk-main-tooltip {
  position: relative;
  display: inline-block;
  transition: 0.9s ease-in-out;
}

.hdk-main-tooltip .tooltip-content {
  display: none;
  position: absolute;
  top: -75px;
  inset-inline-end: 50%;
  transform: translateX(-50%);
  width: max-content;
  min-width: 120px;
  max-width: 225px;
  background: #161616d5;
  border: 1px solid #161616d5;
  border-radius: 25px;
  box-shadow: 0 20px 25px rgb(15 17 17 / 27%);
  padding: 11.5px 9.5px 10px;
  font-size: 13.2px;
  color: #ffffff;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  z-index: 9999;
}

.hdk-main-tooltip .tooltip-content .tooltip-arrow {
  position: absolute;
  bottom: -8px;
  inset-inline-end: 50%;
  transform: translateX(-50%);
  border-inline-end: 8px solid transparent;
  border-inline-start: 8px solid transparent;
  border-top: 8px solid #161616d5;
  height: 0;
  width: 0;
  z-index: 101;
}

.hdk-main-tooltip:hover .tooltip-content {
  display: block;
  animation: blurIn 0.2s ease-out;
}

@keyframes blurIn {
  0% {
    filter: blur(2px);
    opacity: 0;
  }

  100% {
    filter: blur(0);
    opacity: 1;
  }
}

/* == Table == */

.table-wrapper {
  background-color: #fcfcfc;
  border-radius: 15px;
  padding: 0;
  margin: 20px 0;
  box-shadow: 0 0.5px 1px #cacacacc;
}

.table-controls {
  background-color: #ffffff;
  margin: 0;
  padding: 10px 16px 9px 16px;
  border-radius: 15px 15px 0 0;
  display: flex;
  align-items: center;
  position: relative;
}

.filter-tabs {
  display: flex;
  gap: 0;
}

.filter-tabs .tab-btn,
.filter-dropdown .tab-btn {
  background: none;
  border: none;
  border-radius: 15px;
  padding: 6.5px 11px 5px 11px;
  font-size: 0.81rem;
  cursor: pointer;
  color: #999;
  transition: all 0.2s;
  font-weight: 400;
}

.filter-tabs .tab-btn.active,
.filter-dropdown .tab-btn.active {
  background: #f5f5f5c2;
  color: #000;
}

.filter-tabs .tab-btn:not(.active):hover,
.filter-dropdown .tab-btn:not(.active):hover {
  color: #666;
}

/* == Filter Dropdown For Table == */
.filter-dropdown {
  display: flex;
  align-items: center;
  position: relative;
  margin-inline-start: auto;
}

.filter-dropdown .per-page-dropdown {
  width: 92px;
  margin-top: 0;
  margin-bottom: 0;
  margin-inline-start: 0;
  margin-inline-end: 8px;
  font-size: 0.81rem;
}

.filter-dropdown .per-page-dropdown .filter-activity-trigger {
  padding: 8px 12px 6px 12px;
  border-radius: 15px;
}

.filter-dropdown .per-page-dropdown .filter-activity-list {
  max-height: 240px;
}

.filter-dropdown .per-page-dropdown .filter-activity-item {
  justify-content: center;
}

.filter-dropdown .tab-btn {
  display: flex;
  align-items: center;
  gap: 5px;
}

.filter-dropdown .tab-btn .hgi {
  font-size: 0.95rem;
  margin-top: -1px;
}

.filter-menu {
  display: none;
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 5px);
  width: 364px;
  max-height: 500px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 15px;
  box-shadow: 0 4px 6px #91919152;
  margin-bottom: 35px;
  z-index: 1000;
  padding: 20px 16px 18px 16px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  transition: scrollbar-color 0.1s ease;
}

.filter-menu.show-scrollbar:hover {
  scrollbar-color: rgba(227, 227, 227, 0.57) transparent;
}

.filter-menu::-webkit-scrollbar {
  width: 6px;
}

.filter-menu::-webkit-scrollbar-track {
  background: transparent;
}

.filter-menu::-webkit-scrollbar-thumb {
  background-color: rgba(227, 227, 227, 0.57);
  border-radius: 10px;
}

.filter-dropdown.open .filter-menu {
  display: block;
}

.filter-dropdown.open .tab-btn {
  background: #f5f5f5c2;
  color: #000;
}

body.filter-menu-open-padding {
  padding-bottom: 100px !important;
}

.filter-section {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
}

.filter-section>h4 {
  flex: 0 0 100%;
  margin: -2px 0 5px 0;
  font-size: 0.80rem;
  color: #272727;
  font-weight: 400;
}

.filter-section .filter-item {
  flex: 1 1 auto;
  text-align: center;
  margin: -5px 0 0 0;
  padding: 9px 0 6px 0;
  font-size: 0.81rem;
  font-weight: 400;
  color: #333333d1;
  text-decoration: none;
  border: 1px solid #c3c3c3bd;
  border-radius: 13px !important;
  transition: background-color 0.2s, color 0.2s;
}

.filter-section .filter-item:not(.active):hover {
  background-color: #f5f5f559;
  color: #000;
}

.filter-section .filter-item.active {
  border-color: var(--hkd-mian-color);
  background-color: #0c3e3b08;
  color: var(--hkd-mian-color);
  font-weight: 500;
}

.filter-section:not(:last-child) {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 16px;
}

.date-filter-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.date-inputs {
  display: flex;
  gap: 5px;
  flex: 1 1 auto;
  margin: -5px 0 3px 0;
}

input[type="date"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 6px 12px;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  font-size: 0.81rem;
  color: #333;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  display: none;
}

input[type="date"]::-moz-calendar-picker-indicator {
  display: none;
}

.apply-date-filter {
  flex: 0 0 auto;
  width: 100%;
  padding: 10px 12px 8px 12px;
  background: var(--hkd-mian-color);
  color: #ffffff;
  border: none;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 400;
  cursor: pointer;
  transition: background-color 0.2s;
}

.apply-date-filter:hover {
  background: var(--hkd-hover-color);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 14px 0;
  margin-bottom: 18px;
  border-bottom: 1px solid #eee;
}

.filter-title {
  font-weight: 500;
  font-size: 1rem;
  color: #333;
}

.clear-filters {
  display: block;
  color: #999;
  text-decoration: none;
  font-size: 0.78rem;
  transition: all 0.2s;
}

.clear-filters:hover {
  color: #666;
  text-decoration: underline;
}

.apply-filters {
  width: 100%;
  font-weight: 400;
}

.filter-menu input[type="radio"] {
  display: none;
}

.filter-menu label.filter-item {
  cursor: pointer;
}

.filter-menu input[type="radio"]:checked+label.filter-item {
  border-color: var(--hkd-mian-color);
  background-color: #27686405;
  color: var(--hkd-mian-color);
  font-weight: 400;
}

.hkd-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background-color: #fcfcfc;
  color: #333;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

.hkd-table thead tr {
  background-color: #f7f7f7;
  color: #333;
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
}

.hkd-table th,
.hkd-table td {
  vertical-align: middle;
  font-weight: 400;
  font-size: 0.83rem;
  text-align: start;
  padding: 21px 20px 15px 20px;
  border-bottom: 1px solid #e3e3e3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hkd-table th {
  padding: 12.5px 20px 9px 20px;
}

.hkd-table td,
.hkd-table th,
.family-cell {
  overflow: visible;
}

.hkd-table th:nth-child(1),
.hkd-table td:nth-child(1) {
  width: 23%;
}

.hkd-table th:nth-child(2),
.hkd-table td:nth-child(2) {
  width: 9%;
}

.hkd-table th:nth-child(3),
.hkd-table td:nth-child(3) {
  width: 10.5%;
}

.hkd-table th:nth-child(4),
.hkd-table td:nth-child(4) {
  width: 13%;
}

.hkd-table th:nth-child(5),
.hkd-table td:nth-child(5) {
  width: 14.5%;
}

.hkd-table th:nth-child(6),
.hkd-table td:nth-child(6) {
  width: 9.5%;
}

.hkd-table tbody tr:hover:not(.no-data-row) {
  background-color: #f7f7f7;
}

.hkd-table tbody tr:last-child td:first-child {
  border-end-end-radius: 6px;
}

.hkd-table tbody tr:last-child td:last-child {
  border-end-start-radius: 6px;
}

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

.title .family-type-icon.hgi {
  font-size: 17px;
  color: var(--hkd-mian-color);
  margin-top: -2px;
}

.title .family-type-icon.fi {
  font-size: 14.5px !important;
  color: var(--hkd-mian-color);
  margin: 0px 0px -1px 0px !important;
}

.title .family-type-icon.hdk-main-tooltip {
  position: relative;
  cursor: help;
}

.title .tooltip-content {
  top: -45px;
  min-width: fit-content;
  padding-top: 7px;
  padding-bottom: 5px;
  padding-inline-start: 10px;
  padding-inline-end: 8px;
  font-style: normal;
  font-weight: 400;
}

.family-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.family-avatar {
  width: 65px;
  height: 65px;
  margin-top: -6px;
  flex-shrink: 0;
  border: 1px solid #e3e3e3;
  border-radius: 15px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 0px 2px rgba(96, 96, 96, 0.44);
}

.family-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hkd-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: -4px;
  background: #f7f7f7;
  border-radius: 50px;
  padding: 5px 11px 4px 11px;
  font-size: 0.75rem;
  font-weight: 400;
  color: #333;
}

.hkd-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: transparent;
}

.hkd-badge--active::before {
  background-color: #1e7e34;
}

.hkd-badge--pending::before {
  background-color: #d39e00;
}

.hkd-badge--disabled::before {
  background-color: #bd2130;
}

.hkd-badge--delivered::before {
  background-color: #1e7e34;
}

.hkd-badge--licensed::before {
  background-color: #117a8b;
}

.hkd-badge--license-wait::before {
  background-color: #5a6268;
}

.hkd-badge--rejected::before {
  background-color: #bd2130;
}

.hkd-badge--ship-assoc::before {
  background-color: #563d7c;
}

.hkd-badge--ship-family::before {
  background-color: #e8590c;
}

.hkd-badge--oto::before {
  background-color: #242424;
}

.hkd-badge--general::before {
  background-color: #6c757d;
}

.hkd-badge--sent::before {
  background-color: #117a8b;
}

.title {
  color: #000000;
  font-size: 15px;
  margin: -5px 0 9px 0;
}

.hkd-table .link-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #666;
  text-decoration: underline;
}

.hkd-table .copy-btn {
  margin-bottom: -3px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.copy-btn .hgi {
  font-size: 0.9rem;
}

.hkd-table tbody tr.hidden {
  display: none;
}

.no-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 90px 0;
  color: #999;
  font-size: 0.9rem;
}

.no-data i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.no-data p {
  margin: 0;
  line-height: 1.4;
}

.pagination-wrapper.text-center.mt-4 {
  text-align: center;
}

.pagination-wrapper .pagination {
  display: inline-flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-wrapper .pagination .page-item {
  margin: 0 0.15rem;
}

.pagination-wrapper .pagination .page-link {
  display: block;
  width: 30px;
  height: 30px;
  padding-top: 7.5px;
  padding-bottom: 5px;
  padding-inline-start: 10.5px;
  padding-inline-end: 11px;
  border: 1px solid #d0d0d073;
  border-radius: 5rem;
  font-size: 14px;
  color: #505050a8;
  background-color: #fcfcfc6e;
  font-weight: 500;
  transition: background-color .2s, color .2s;
}

.pagination-wrapper .pagination .page-link:hover {
  background-color: #fcfcfc8d;
  color: #000000;
  text-decoration: none;
}

.pagination-wrapper .pagination .page-item.active .page-link {
  background-color: #fcfcfc;
  color: #000000;
  cursor: default;
}

.pagination-wrapper .pagination .page-item.disabled .page-link {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-wrapper .pagination .page-item.prev .page-link,
.pagination-wrapper .pagination .page-item.next .page-link {
  width: 20px;
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-wrapper .pagination .page-item.prev .page-link::before,
.pagination-wrapper .pagination .page-item.next .page-link::after {
  content: none !important;
}

.pagination-wrapper .pagination .arrow-link {
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-wrapper .pagination .arrow-link i {
  margin-bottom: -2px;
  font-size: 20px;
  line-height: 1;
}

.pagination-wrapper .pagination .page-ellipsis {
  display: block;
  width: auto;
  height: auto;
  margin: 4px 0 -3px 0;
  padding: 0.25rem 0.3rem;
  font-size: 14px;
  color: #505050a8;
  background-color: transparent;
  font-weight: 500;
}

/* Stats Card */

.stats-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 20px 0 20px 0;
}

.stats-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 12px 15px 10px 15px;
  box-shadow: 0 0.5px 1px #cacacacc;
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1200px) {
  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-cards {
    grid-template-columns: 1fr;
  }
}

.stats-card-icon .hgi {
  margin: 7.7px 0 -4px 0;
  font-size: 2.2rem;
  color: var(--hkd-mian-color);
}

.stats-card-info {
  display: flex;
  flex-direction: column;
}

.stats-card-number {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d0834;
}

.stats-card-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: #666666;
  margin-top: 1px;
}

/*
|
| Mobile App Public Style
|
*/

/* == TopBar == */

.topbar,
.topbar-bg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: calc(56px + var(--safe-area-top));
  padding-top: calc(10px + var(--safe-area-top)) !important;
  padding: 0 12px;
  background-color: #fff;
  position: fixed;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.topbar-bg {
  position: sticky !important;
  margin-bottom: -1px;
  background-color: #0e7a7300;
  border-bottom: 1px solid var(--hkd-mian-color);
}

.topbar__left-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar__icon-btn {
  width: 39.5px;
  height: 40px;
  padding-top: 2px !important;
  margin-top: -1px;
  border-radius: 50px !important;
  border: 1px solid #ddd;
  background: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease-in-out;
}

.topbar-bg .topbar__icon-btn {
  border: 1px solid #dddddd00;
}

.topbar__icon-btn:hover {
  background-color: #fbfbfb;
}

.topbar__icon-btn:hover {
  background-color: #fbfbfb07;
}

.topbar__icon-btn i {
  font-size: 22px;
  color: #121212;
}

.topbar-bg .topbar__icon-btn i {
  color: #ffffff;
}

.topbar__title {
  flex: 1;
  font-size: 16.5px;
  font-weight: 400;
  color: #121212;
  margin-top: 4px;
  margin-inline-end: 39.5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.topbar__left-actions {
  display: flex;
  align-items: center;
}

body[data-hkd-pf-dashboard="1"] .hkd-pf-sidebar {
  display: none;
}

@media (min-width: 768px) {
  body[data-hkd-pf-dashboard="1"] .hkd-pf-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: 260px;
    height: 100vh;
    overflow-y: auto;
    background: #f2f2f2;
    border-inline-end: 1px solid #eee;
    padding: 12px 10px 16px;
    box-sizing: border-box;
    z-index: 1001;
  }

  body[data-hkd-pf-dashboard="1"] .hkd-pf-main {
    width: calc(100% - 260px);
    margin-inline-start: 260px;
  }

  body[data-hkd-pf-dashboard="1"] .topbar,
  body[data-hkd-pf-dashboard="1"] .topbar-bg {
    inset-inline-end: 0;
    inset-inline-start: 260px;
    width: auto;
  }

  body[data-hkd-pf-dashboard="1"] .hkd-pf-sidebar .settings-container {
    background: #f2f2f2 !important;
  }

  body[data-hkd-pf-dashboard="1"] .settings-body {
    background: #fff !important;
  }

  body[data-hkd-pf-dashboard="1"] .hkd-pf-main .settings-container {
    padding-top: 10px !important;
    padding-inline-end: 16px !important;
    padding-inline-start: 16px !important;
    max-width: 920px;
    margin-inline-end: auto;
    margin-inline-start: auto;
    margin-bottom: -6px !important;
    border-bottom: 8px solid #f2f2f2;
    box-sizing: border-box;
  }

  body[data-hkd-pf-dashboard="1"] .hkd-pf-main .settings-container:last-child {
    border-bottom: 0 !important;
  }

  body[data-hkd-pf-dashboard="1"] .bottom-sheet,
  div#close-store-container,
  div#create-family-member-bottom-sheet {
    max-width: 535px;
    margin-inline-end: auto;
    margin-inline-start: auto;
    inset-inline-start: 260px;
    inset-inline-end: 0;
    box-sizing: border-box;
  }
}

/* Bottombar */

.bottombar {
  position: fixed;
  bottom: 0;
  inset-inline-end: 0;
  inset-inline-start: 0;
  background: #fff;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 7px 0 4px;
  padding-bottom: calc(4px + var(--safe-area-bottom)) !important;
  border-radius: 20px 20px 0 0;
  z-index: 999;
}

.bottombar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: none;
  background: none;
  padding: 4px 0;
  font-size: 13px;
  color: #999;
  cursor: pointer;
}

.bottombar__icon-box {
  width: 44px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -4px;
  transition: background 0.2s;
}

.bottombar__item.active {
  color: #000;
}

.bottombar__item.active span {
  font-weight: 500;
}

.bottombar__item.active .bottombar__icon-box i {
  color: var(--association-main-color);
}

.bottombar__icon-box i {
  color: #999;
}

.bottombar__item i {
  font-size: 19.5px;
  margin-top: -5px;
}

.bottombar__item i[class*="fi-sr-"] {
  display: none;
}

.bottombar__item.active i[class*="fi-rr-"] {
  display: none;
}

.bottombar__item.active i[class*="fi-sr-"] {
  display: inline-block;
}

.bottombar__cart {
  position: fixed;
  bottom: calc(105px + var(--safe-area-bottom));
  inset-inline-end: 10px;
  min-height: 48px;
  padding: 8px 12px;
  border-radius: 15px;
  color: #fff;
  font-size: 20px;
  background: var(--association-main-color);
  box-shadow: 0 3px 20px rgb(0 0 0 / 13%);
  transition: background 0.3s ease-in-out;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bottombar__cart:hover {
  background: var(--association-main-color);
  opacity: 0.9;
}

.bottombar__cart-pill {
  min-width: 30.5px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 10px 0;
  margin-top: -5px;
  border-radius: 12px;
  color: #451e52;
  font-size: 17px;
  background: #ffffff;
}

.as-map-float-btn {
  position: fixed;
  inset-inline-end: 50%;
  bottom: calc(85px + var(--safe-area-bottom));
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px 10px 16px;
  border-radius: 999px;
  border: 1px solid #ffffff6e;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #000;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: bottom 0.18s ease, transform 0.18s ease;
}

.as-map-float-btn i {
  color: #451e52;
  font-size: 20px;
}

.as-map-float-btn__label {
  color: #000;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
}

.as-map-float-btn--with-cart {
  inset-inline-end: 10px;
  bottom: calc(165px + var(--safe-area-bottom));
  transform: none;
}

.as-map-float-btn--with-cart .as-map-float-btn__label {
  font-size: 14px;
}

/* == Bottom Sheet == */

.bottom-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
  z-index: 1000;
}

.bottom-sheet-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  max-height: 85%;
  background: #fff;
  border-start-end-radius: 25px;
  border-start-start-radius: 25px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.bottom-sheet.active {
  transform: translateY(0);
}

.verification-journey-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
  z-index: 1000;
}

.verification-journey-overlay.active {
  opacity: 1;
  visibility: visible;
}

.verification-journey-container {
  position: fixed;
  bottom: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  background: #fff;
  border-start-end-radius: 25px;
  border-start-start-radius: 25px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform .3s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.verification-journey-container.active {
  transform: translateY(0);
}

.verification-journey-content {
  overflow-y: auto;
  max-height: 70vh;
}

.bottom-sheet__header {
  padding: 16px;
  position: relative;
  cursor: grab;
  display: flex;
  display: flex;
  align-items: center;
}

.bottom-sheet__drag-indicator {
  position: absolute;
  top: 8px;
  inset-inline-end: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  background: #ccc;
  border-radius: 2px;
}

.bottom-sheet__handle {
  width: 36px;
  height: 4px;
  background: #ccc;
  border-radius: 2px;
  margin: 8px auto;
  cursor: grab;
}

.bottom-sheet__title {
  padding: 0 0 10px 0;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-size: 16px;
  color: #363636;
}

.bottom-sheet__content {
  overflow-y: auto;
  max-height: 70vh;
  padding: 25px 10px 30px;
}

.bottom-sheet__actions {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  gap: 10px;
}

.bottom-sheet__actions button:first-child {
  flex: 1;
}

.bottom-sheet__actions button:last-child {
  flex: 1.5;
}

/* == Basic section == */

.basic-section {
  width: 100%;
  padding: 15px;
  background: white;
  margin-top: 10px;
}

/* == Register Page == */

.basic-section__register-page {
  position: relative;
  margin-top: -56px !important;
  padding: 75px 15px 11px 15px;
  background-color: var(--hkd-mian-color);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

.basic-section__register-page .bg-image-layer {
  position: absolute;
  inset: 0;
  background-image: url('/assets/media/img/main_bg_pattren.png');
  background-repeat: repeat;
  background-size: cover;
  background-position: bottom;
  mix-blend-mode: multiply;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.basic-section__register-page>*:not(.bg-image-layer) {
  position: relative;
  z-index: 1;
}

.register-page__icon {
  margin-top: -10px;
  font-size: 55px;
  color: white;
}

.register-page__title {
  margin-top: 5px;
  font-weight: 500;
  font-size: 20px;
  color: white;
}

.register-page__super-title {
  position: absolute;
  inset-inline-end: 50%;
  transform: translateX(-50%);
  margin: -19px 0 0 0;
  padding: 4px 20px 2px 20px;
  background: conic-gradient(from 47deg at 8px 30px, #facd15, #cea604, #f0c415);
  border-radius: 3px;
  font-weight: 500;
  font-size: 19px;
  color: #ffffff;
  text-shadow: 0 1px 1.2px #0000001a;
  z-index: 100;
}

.initiative-intro {
  background-color: #ffffff;
  padding: 35px 20px 15px;
}

.intro-text {
  font-size: 15.5px;
  line-height: 1.8;
  color: #333;
  max-width: 850px;
  margin: 0 auto;
}


.features-classic {
  background-color: #ffffff;
  padding: 0px 20px 20px;
}

.features-classic .container {
  max-width: 850px;
  margin: 0 auto;
}

.features-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
  padding: 10px 20px 20px 20px;
  background: #fafafa;
  border-radius: 15px;
}

.feature-line {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-line i {
  padding: 7px 6px 6px 6px;
  border-radius: 15px;
  font-size: 22px;
  background: #f5f5f5bf;
  color: #083431;
  margin-top: 15px;
  flex-shrink: 0;
}

.feature-line h3 {
  font-size: 14px;
  margin-bottom: -3px;
  color: #222;
  font-weight: 500;
}

.feature-line p {
  font-size: 13.5px;
  color: #555555c3;
  margin: 0;
}


/*
|--------------------------------------------------------------------------
| Association Dashboard Style (admin.staging-8f3k2.test)
|--------------------------------------------------------------------------
*/

/* == Root Variables == */
:root {
  --hkd-mian-color: #451F53;
  --hkd-hover-color: #3f1b4c;
  --hkd-bg-header: #451F53;
  --hkd-bg-header-border: #411c4f;
  --hkd-bg-header-hover: #3b1a47;
  --hkd-bg-item-active: #4c225b;
  --hkd-text-white: #ffffff;
  --hkd-text-white-alt: #ffffffeb;
  --hkd-text-white-light: #ffffffb3;
  --hkd-text-black: #000000;
  --hkd-bg-dropdown: #ffffff;
  --hkd-shadow-dropdown: 0 4px 4px rgb(0 0 0 / 8%);
  --hkd-badge-soon-bg: #efb86730;
  --hkd-badge-soon-text: #997425;
  --hkd-dropdown-profile-width: 245px;
  --hkd-dropdown-notifications-width: 200px;

  --association-primary-color: {
      {
      $association->primary_color
    }
  }

  ;
  --safe-area-top: 0px;
  --safe-area-bottom: 0px;
}

/* == Header == */

.hkd-header {
  background-color: var(--hkd-bg-header);
  color: var(--hkd-text-white);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--hkd-bg-header-border);
}

.hkd-header__left .hkd-logo {
  height: 54px;
  margin: 3.5px 0 -3px 0;
}

.hkd-header__center {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
  height: 40px;
}

.hkd-header__nav {
  display: flex;
  position: absolute;
  inset-inline-start: 20px;
  list-style: none;
  margin-top: 2.5px;
  margin-bottom: 0;
  margin-inline-start: 0;
  margin-inline-end: -30px;
  padding: 0;
  gap: 5px;
}

.hkd-header__nav-item {
  position: relative;
}

.hkd-header__nav-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--hkd-text-white-alt);
  padding-top: 9.5px;
  padding-bottom: 7px;
  padding-inline-start: 14px;
  padding-inline-end: 7px;
  border-radius: 15px;
  transition: all 0.2s ease-in-out;
  position: relative;
}

.hkd-header__nav-item a i {
  font-size: 18px;
  margin-top: 1px;
  margin-inline-end: 8px;
}

.hkd-header__nav-item a span {
  font-size: 15px;
  margin-inline-end: 8px;
}

.hkd-header__nav-item a:hover {
  background: var(--hkd-hover-color);
  color: var(--hkd-text-white-light);
}

.hkd-header__nav-item--active a {
  background: var(--hkd-bg-item-active);
  color: var(--hkd-text-white);
  font-weight: 500;
}

.hkd-header__nav-item--active::after {
  content: '';
  position: absolute;
  bottom: -16px;
  inset-inline-end: 50%;
  transform: translateX(-50%);
  border-inline-end: 9px solid transparent;
  border-inline-start: 9px solid transparent;
  border-radius: 8px;
  z-index: 100;
}

.hkd-search-box {
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  padding: 9px 14px 10px 14px;
  height: 39.5px;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 15px;
  width: 400px;
  position: absolute;
  inset-inline-end: 15px;
  top: 0.25px;
  z-index: 1600;
  transition: background-color 0.3s ease-in-out, border 0.3s
}

.hkd-search-box:hover {
  width: 415px;
  background-color: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: text;
}

.hkd-search-box:focus-within {
  width: 415px;
  background-color: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hkd-search-box i {
  margin-inline-end: 10px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.hkd-search-box input {
  margin-bottom: -4.2px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--hkd-text-white);
  flex: 1;
  font-size: 14px;
  font-weight: 300;
}

.hkd-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

/* == Search Overlay == */
.hkd-search-overlay {
  position: fixed;
  top: 0;
  inset-inline-end: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  display: none;
  transition: opacity 0.3s ease;
}

.hkd-search-overlay--visible {
  display: block;
}

/* == Search Dropdown == */
.hkd-search-dropdown {
  position: absolute;
  top: 45px;
  inset-inline-end: 0;
  width: 100%;
  background: #fff;
  color: #5e5e5e;
  border-radius: 15px;
  box-shadow: 0 5px 35px #0000002e;
  display: none;
  z-index: 1700;
  max-height: 400px;
  overflow-y: auto;
}

.hkd-search-dropdown--visible {
  display: block;
}

.hkd-search-results {
  padding: 9px 0 0 0;
}

.hkd-search-section {
  margin-bottom: 8px;
}

.hkd-search-section:last-child {
  margin-bottom: 0;
}

.hkd-search-section-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--hkd-mian-color);
  padding: 2px 10px 8px 10px;
  border-bottom: 1px solid #f0f0f0;
}

.hkd-search-item {
  display: flex;
  align-items: center;
  padding: 8px 16px 8px;
  text-decoration: none;
  color: #5e5e5e;
  transition: background-color 0.2s ease;
  gap: 10px;
}

.hkd-search-item:hover {
  background-color: #f7f7f7;
}

.hkd-search-item .hkd-badge {
  margin-top: 2px;
}

.hkd-search-item-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  border-radius: 10px;
  flex-shrink: 0;
}

.hkd-search-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.hkd-search-item-icon i {
  font-size: 19px;
  color: #666;
  margin-inline-end: 1px;
}

.hkd-search-item-content {
  flex: 1;
  min-width: 0;
}

.hkd-search-item-name {
  font-size: 13px;
  font-weight: 400;
  color: #5e5e5e;
  margin-bottom: -4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hkd-search-item-phone {
  font-size: 12px;
  color: #666;
  margin-bottom: 2px;
}



.hkd-search-no-results {
  padding: 20px 16px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.hkd-header__right {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hkd-btn {
  background-color: var(--hkd-bg-header);
  color: var(--hkd-text-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}

.hkd-btn:hover {
  background-color: var(--hkd-bg-header-hover);
}

.hkd-btn__icon {
  padding-top: 11px;
  padding-bottom: 9px;
  padding-inline-start: 11px;
  padding-inline-end: 10px;
}

.hkd-btn__icon i {
  font-size: 18px;
}

.hkd-profile-btn {
  margin-top: -2px;
  padding: 6px 9px 5px 9px;
  gap: 8px;
}

.hkd-profile-initial {
  width: 30px;
  height: 30px;
  background-color: #fdc53e;
  color: var(--hkd-text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-size: 16px;
}

.hkd-profile-btn span {
  margin: 0 0 -3px 0;
  font-size: 14px;
}

/* == Dropdown Base == */
.hkd-dropdown {
  position: absolute;
  top: 100%;
  inset-inline-end: 0;
  background: var(--hkd-bg-dropdown);
  border-radius: 15px;
  box-shadow: var(--hkd-shadow-dropdown);
  display: none;
  margin-top: 5px;
  z-index: 999;
  overflow: hidden;
  text-align: start;
}

.hkd-dropdown--visible {
  display: block;
}

/* == Notifications Dropdown == */
.hkd-dropdown--notifications {
  min-width: 315px;
  max-height: 315px;
  overflow-y: auto;
  padding: 7px 0 0;
}

/* == Profile Dropdown == */
.hkd-dropdown--profile {
  min-width: var(--hkd-dropdown-profile-width);
  padding: 7px;
}

.hkd-dropdown__title {
  margin: 3px 10px 7px;
  font-size: 12px;
  color: #424242;
}

.hkd-dropdown__item {
  display: flex;
  align-items: center;
  padding: 17px 12px 15px 12px;
  border-top: 1px solid #f2f2f2;
  color: var(--hkd-text-black);
}

.hkd-dropdown__item i {
  font-size: 16px;
  margin-inline-end: 8px;
}

.hkd-dropdown__item span {
  font-size: 14px;
}

.hkd-dropdown__item:hover {
  background: #f5f5f5;
}

.hkd-dropdown__section {
  padding: 1px 0;
  font-size: 12px;
  color: #666;
  display: flex;
  flex-direction: column;
}

.hkd-dropdown__separator {
  border: none;
  border-top: 1px solid #eee;
  margin: 6px 0;
}

/* === Sidebar === */

.hkd-sidebar {
  position: absolute;
  top: 57px;
  inset-inline-start: 0;
  width: 100%;
  height: 55px;
  padding: 10px 15px 10px 15px;
  background: var(--hkd-bg-dropdown);
  box-shadow: 0 2px 25px #00000025;
  overflow-y: auto;
  display: flex;
}

.hkd-sidebar-menu {
  display: flex;
  list-style: none;
  margin-top: -5px;
  padding: 0;
  gap: 5px;
  width: 100%;
}

.hkd-sidebar-item {
  margin: 4px 0;
}

.hkd-sidebar-item a {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 15px;
  color: #7b7b7b;
  padding: 11px 16px 7px 16px;
  border-radius: 9px;
  transition: all 0.2s;
}

.hkd-sidebar-item a i {
  font-size: 18px;
  margin-top: -4px;
  margin-bottom: 0;
  margin-inline-start: 0;
  margin-inline-end: 8px;
}

.hkd-sidebar-item a:hover {
  color: #bebebe;
}

.hkd-sidebar-item--active a {
  background: none;
  color: var(--hkd-text-black);
  font-weight: 500;
}

.hkd-sidebar-item--active a span:first-child {
  position: relative;
  z-index: 1;
}

.hkd-sidebar-item--active a span:first-child::before {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  inset-inline-start: 0;
  top: 80%;
  height: 3px;
  background: #fdc53e;
  transform: translateY(-50%);
  border-radius: 2px;
  z-index: -1;
}

/* == Badges == */
.hkd-badge-sd {
  font-size: 13px;
  padding: 6px 8px 4px 8px;
  border-radius: 5px;
  margin-top: -3px;
  margin-bottom: 0;
  margin-inline-start: 10px;
  margin-inline-end: -4px;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hkd-badge-sd i {
  font-size: 14px !important;
  margin-top: -1px !important;
  margin-bottom: 0 !important;
  margin-inline-start: -1px !important;
  margin-inline-end: 0 !important;
}

.hkd-badge-soon {
  background-color: var(--hkd-badge-soon-bg);
  color: var(--hkd-badge-soon-text);
}

.hkd-badge-alret {
  background-color: #ef676730;
  color: #992525;
}

/* == Main Content == */
main.content {
  width: 100%;
  margin-top: 55px;
  padding: 45px 30px;
}

/*
|--------------------------------------------------------------------------
| Productive Families Dashboard Style
|--------------------------------------------------------------------------
*/

.settings-body {
  display: flex;
  flex-direction: column;
  padding-top: 56px;
  height: 100%;
  gap: 8px;
  background: #c8c8c83c;
}

.settings-container:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 30px !important;
  position: relative;
}

.settings-stats-cards {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  margin-top: 5px;
  margin-bottom: 0;
  margin-inline-start: 10px;
  margin-inline-end: 0;
  padding: 15px 10px 10px 10px;
  scroll-snap-type: x mandatory;
}

.settings-stats-card {
  flex: 0 0 auto;
  background: #fff;
  outline: 5px solid #f5f6fb;
  border-radius: 15px;
  width: 160px;
  padding: 13px 12px 9px 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.settings-stats-header {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.settings-stats-icon {
  font-size: 15px;
  color: #9699aa;
}

.settings-stats-title {
  font-size: 12.5px;
  font-weight: 300;
  color: #9699aa;
}

.settings-stats-value {
  font-size: 22px;
  font-weight: 600;
  color: #222;
}

.settings-container {
  padding: 0px 0 2px 0;
  background: #fff;
  width: 100%;
}

.settings-container__title {
  padding: 10px 10px 4px 10px;
  font-size: 14.5px;
  color: #bababa;
}

.settings-container__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px 7px 10px;
  cursor: pointer;
}

.settings-container__first-section,
.settings-container__second-section {
  display: flex;
  align-items: center;
}

.settings-container__item-icon,
.settings-container__item-arrow-icon {
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -3.5px;
  margin-bottom: 0;
  margin-inline-start: 0;
  margin-inline-end: 5px;
  padding-top: 1.15px;
  background: var(--association-main-color);
  border-radius: 16px;
  font-size: 15px;
  color: #fff;
}

.settings-container__item img {
  margin-top: -1px;
  width: 15.5px;
  filter: brightness(0) saturate(100%) invert(1);
}

.settings-container__item-arrow-icon {
  width: 0 !important;
  height: 0 !important;
  color: #000000 !important;
  font-size: 20.5px !important;
}

.settings-container__item-title {
  margin-top: 0;
  margin-bottom: -1px;
  margin-inline-start: 3px;
  margin-inline-end: 0;
  font-size: 15.5px;
}

.app-footer-info {
  position: absolute;
  bottom: 10px;
  inset-inline-end: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 14.5px;
  color: #747474;
  display: grid;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0.8;
}

/* == Settings Modal == */

.settings-modal-container {
  display: flex;
  max-height: 514px;
  min-height: 500px;
  flex-direction: row-reverse;
}

.settings-side-menu {
  width: 205px;
  background: #ffffff;
  border-inline-end: 1px solid #ececec;
  max-height: 514px;
  overflow-y: auto;
  padding: 5px 0 15px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.settings-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-inline-end: 10px;
}

.settings-menu-item {
  margin: 0;
}

.settings-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px 10px;
  margin-bottom: 1px;
  color: #6c757d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s ease;
  border-start-end-radius: 20px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  border-end-end-radius: 20px;
  border-inline-start: 3px solid transparent;
  position: relative;
}

.settings-menu-link:hover {
  background: #eef0f3;
  color: #495057;
  text-decoration: none;
}

.settings-menu-link.active {
  background: #e9ecef;
  color: var(--hkd-mian-color);
  border-inline-start-color: var(--hkd-mian-color);
  font-weight: 500;
  position: relative;
}

.settings-menu-link.active::before {
  content: '';
  position: absolute;
  inset-inline-start: -4px;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--hkd-mian-color);
  border-start-end-radius: 2px;
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  border-end-end-radius: 2px;
  z-index: 1;
}

.settings-menu-link i {
  font-size: 18px;
  width: 20px;
  margin-top: -1px;
  text-align: center;
}

.settings-content-area {
  flex: 1;
  padding: 25px 15px 0;
  overflow-y: auto;
  max-height: 70vh;
  scrollbar-width: thin;
  scrollbar-color: rgba(227, 227, 227, 0.57) transparent;
}

.settings-content-area::-webkit-scrollbar {
  width: 6px;
}

.settings-content-area::-webkit-scrollbar-track {
  background: transparent;
}

.settings-content-area::-webkit-scrollbar-thumb {
  background-color: rgba(227, 227, 227, 0.57);
  border-radius: 10px;
}

.settings-content-area:hover::-webkit-scrollbar-thumb {
  background-color: rgba(227, 227, 227, 0.8);
}

.settings-section {
  display: none;
}

.settings-section.active {
  display: block;
}

.settings-section-title {
  display: flex;
  margin: -6px 0 20px 0;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  border-bottom: 1px solid #ececec;
  padding-bottom: 9px;
}

/* Settings modal specific styles */
[data-modal="settings"] .modal-content {
  max-width: 665px !important;
  width: 90vw;
  max-height: 85vh;
  animation: slideDown 0.3s ease-out;
}

[data-modal="settings"] .settings-modal-container {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

[data-modal="settings"] .form-content {
  padding: 0 !important;
  max-height: 70vh !important;
}

/* Responsive design for settings modal */
@media (max-width: 768px) {
  .settings-modal-container {
    flex-direction: column;
    min-height: auto;
  }

  .settings-side-menu {
    width: 100%;
    border-inline-start: none;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
  }

  .settings-menu-list {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 0 15px;
  }

  .settings-menu-item {
    flex-shrink: 0;
  }

  .settings-menu-item span {
    margin-bottom: -2px;
  }

  .settings-menu-link {
    padding: 8px 12px;
    border-inline-start: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }

  .settings-menu-link.active {
    border-inline-start-color: transparent;
    border-bottom-color: var(--hkd-mian-color);
  }

  .settings-content-area {
    padding: 20px;
  }
}

.checkout-products-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 -10px;
  padding: 12px 10px 2px;
  -webkit-overflow-scrolling: touch;
}

.checkout-product-image-wrapper {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  border-radius: 15px;
  border: 1px solid #eee;
  background: #fff;
  overflow: hidden;
}

.checkout-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* == Attr Type Button == */

.attr-type-btn {
  box-sizing: border-box;
  display: block;
  width: 100%;
  text-align: center;
  border-radius: 15px;
  border: 1px solid #f2f2f299;
  background: #e6e6e699;
  padding: 13px 2px 9.5px 2px;
  font-size: 13.5px;
  cursor: pointer;
  color: #666666;
  transition: all 0.2s;
  font-weight: 400;
}

.attr-type-btn.active {
  background: var(--association-main-color);
  color: #fff;
  border: 1px solid var(--association-main-color);
}

.attr-type-tabs {
  display: flex;
  gap: 10px;
}

.attr-type-tabs .attr-type-btn {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

/* Insert Color */

.as-font-main-color,
.as-font-main-color i {
  color: var(--association-main-color) !important;
}

.as-file-input-wrapper input[type="file"]:hover+.as-file-label {
  border-color: var(--association-main-color) !important;
}

.as-file-input-wrapper .logo-preview-img {
  margin-top: 15px;
  width: calc(100% - 2px);
  height: 318px;
  border-radius: 15px;
  border: 0;
}

.as-file-input-wrapper .file-label {
  padding: 125.5px 10px !important;
  background: #f2f2f299 !important;
}

.as-file-input-wrapper .remove-logo-btn {
  top: 30px;
  inset-inline-start: auto;
  inset-inline-end: 10px;
  padding-top: 7px;
  padding-bottom: 0px;
  padding-inline-start: 6.5px;
  padding-inline-end: 5.5px;
  color: #c21818;
  font-size: 20px;
}

.as-main-bg {
  background-color: var(--association-main-color);
}

.as-main-btn {
  background-color: var(--association-main-color);
  border-color: var(--association-main-color);
  font-size: 15.5px !important;
  box-shadow: 0 1px 1px #3838381c;
  padding-top: 23.5px !important;
  padding-bottom: 25.5px !important;
  padding-inline-start: 11px !important;
  padding-inline-end: 8px !important;

}

.as-main-btn:hover {
  background-color: var(--association-main-color);
  box-shadow: 0 0px 0px #38383800;
}

.as-third-btn {
  background-color: #ffffff !important;
  color: var(--association-main-color) !important;
  border-color: var(--association-main-color) !important;
  box-shadow: 0 1px 1px #38383800 !important;
}

.as-btn-font-size {
  font-size: 14.5px !important;
  padding: 23.5px 22.5px 22.5px 22.5px !important;
  border-radius: 50px !important;
}

.as-main-input {
  padding: 14px 12px 8.5px 12px !important;
  font-size: 14.5px !important;
}

.as-main-input:focus {
  border: 1px solid var(--association-main-color) !important;
}

.as-custom-dropdown:focus-within .selected {
  border-color: var(--association-main-color) !important;
}

.as-switch input:checked+.slider {
  background-color: var(--association-main-color);
}

.as-switch .as-slider:before {
  width: 20px !important;
  height: 20px !important;
}

/*
|--------------------------------------------------------------------------
| Public Association Style
|--------------------------------------------------------------------------
*/
main.content__public_association {
  background: #ffffff;
}

/* Filtter Check */
.as-filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3.35px;
  cursor: pointer;
  user-select: none;
}

.as-filter-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin-inline-end: 5px;
}

.as-filter-checkbox span::before {
  content: "";
  display: inline-block;
  width: 23px;
  height: 23px;
  margin-top: -3.35px;
  margin-bottom: 0;
  margin-inline-start: 0;
  margin-inline-end: 7px;
  border: 1.5px solid #cccccc;
  border-radius: 8px;
  background-color: #fff;
  vertical-align: middle;
  transition: background-color 0.2s, border-color 0.2s;
}

.as-filter-checkbox:hover span::before {
  border-color: var(--association-main-color);
}

.as-filter-checkbox input[type="checkbox"]:checked+span::before {
  background-color: var(--association-main-color);
  border-color: var(--association-main-color);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3 3 7-7' stroke='%23fff' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.as-filter-checkbox span {
  font-size: 16px;
  color: #333;
}

.search-filter-option {
  padding: 16px 13px 12px 13px !important;
  border-radius: 15px !important;
}

/* == Header == */
.as-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  color: #000000;
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #ffffff;
  z-index: 11;
}

.as-header__top {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-bottom: -3px;
}

.as-header__top__quick-links {
  display: flex;
  gap: 10px;
  padding: 0 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
}

.as-header__top__quick-links>a {
  flex: 0 0 auto !important;
}

.as-header-sticky {
  position: relative;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #451e52;
  padding: 10px 10px 15px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), padding 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform, box-shadow;
}

.as-header-sticky.sticky {
  position: fixed;
  top: 0;
  z-index: 1000;
  border-radius: 0 0 20px 20px;
  padding-top: calc(10px + var(--safe-area-top)) !important;
  padding: 10px 10px 10px;
  animation: asHeaderStickyIn 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), border-radius 0.3 ease-in-out;
}

.as-header-sticky.sticky .as-header__top__location-select {
  opacity: 1;
  transform: translateY(-2px) scale(0.9) !important;
  max-height: 35px;
  margin: 1px 0 1px;
  padding: 11px 0 22px !important;
  pointer-events: auto;
}

.as-header-sticky.sticky .as-header__platform-logo {
  top: calc(6px + var(--safe-area-top));
  opacity: 1;
  transform: translateY(-2px) scale(0.9) !important;
  max-height: 38px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

@keyframes asHeaderStickyIn {
  from {
    transform: translateY(-8px);
    opacity: 0.98;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.as-header__top__location-select {
  width: 35%;
  padding: 10px 0 2px;
  margin: 1px 0 1px;
  font-size: 14.8px;
  color: #f3f3f3;
  display: flex;
  align-items: center;
  transition: opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), max-height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), margin 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), padding 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  max-height: 44px;
  will-change: opacity, transform, max-height;
}

.as-header__platform-logo {
  position: absolute;
  inset-inline-end: 50%;
  top: 6px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 44px;
  transition: opacity 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), max-height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), margin 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), padding 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform, max-height;
  pointer-events: none;
  z-index: 1;
}

.as-header__platform-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.as-header__top__location-select i {
  margin-top: -2px;
  margin-bottom: 0;
  margin-inline-start: 0;
  margin-inline-end: 4px;
  font-size: 17px;
  color: var(--association-main-color);
}

.as-header__bottom {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* == Switcher Mode Homepage == */
.switcher-mode-homepage {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 15px 10px 5px 10px;
  border-radius: 0;
}

.switcher-mode-homepage__active,
.switcher-mode-homepage__unactive {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background-color: var(--association-main-color);
  padding: 12px 6px 7px;
  border-radius: 5px;
  font-size: 15px;
  color: #fff;
  justify-content: center;
  cursor: pointer;
}

.switcher-mode-homepage__unactive {
  background-color: #eeeeee35;
  color: #292929;
}

.switcher-mode-homepage__active i,
.switcher-mode-homepage__unactive i {
  margin: -2.5px 0 0 0;
}

/* == Header Logo & Location == */
.as-header__logo {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--as-mian-color);
}

.as-header__logo img {
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-origin: center;
  will-change: transform;
}

#shop-delivery {
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform-origin: center;
  will-change: transform;
}

#shop-back-btn {
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), margin 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), background-color 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform, margin;
}

.as-back-inline {
  margin-inline-end: 6px !important;
  margin-inline-start: 2px !important;
  align-self: center;
  border-color: #ddd !important;
}

.as-header-sticky {
  transition: background-color 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.as-header-sticky.white {
  background-color: #ffffff !important;
}

.as-header__location {
  font-size: 1.5rem;
  color: var(--as-mian-color);
}

/* == Search == */
.as-search {
  flex: 1;
  display: flex;
  position: relative;
  display: inline-block;
  width: 100%;
  padding-bottom: 1px;
}

.as-search .search-icon {
  position: absolute;
  top: 50%;
  inset-inline-start: 10px;
  transform: translateY(-50%);
  color: #575757;
  cursor: pointer;
  font-size: 20px;
}

.as-search__action {
  position: absolute;
  top: 50%;
  inset-inline-end: 8px;
  transform: translateY(-50%);
  border: none;
  background: var(--association-main-color);
  color: var(--text-on-association-color);
  border-radius: 12px;
  padding: 8px 10px 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  cursor: pointer;
}

.as-search__action i {
  font-size: 14px;
  margin-top: -1px;
}

input.hkd-main-input.as-search__input {
  width: 100%;
  padding-top: 11px;
  padding-bottom: 8.5px;
  padding-inline-start: 35px;
  padding-inline-end: 8px;
  background: #ffffff;
  border: 1px solid #f4f4f4;
  color: #575757;
  font-size: 15px;
  border-radius: 25px !important;
  font-weight: 400;
  cursor: pointer;
}

input.hkd-main-input.as-search__input.as-search__input--with-action {
  padding-inline-end: 92px;
}

input.hkd-main-input.as-search__input::placeholder {
  color: #575757;
  opacity: 1;
}

/* == Filter Button == */
.as-filter-btn {
  display: flex;
  align-items: center;
  padding-top: 11.5px;
  padding-bottom: 10px;
  padding-inline-start: 10.5px;
  padding-inline-end: 11px;
  border: none;
  background: var(--association-main-color);
  border-radius: 15px;
  cursor: pointer;
  font-size: 18px;
  color: #fff;
  transition: background-color 0.2s;
}

/* == Categories == */
.as-categories {
  display: flex !important;
  overflow-x: auto;
  gap: 10px;
  padding: 25px 10px 0;
}

.as-categories-two-rows {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: calc((100% - 48px) / 5);
  gap: 16px 12px;
  padding: 15px 10px 2px;
  overflow-x: auto;
  overflow-y: hidden;
}

.as-category--grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.as-categories::-webkit-scrollbar {
  height: 6px;
}

.as-categories::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

.as-category {
  flex: 0 0 auto;
  text-align: center;
  cursor: pointer;
}

.as-category__icon-box {
  width: 55px;
  height: 55px;
  margin: auto;
  padding: 1.5px 0 0 0;
  background: #f2f2f2;
  border-radius: 50px;
  overflow: hidden;
  font-size: 26px;
  color: var(--association-main-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.as-category .fi-icon__select {
  margin: 0 0 -6.5px 0 !important;
  font-size: 22.5px !important;
}

.as-category__title {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

/* == Section Titles == */
.as-section-title {
  position: relative;
  margin: 25px 10px 10px;
  font-size: 17px;
  font-weight: 500;
}

.as-section-title__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.as-section-title__row span {
  font-weight: inherit;
}

.as-section-title__more {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.as-section-title__more i {
  color: inherit;
  font-size: 16px;
  margin-top: -1px;
}

.as-section-title__wrapper {
  position: relative;
  height: 140px;
  overflow: hidden;
  margin: 0 -10px -100px;
}

.as-section-title__wrapper .as-section-title__more {
  position: absolute;
  top: 38px;
  inset-inline-end: 10px;
  z-index: 2;
}

.as-section-title__wrapper::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, #ffffff, transparent);
  pointer-events: none;
}

.as-section-title__banner {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 100%;
  height: auto;
  display: block;
  object-position: 50% 0%;
}

/* == Brands Carousel == */
.as-brands {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  margin-bottom: -10px;
  padding: 8px 10px;
}

.as-brands::-webkit-scrollbar {
  height: 6px;
}

.as-brands::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

.as-brand-logo {
  flex: 0 0 auto;
  width: 70px;
  height: 70px;
  border: 1px solid #e7e7e7;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.as-brand-logo img {
  max-width: 100%;
  max-height: 100%;
  margin-bottom: -6px;
}

/* == Stores Grid == */
.as-stores {
  display: grid;
  gap: 5px;
  background: #ececec;
  margin-bottom: 65.5px;
}

.as-stores:has(.no-data) {
  background: #ffffff;
}

.as-store-card {
  background: #fff;
  border-radius: 0;
  padding: 11px 10px 9px;
  display: flex;
}

.as-store-card__logo {
  width: 155px;
  height: 97.8px;
  justify-self: start;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  border: 2px solid #fff;
  outline: 1px solid #ebebeb;
  box-shadow: 0 2px 5px #eeeeee61;
}

@media (max-width: 720px) {
  .as-store-card__logo {
    width: 135px;
  }

  .as-store-card__details {
    padding-inline-start: 15px !important;
  }
}

.as-store-card__logo img {
  width: 100%;
  height: 100%;
  border-radius: 15px !important;
}

.as-store-card__banner {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.as-store-card__floating-logo {
  position: absolute;
  top: 6px;
  inset-inline-start: 8px;
  width: 65px !important;
  height: 65px !important;
  object-fit: contain;
  background: #ffffff;
  border: 1.5px solid #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px #eeeeee61;
}

.as-store-card__details {
  width: 100%;
  padding-inline-start: 5px;
  display: flex;
  flex-direction: column;
}

.as-store-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6.5px;
  font-size: 17px;
  font-weight: 400;
  color: #000;
}

.as-store-card__name {
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.as-store-card__name i {
  margin-top: 0px;
  font-size: 17.5px;
  color: var(--association-main-color);
}

.as-store-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.as-store-card__bookmark {
  margin-top: -0.5px;
  margin-bottom: -2px;
  margin-inline-start: 0;
  margin-inline-end: 2px;
  color: #3a3a3a;
  border-radius: 10px;
  padding: 6px 5px 5px;
  font-size: 14.5px;
  line-height: 0;
  cursor: pointer;
  transition: color 0.3s;
}

.as-store-card__rating {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: -1px;
  padding-top: 3.5px;
  padding-bottom: 0;
  padding-inline-start: 5px;
  padding-inline-end: 2px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 300;
  color: #999999;
}

.as-store-card__rating-icon {
  font-size: 13px;
  color: #ffb617b0;
  margin-top: 0px;
  margin-bottom: -2px;
  margin-inline-start: -1.5px;
  margin-inline-end: 3px;
}

.footer-separator {
  display: inline-block;
  width: 1.2px;
  height: 13px;
  background: #e7e7e7;
  margin: 0 7px;
  vertical-align: middle;
}

.as-featured-stores {
  padding: 15px 10px 0;
  margin-bottom: -5px;
}

.as-featured-stores__list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px;
  margin: 8px -10px 0px;
}

.as-featured-store-card {
  flex: 0 0 240px;
  border-radius: 15px;
  overflow: initial !important;
}

.as-featured-store-card.ripple-btn {
  overflow: hidden !important;
}

.as-featured-store-card__banner-wrap {
  position: relative;
  height: 115px;
  overflow: hidden;
  background: #f6f6f6;
  border-radius: 10px;
  border: 2px solid #fff;
  outline: 1px solid #ebebeb;
  box-shadow: 0 2px 5px #eeeeee61;
}

.as-featured-store-card__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.as-featured-store-card__fav {
  position: absolute;
  top: 6px;
  inset-inline-end: 6px;
  background: rgb(255 255 255 / 92%);
  padding: 7px 6px 6px;
  border-radius: 12px;
  margin: 0;
}

.as-featured-store-card__meta {
  padding: 10px 10px 12px;
}

.as-featured-store-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.as-featured-store-card__name {
  font-size: 14.5px;
  font-weight: 500;
  color: #000;
  height: 23px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.as-featured-store-card__type {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #777;
}

.as-featured-store-card__type i {
  font-size: 15px;
  color: var(--association-main-color);
}

#loading-indicator {
  display: none;
  position: relative;
  width: 100%;
  height: 75vh;
  padding: 16px 0;
  text-align: center;
}

.spinner {
  width: 40px;
  height: 40px;
  margin: auto;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--association-main-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* == Store Card Info == */
.as-store-card__info {
  display: flex;
  align-items: center;
  margin-top: 7.5px;
  margin-bottom: 8px;
  margin-inline-start: -5px;
  margin-inline-end: 0;
  font-size: 16px;
  color: #979797;
  gap: 0;
}

.as-store-card__info>* {
  display: flex;
  align-items: center;
  gap: 3px;
  position: relative;
  padding: 0 5px;
}

.as-store-card__info>* span {
  margin: 0 1px -3px 1px;
  font-size: 14px;
}

.as-store-card__info>*:not(:first-child)::before {
  content: '';
  position: absolute;
  inset-inline-start: -7.5px;
  top: 50%;
  transform: translateY(-50%);
  height: 60%;
  width: 1px;
  background: #aaaaaa3d;
}

/* == Store Card Activity == */
.as-store-card__activity {
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13.5px;
  font-weight: 300;
  color: #6a6a6a;
  border-radius: 2.5px;
}

.as-store-card__activity i {
  color: var(--association-main-color);
  font-size: 14.5px;
  margin-top: -2.5px;
  margin-bottom: -2px;
  margin-inline-start: 0;
  margin-inline-end: 1px;
}

.as-store-card__activity .fi-icon__select {
  font-size: 11.5px !important;
  margin-top: 0.5px !important;
  margin-bottom: -2px !important;
  margin-inline-start: 0 !important;
  margin-inline-end: 1px !important;
}

/* == Swiper Slides == */
.swiper-container {
  width: 100%;
  padding-top: 11px;
  padding-bottom: 15px;
  z-index: 1;
}

.as-section-banner-swiper {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 13px;
  z-index: 1;
}

.as-section-banner-swiper .swiper-wrapper {
  display: flex;
  justify-content: center;
}

.as-section-banner-swiper .swiper-slide {
  flex: 0 0 auto;
}

.swiper-slide {
  width: 95% !important;
  height: 150px !important;
  border-radius: 20px !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
}

/* == Filtter Bar == */
.as-filter-bar {
  position: sticky;
  top: 45px;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow-y: auto;
  border-top: 1px solid #eee;
  margin: 0px 0 -10px 0;
  background: #fff;
  padding-top: 10px;
  padding-bottom: 7px;
  padding-inline-start: 48px;
  padding-inline-end: 10px;
  z-index: 999;
}

.as-filter-bar__first-filter-btn,
.as-filter-bar__filter-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 12px 18px 10px 18px;
  background: #f5f6fb;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  color: #444;
}

.as-filter-bar__filter-btn {
  padding: 8px 18px 6px 18px;
  border-radius: 50px !important;
  font-size: 14.5px;
}

.as-filter-bar__filter-btn .fi-icon__select {
  margin: -6.5px 0px -9px 0px !important;
  font-size: 12.5px !important;
}

.as-filter-bar__first-filter-btn {
  font-size: 17px;
  background: var(--association-main-color);
  color: #fff;
  border-color: var(--association-main-color);
  padding: 7.5px 7px 7.5px 7px;
  border-radius: 50px;
}

.as-filter-bar__filter-btn.active,
.as-filter-bar__filter-license.active {
  border-color: #dce4e7 !important;
  background-color: var(--association-main-color-lighter) !important;
  color: var(--association-main-color) !important;
}

/* Cart */
.cart-container {
  padding: 10px;
  background: #c8c8c821;
  height: 100vh;
}

/*
|--------------------------------------------------------------------------
| Family Profile
|--------------------------------------------------------------------------
*/

.profile-card {
  background-color: var(--card-bg);
  width: 100%;
}

#topIcons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 12px;
  background-color: transparent;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
  border-bottom: 0px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.topbar.sticky {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.cover {
  height: 168px;
  position: relative;
}

.top-icons {
  align-items: center;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  inset-inline-end: 15px;
  padding: 0;
  position: absolute;
  inset-inline-start: 15px;
  top: 15px;
  transition: background-color 0.6s ease,
    box-shadow 0.4s ease,
    padding 0.4s ease;
  z-index: 10;
}

.top-icons.sticky {
  background-color: #fff;
  border-bottom: 1px solid var(--divider-color);
  inset-inline-end: 0;
  padding: 8px 15px 6px 15px;
  position: fixed;
  inset-inline-start: 0;
  top: 0;
  z-index: 999;
}

.top-icons.sticky .circle-icon {
  box-shadow: none;
}

.icon-group {
  align-items: center;
  display: flex;
}

.action-group {
  display: flex;
  gap: 10px;
}

.circle-icon {
  width: 32px;
  height: 32px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  cursor: pointer;
  padding-top: 4px;
  background: #fff;
  border-color: #fff;
}

.circle-icon i {
  font-size: 14px;
  color: #121212;
}

.file-name {
  display: inline-block;
  font-size: 20px;
  margin-inline-start: 10px;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.05s ease-in,
    transform 0.05s ease-in;
}

.top-icons.sticky .file-name {
  opacity: 1;
  transform: translateY(0);
}

.profile-info {
  box-shadow: 0 -10px 10px #0000000d;
  margin-top: -20px;
  border-radius: 25px 25px 0 0;
  background-color: #fff;
  padding: 20px 10px 0;
  position: relative;
}

.profile-pic {
  outline: 1px solid #ebebeb !important;
  box-shadow: 0 2px 5px #eeeeee61;
  background-color: #fff;
  border: 3px solid #fff;
  border-radius: 25px;
  width: 105px;
  height: 105px;
  object-fit: cover;
  position: absolute;
  inset-inline-start: 20px;
  top: -50px;
  z-index: 99;
}

.info-row {
  margin-top: -13px;
  align-items: center;
  display: flex;
  font-family: Arial, sans-serif;
  font-size: 13.5px;
  gap: 6px;
  justify-content: flex-end;
  inset-inline-end: 10px;
  position: absolute;
  width: 85px;
}

.info-item {
  align-items: center;
  display: flex;
  gap: 4px;
}

.info-item span {
  font-size: 13px;
}

.rating-count {
  color: #aaa;
}

.star {
  font-size: 11px;
  color: #FFD700;
}

.name-contact {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
}

.username {
  font-size: 18px;
}

.bio {
  color: #515151;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  margin-top: 5px;
  margin-bottom: 6px;
}

.info-links {
  align-items: center;
  display: flex;
  gap: 9px;
  margin-top: 20px;
  color: var(--family-main-color, #632c09);
  font-size: 12.5px;
}

.divider {
  color: #99999991 !important;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 11px;
}

.social-icons i,
.social-icons img {
  width: 32px;
  height: 32px;
  border-radius: 15px;
  font-size: 15px;
  border: 1px solid #ddd;
  background: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  cursor: pointer;
  padding-top: 1px;
  transition: all 0.3s ease-in-out;
}

.fm-search {
  flex: 1;
  display: flex;
}

.fm-search {
  position: relative;
  display: inline-block;
  width: 100%;
}

.fm-search__input {
  font-size: 15px;
  width: -webkit-fill-available;
  margin: 15px 10px 10px !important;
  padding-top: 12px !important;
  padding-bottom: 10px !important;
  padding-inline-start: 35px !important;
  padding-inline-end: 10px !important;
  box-shadow: 0 1px 2px #eeee;
}

.fm-search .search-icon {
  position: absolute;
  top: 52.9%;
  inset-inline-start: 20px !important;
  transform: translateY(-50%);
  color: var(--family-main-color, #632c09) !important;
  font-size: 18px;
  cursor: pointer;
}

.fm-filter-bar__first-filter-btn {
  background: var(--family-main-color, #632c09) !important;
  color: #fff !important;
  font-size: 18px !important;
  border-color: var(--family-main-color, #632c09) !important;
  width: 32px !important;
  height: 32px !important;
  padding: 6.5px 6px 5px 6px !important;
}

.fm-filter-bar__first-filter-btn,
.fm-filter-bar__filter-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 7.5px 12px 4.5px 12px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 15px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 300;
  color: #6d6d6d;
}

.fm-filter-bar__filter-btn.active,
.fm-filter-bar__filter-license.active {
  border-color: var(--family-main-color, #632c0933) !important;
  background-color: var(--family-main-color, rgb(99 44 9 / 9%)) !important;
  color: #fff !important;
}

/* Filtter Check */
.fm-filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3.35px;
  cursor: pointer;
  user-select: none;
}

.fm-filter-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.fm-filter-checkbox span::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-top: -3.35px;
  margin-bottom: 0;
  margin-inline-start: 0;
  margin-inline-end: 7px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background-color: #fff;
  vertical-align: middle;
  transition: background-color 0.2s, border-color 0.2s;
}

.fm-filter-checkbox:hover span::before {
  border-color: var(--family-main-color, #632c09);
}

.fm-filter-checkbox input[type="checkbox"]:checked+span::before {
  background-color: var(--family-main-color, #632c09);
  border-color: var(--family-main-color, #632c09);
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' viewBox='0 0 12 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3 3 7-7' stroke='%23fff' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.fm-filter-checkbox span {
  font-size: 14px;
  color: #333;
}

.attribute-option input[type="checkbox"]:checked,
.attribute-option input[type="radio"]:checked {
  background: var(--family-main-color, #632c09);
  border-color: var(--family-main-color, #632c09);
}

.attribute-option input[type="checkbox"]:hover,
.attribute-option input[type="radio"]:hover {
  border-color: var(--family-main-color, #632c09);
}

.fm-main-bg {
  background-color: var(--family-main-color, #632c09) !important;
  border-color: var(--family-main-color, #632c09) !important;
}

.meals-section {
  background-color: #fff;
  border-top: 8px solid #c8c8c83c;
}

.meal-card {
  background-color: #fff;
  display: flex;
  flex-direction: row;
  border-radius: 0 !important;
  border-bottom: 1px solid #eeee;
  overflow: hidden;
  position: relative;
  padding: 5px 0;
}

.meal-image {
  margin: 10px;
  border-radius: 15px;
  width: 130px;
  height: 130px;
  object-fit: cover;
  border: 1px solid #e7e7e7;
}

.meal-content {
  flex: 1;
  padding: 10px;
  position: relative;
}

.meal-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.meal-name {
  font-size: 17px;
  font-weight: 500;
}

.favorite-icon {
  border-radius: 50px;
  border: 1px solid #fdfdfd;
  background: #fff;
  padding: 5px 5px 5px;
  position: absolute;
  top: 21px;
  inset-inline-end: 16px;
  font-size: 14.5px;
  line-height: 0;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 99;
}

.favorite-icon:hover {
  color: #e0245e;
}

.meal-description {
  color: #959595;
  font-size: 12.5px;
  line-height: 1.4;
  margin: 8px 0 7px 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meal-price {
  font-size: 14.5px;
  position: absolute;
}

.as-product-grid-v {
  column-count: 2;
  column-gap: 15px;
  padding: 12px 10px 0;
  background: #fff;
}

.as-product-grid-v__pagination {
  padding: 0 10px 10px;
}

.as-product-card-v {
  display: inline-flex;
  flex-direction: column;
  background: #fff;
  padding: 0 !important;
  border: 1px solid #ededed;
  border-radius: 10px !important;
  overflow: hidden;
  max-height: none;
  min-height: 0;
  width: 100%;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 15px;
}

.as-section-products {
  margin: 0;
}

.as-section-products__list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 10px 0;
}

.as-section-products__list::-webkit-scrollbar {
  display: none;
}

.as-product-card-v--mini {
  width: 100px;
  flex: 0 0 auto;
  margin: 0;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 20px !important;
  overflow: visible !important;
}

.as-product-card-v--mini.ripple-btn {
  overflow: hidden !important;
}

.as-product-card-v--mini .as-product-card-v__img {
  aspect-ratio: 1;
  border: 2px solid #fff;
  outline: 1px solid #ebebeb;
  border-radius: 20px;
  box-shadow: 0 2px 5px #eeeeee61;
  overflow: hidden;
}

.as-product-card-v--mini .as-product-card-v__body {
  padding: 8px 9px 9px;
  gap: 4px;
}

.as-product-card-v--mini .as-product-card-v__name {
  font-size: 12.5px;
  height: 16px;
  min-height: 16px;
  line-height: 16px;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.as-product-card-v--mini .as-product-card-v__price-reduced,
.as-product-card-v--mini .as-product-card-v__price-current {
  font-size: 13.5px;
}

.as-product-card-v--mini .as-product-card-v__price-original {
  font-size: 11.5px;
}

.as-product-card-v--mini .add-to-cart {
  bottom: 8px;
  inset-inline-end: 8px;
  background: #fff;
  color: var(--association-main-color);
  box-shadow: 0 4px 9px #0000004d;
}

.as-product-card-v__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f4f4f4;
  border-radius: 18px;
  border: 1px solid #ebebeb;
  box-shadow: 0 2px 5px #eeeeee61;
  overflow: hidden;
  position: relative;
}

.as-product-card-v__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.as-product-card-v__body {
  padding: 10px 10px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.as-product-card-v__name {
  font-size: 13.5px;
  font-weight: 500;
  color: #222;
  line-height: 1.35;
  height: 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: -5px;
}

.as-product-card-v__low-stock {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 3px;
  font-size: 12.5px;
  color: #7a4f00;
  line-height: 0;
  background: #ffefd5;
  border-radius: 999px;
  padding: 7px 8px 5px;
}

.as-product-card-v__low-stock-fire {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: block;
}

.as-product-card-v__price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 2px;
}

.as-product-card-v__price-reduced,
.as-product-card-v__price-current {
  font-size: 14.5px;
  font-weight: 700;
  color: #111;
}

.as-product-card-v__price-original {
  font-size: 12.5px;
  color: #9b9b9b;
  text-decoration: line-through;
}

.add-to-cart {
  align-items: center;
  border: none;
  border-radius: 50px !important;
  bottom: 0;
  background: var(--family-main-color, #632c09);
  color: #fff;
  display: flex;
  font-size: 18px;
  padding-inline-start: 0.5px;
  justify-content: center;
  inset-inline-end: 0;
  position: absolute;
  transition: background-color 0.3s;
  width: 26px;
  height: 26px;
}

.holkm-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #a1a1a1;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.holkm-footer img {
  width: 165px;
  margin-top: 5px;
}

/* Association Logo Preview in Settings */
#association-logo-preview-wrapper {
  position: absolute;
  top: 50%;
  inset-inline-end: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  pointer-events: none;
}

#association-logo-preview {
  margin-top: 16px;
  width: 128px;
  height: 128px;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  border: 1px solid #ccc;
  pointer-events: auto;
}

#association-remove-logo-btn {
  position: absolute;
  top: 15px;
  inset-inline-start: 143px;
  z-index: 4;
  background-color: white;
  border: none;
  border-radius: 50%;
  padding-top: 5px;
  padding-bottom: 0px;
  padding-inline-start: 5px;
  padding-inline-end: 4px;
  cursor: pointer;
  font-size: 14px;
  color: var(--hkd-mian-color);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  pointer-events: auto;
}

#association-remove-logo-btn i {
  pointer-events: none;
}

/* Settings Form Specific Styles */
#association-settings-form .form-group {
  margin-bottom: 20px;
}

#association-settings-form .section-title {
  margin: 25px 0 15px 0;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 8px;
}

#association-settings-form .toggle-group {
  margin-top: 20px;
  margin-bottom: 15px;
}

/* Responsive design for settings modal */
@media (max-width: 768px) {
  .settings-modal-container {
    flex-direction: column;
    min-height: auto;
  }

  .settings-side-menu {
    width: 100%;
    border-inline-start: none;
    border-bottom: 1px solid #e9ecef;
    padding: 10px 0;
  }

  .settings-menu-list {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 0 15px;
  }

  .settings-menu-item {
    flex-shrink: 0;
  }

  .settings-menu-item span {
    margin-bottom: -2px;
  }

  .settings-menu-link {
    padding: 8px 12px;
    border-inline-start: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }

  .settings-menu-link.active {
    border-inline-start-color: transparent;
    border-bottom-color: var(--hkd-mian-color);
  }

  .settings-content-area {
    padding: 20px;
  }
}

/* ===================== driver.js ===================== */
.driver-popover-close-btn {
  top: 6px !important;
  inset-inline-end: 0 !important;
  inset-inline-start: auto !important;
  z-index: 99999 !important;
}

.driver-popover-title {
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 500 !important;
}

.driver-popover-description {
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif !important;
  font-weight: 300 !important;
}

.driver-popover-next-btn,
.driver-popover-prev-btn,
.driver-popover-done-btn,
.driver-popover-close-btn {
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif !important;
}

.driver-popover-prev-btn {
  background-color: #f0f0f0 !important;
  color: #000000 !important;
  text-shadow: 0px 0px 0 #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  padding-top: 12px !important;
  padding-bottom: 8px !important;
  padding-inline-start: 22px !important;
  padding-inline-end: 21px !important;
  margin: 0 2px !important;
  box-shadow: 0 1px 1px #3838381c !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  outline: none !important;
}

.driver-popover-next-btn,
.driver-popover-done-btn {
  background-color: var(--association-main-color) !important;
  color: #fff !important;
  text-shadow: 0px 0px 0 #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  padding-top: 12px !important;
  padding-bottom: 8px !important;
  padding-inline-start: 22px !important;
  padding-inline-end: 21px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-inline-start: 4px !important;
  margin-inline-end: -5px !important;
  box-shadow: 0 1px 1px #3838381c !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  outline: none !important;
}

.driver-popover-next-btn:active,
.driver-popover-prev-btn:active,
.driver-popover-done-btn:active {
  opacity: 0.9 !important;
}

.driver-popover-next-btn:focus,
.driver-popover-prev-btn:focus,
.driver-popover-done-btn:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px #e0e0e0 !important;
}

.driver-popover {
  border-radius: 10px !important;
  border: 1.5px solid var(--association-main-color) !important;
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif !important;
  box-shadow: 0 4px 24px #0000001a !important;
  direction: rtl !important;
  text-align: start !important;
  padding: 18px 18px 16px 18px !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  background: #fff !important;
}

.driver-popover-progress-bar {
  background-color: #e0e0e0 !important;
  height: 5px !important;
  border-radius: 3px !important;
}

.driver-popover-step-indicator {
  background-color: var(--association-main-color) !important;
  color: #fff !important;
  font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif !important;
  font-weight: 600 !important;
}

.driver-popover-progress-text {
  margin-top: 4px !important;
}

/* Quantity selector radius */
.quantity-selector-on-card {
  border-radius: 15px !important;
}

.floating-image-btn {
  position: fixed;
  inset-inline-end: 10px;
  bottom: 80px;
  z-index: 999;
  background: rgb(255, 255, 255);
  width: 60px;
  height: 60px;
  border-radius: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgb(0 0 0 / 36%) 0px 1px 4px;
  cursor: pointer;
  transition: 0.3s;
  transform: translateY(0px) scale(1);
  opacity: 1;
  overflow: hidden
}

.floating-image-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%
}

.floating-image-btn img {
  width: 40px;
  height: auto;
  object-fit: contain
}

.floating-image-btn::after {
  content: "";
  position: absolute;
  top: -20%;
  inset-inline-end: -120%;
  width: 70%;
  height: 140%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-20deg);
  opacity: 0;
  animation: floating-shine 4.5s ease-in-out infinite;
  pointer-events: none
}

/* Discounted Products Section */
.discounted-products-header {
  margin-bottom: 15px;
  padding: 0 5px;
}

.discounted-products-title {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin: 0;
  text-align: start;
}

.discounted-products-container {
  position: relative;
  overflow: hidden;
}

.discounted-products-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 5px 10px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.discounted-products-scroll::-webkit-scrollbar {
  display: none;
}

.discounted-product-card {
  flex: 0 0 auto;
  width: 280px;
  background: #fff;
  border-radius: 15px;
  padding-inline-end: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.discounted-product-card:active {
  transform: scale(0.98);
}

.discounted-product-image {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
}

.discounted-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discounted-product-info {
  flex: 1;
  min-width: 0;
}

.discounted-product-name {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin: 0 0 8px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discounted-product-prices {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.discount-badge {
  background: #e74c3c;
  color: white;
  padding: 4px 6px 2px;
  border-radius: 11px;
  font-size: 10px;
  font-weight: 300;
  display: inline-block;
  line-height: 1;
}

.discounted-product-action {
  flex-shrink: 0;
}

.add-to-cart-btn {
  align-items: center;
  border: none;
  border-radius: 12px !important;
  background: var(--family-main-color, #632c09);
  color: #fff;
  display: flex;
  font-size: 18px;
  padding-inline-start: 0.5px;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 32px;
  height: 33px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.add-to-cart-btn:hover {
  background: var(--family-main-color-hover, #4a2207);
  transform: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.add-to-cart-btn:active {
  background: var(--family-main-color-active, #3a1a05);
  transform: none;
}

.add-to-cart-btn:active {
  transform: scale(0.95);
}

.add-to-cart-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.add-to-cart-btn i {
  font-size: 18px;
}

@media (max-width: 480px) {
  .discounted-product-card {
    width: 275px;
  }

  .discounted-product-image {
    width: 70px;
    height: 70px;
  }

  .discounted-product-name {
    font-size: 14px;
  }

  .discounted-price {
    font-size: 15px;
  }
}

@keyframes floating-shine {

  0%,
  70% {
    inset-inline-end: -120%;
    opacity: 0
  }

  75% {
    opacity: .85
  }

  85% {
    inset-inline-end: 120%;
    opacity: .85
  }

  100% {
    inset-inline-end: 120%;
    opacity: 0
  }
}

/* Hide discounted products section in search mode */
body.search-mode .discounted-products-section {
  display: none !important;
}

body.search-mode .floating-whatsapp-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Productive Family Filters and Categories */
.pf-category-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
  padding: 17px 20px 13px;
  border: none;
  border-top: 1px solid #eee;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: #000;
}

.pf-category-row:last-child {
  border-bottom: none;
}

.bottom-sheet button.pf-category-row {
  border-radius: 0 !important;
}

.pf-category-row.is-active {
  color: var(--association-main-color);
  background-color: var(--association-main-color-lighter);
}

.pf-category-row i {
  display: none !important;
  font-size: 20px;
}

.pf-category-row.is-active i {
  display: inline-block !important;
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px 4px 12px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 500;
  border: none;
  background-color: #f5f6fb !important;
  color: var(--association-main-color) !important;
  cursor: pointer;
  margin-top: 10px;
  margin-inline-end: 6px;
}

.active-filter-tag i {
  font-size: 14px;
}

/* Bottom Sheet Tabs */
.sheet-tabs-container {
  display: flex;
  align-items: center;
  border-bottom: 4px solid #eee;
  margin-bottom: -2px;
  background: white;
}

.sheet-tab-btn {
  padding: 16px 15px 12px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 14.5px;
  font-weight: 500;
  color: #666;
  white-space: nowrap;
  cursor: pointer;
}

.sheet-tab-btn.active {
  color: var(--association-main-color);
  border-bottom-color: var(--association-main-color);
}

.sheet-tab-content {
  display: none;
}

.sheet-tab-content.active {
  display: block;
}

.association-tabs-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 10px 0;
}

.association-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f5f6fb;
  padding: 3px;
  border-radius: 50px;
  width: 100%;
}

.association-tab-btn {
  background: transparent;
  border: none;
  padding: 8px 15px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500 !important;
  color: #646465;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
}

.association-tab-btn.active {
  background: #fff;
  color: var(--association-main-color, var(--family-main-color, #000)) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* i18n: English (LTR) phone/prefix field — flip +966 prefix to the left, number to the right.
   Scoped to [dir="ltr"] so Arabic (rtl) is unchanged. */
[dir="ltr"] .input-with-prefix {
  flex-direction: row;
}

[dir="ltr"] .input-with-prefix .prefix,
[dir="ltr"] .input-with-prefix i {
  border-start-end-radius: 0 !important;
  border-start-start-radius: 15px !important;
  border-end-start-radius: 15px !important;
  border-end-end-radius: 0 !important;
  border-inline-start: none !important;
  border-inline-end: 1px solid #e0e0e0 !important;
}

[dir="ltr"] .input-with-prefix input {
  border-start-end-radius: 15px !important;
  border-start-start-radius: 0 !important;
  border-end-start-radius: 0 !important;
  border-end-end-radius: 15px !important;
  text-align: end !important;
}


/* RTL/LTR Automatic Icon Mirroring */
html[dir="ltr"] [class*="-arrow-left"],
html[dir="ltr"] [class*="-arrow-right"],
html[dir="ltr"] [class*="-chevron-left"],
html[dir="ltr"] [class*="-chevron-right"] {
  transform: scaleX(-1) !important;
}

html[dir="ltr"] .initiative-intro::before,
html[dir="ltr"] .initiative-intro::after,
html[dir="ltr"] .switch,
html[dir="ltr"] .switch::after {
  direction: rtl;
}

html[dir="ltr"] .logo-preview-wrapper {
  position: absolute;
  top: 50%;
  inset-inline-end: 50%;
  transform: translate(50%, -50%);
}

[dir="ltr"] .as-map-float-btn {
  transform: translateX(50%);
}

[dir="ltr"] .as-map-float-btn--with-cart {
  inset-inline-end: 55px !important;
}

[dir="ltr"] .add-to-cart-container {
  inset-inline-start: auto !important;
  inset-inline-end: 10px !important;
}

.input-with-prefix:has(input[type="tel"]) .prefix, .input-with-prefix:has(input[name*="phone"]) .prefix, .input-with-prefix:has(input[id*="phone"]) .prefix {
  border-start-end-radius: 0 !important;
  border-start-start-radius: 15px !important;
  border-end-start-radius: 15px !important;
  border-end-end-radius: 0 !important;
}

.input-with-prefix:has(input[type="tel"]) input, .input-with-prefix:has(input[name*="phone"]) input, .input-with-prefix:has(input[id*="phone"]) input {
  border-start-end-radius: 15px !important;
  border-start-start-radius: 0 !important;
  border-end-start-radius: 0 !important;
  border-end-end-radius: 15px !important;
}

.input-with-prefix:has(input[type="tel"]) .prefix, .input-with-prefix:has(input[name*="phone"]) .prefix, .input-with-prefix:has(input[id*="phone"]) .prefix {
  border-start-end-radius: 0 !important;
  border-start-start-radius: 15px !important;
  border-end-start-radius: 15px !important;
  border-end-end-radius: 0 !important;
}

.input-with-prefix:has(input[type="tel"]) input, .input-with-prefix:has(input[name*="phone"]) input, .input-with-prefix:has(input[id*="phone"]) input {
  border-start-end-radius: 15px !important;
  border-start-start-radius: 0 !important;
  border-end-start-radius: 0 !important;
  border-end-end-radius: 15px !important;
}