html,
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1:focus {
  outline: none;
}

a,
.btn-link {
  color: #0071c1;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,

.content {
  padding-top: 1.1rem;
}

.valid.modified:not([type="checkbox"]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid red;
}

.validation-message {
  color: red;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.blazor-error-boundary {
  background:
    url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=)
      no-repeat 1rem/1.8rem,
    #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: white;
}

.blazor-error-boundary::after {
  content: "An error has occurred.";
}

.loading-progress {
  position: relative;
  display: block;
  width: 8rem;
  height: 8rem;
  margin: 20vh auto 1rem auto;
}

.loading-progress circle {
  fill: none;
  stroke: #e0e0e0;
  stroke-width: 0.6rem;
  transform-origin: 50% 50%;
  transform: rotate(-90deg);
}

.loading-progress circle:last-child {
  stroke: #1b6ec2;
  stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
  transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
  position: absolute;
  text-align: center;
  font-weight: bold;
  inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
  content: var(--blazor-load-percentage-text, "Loading");
}

code {
  color: #c02d76;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(3px);
  z-index: 1040;
}

.drawer-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(92vw, 900px);
  height: min(90vh, 820px);
  max-height: 90vh;
  background: #f7f9fb;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.28);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translate(-50%, -50%);
  animation: product-modal-in 0.22s ease-out;
}

.coupon-usage-drawer {
  width: 80vw;
}

.user-address-drawer {
  width: 80vw;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.9);
}

.drawer-eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #0f766e;
  text-transform: uppercase;
}

.drawer-header h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  color: #1f2937;
}

.drawer-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #475569;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close:hover {
  background: rgba(13, 148, 136, 0.08);
  border-color: rgba(13, 148, 136, 0.35);
  color: #0f766e;
}

.product-preview-modal {
  z-index: 1060;
}

.product-preview-body {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
  gap: 24px;
}

.product-preview-gallery {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f4;
  border: 1px solid #e1ebe9;
  border-radius: 8px;
  overflow: hidden;
}

.product-preview-image {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #fff;
}

.product-preview-placeholder {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: #64748b;
}

.product-preview-placeholder i {
  font-size: 42px;
}

.product-preview-details h3 {
  margin: 14px 0 8px;
  color: #1f2937;
}

.product-preview-variants {
  margin-top: 20px;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}

.product-preview-variant {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f2;
  font-size: 13px;
}

.product-preview-thumbnails {
  display: flex;
  gap: 8px;
  padding: 0 24px 12px;
  overflow-x: auto;
}

.product-preview-thumbnails img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid #dbe5e3;
  border-radius: 6px;
}

@media (max-width: 640px) {
  .product-preview-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-preview-gallery,
  .product-preview-image {
    min-height: 220px;
    height: 220px;
  }
}

.drawer-form {
  padding: 14px 18px 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f7f9fb;
}

.product-form-tabs {
  display: flex;
  gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.product-form-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.product-form-tab.active {
  border-bottom-color: #0f766e;
  color: #0f766e;
}

.product-form-tab-number {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.72rem;
}

.product-form-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-form-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #1f2937;
  font-size: 0.95rem;
  font-weight: 700;
}

.product-form-section-title small {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 500;
}

.drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 10px;
}

.drawer-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-field.full-width {
  grid-column: 1 / -1;
}

.drawer-field label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.02em;
}

    .drawer-field .form-control {
        border: 1px solid rgba(148, 163, 184, 0.75);
        background: rgba(255, 255, 255, 0.9);
        border-radius: 6px;
        min-height: 25px;
        height: 25px;
        padding: 0.45rem 0.7rem;
        font-size: 0.8rem;
        color: #0f172a;
        box-shadow: none;
    }

.drawer-field .searchable-dropdown-wrapper {
  width: 100%;
}

.drawer-field textarea.form-control {
  min-height: 110px;
  height: auto;
  resize: vertical;
}

.drawer-field .form-control:focus {
  border-color: rgba(13, 148, 136, 0.85);
  box-shadow: 0 0 0 0.15rem rgba(13, 148, 136, 0.12);
  outline: none;
}

.product-editor-form {
  gap: 10px;
}

.product-editor-form .product-form-tabs {
  padding-bottom: 6px;
}

.product-editor-form .product-form-tab {
  gap: 6px;
  padding: 6px 10px;
  font-size: 0.78rem;
}

.product-editor-form .product-form-tab-number {
  width: 20px;
  height: 20px;
  font-size: 0.68rem;
}

.product-editor-form .product-form-tab-panel,
.product-editor-form .drawer-role-picker {
  gap: 12px;
}

.product-editor-form .drawer-grid {
  gap: 12px 14px;
}

.product-editor-form .drawer-field {
  gap: 5px;
}

.product-editor-form .drawer-field label {
  font-size: 0.74rem;
}

.product-editor-form .drawer-field .form-control,
.product-editor-form .searchable-dropdown-input {
  min-height: 25px;
  height: 25px;
 /* padding: 0.25rem 0.55rem;*/
  font-size: 0.8rem;
}

.product-editor-form .drawer-field textarea.form-control {
  min-height: 76px;
  height: auto;
}

.product-editor-form .drawer-actions .btn {
  min-width: 110px;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
}

.drawer-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
}

.drawer-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: #0f766e;
}

.drawer-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 4px 0;
}

.drawer-check-grid .drawer-checkbox {
  margin: 0;
}

.drawer-role-picker {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-role-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #475569;
}

.drawer-role-head small {
  color: #0f766e;
  letter-spacing: 0.04em;
}

.drawer-role-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.9);
  padding: 9px 10px;
  cursor: pointer;
}

.drawer-role-option input {
  margin-top: 3px;
  accent-color: #0f766e;
}

.drawer-role-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer-role-meta strong {
  font-size: 0.96rem;
  color: #0f172a;
}

.drawer-role-meta small {
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.4;
}

.drawer-empty {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
  padding: 4px 2px;
}

.drawer-permission-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.9);
  padding: 10px;
}

.drawer-permission-select {
  margin: 0;
}

.drawer-permission-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding-left: 2px;
}

.drawer-permission-flags label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.77rem;
  font-weight: 600;
  color: #475569;
}

.drawer-permission-flags input {
  accent-color: #0f766e;
}

.drawer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.drawer-actions .btn {
  min-width: 130px;
  border-radius: 10px;
  font-weight: 600;
  padding: 0.76rem 1.2rem;
}

@keyframes product-modal-in {
  from {
    transform: translate(-50%, -48%) scale(0.98);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

@media (max-width: 992px) {
  .drawer-panel {
    width: min(94vw, 760px);
    height: min(92vh, 820px);
  }
}

.image-upload-picker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.image-upload-trigger {
  width: 100%;
  border: 1.5px dashed rgba(15, 118, 110, 0.45);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.08),
    rgba(59, 130, 246, 0.05)
  );
  color: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
  padding: 10px;
}

.image-upload-trigger:hover {
  border-color: rgba(15, 118, 110, 0.8);
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.12),
    rgba(59, 130, 246, 0.08)
  );
}

.image-upload-trigger img {
  width: 100%;
  height: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.image-upload-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.image-upload-clear {
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  color: #475569;
  font-size: 0.78rem;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}

.image-picker-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(46vw, 720px);
  background: #f7f9fb;
  border-left: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: -10px 0 18px rgba(15, 23, 42, 0.08);
  z-index: 1051;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: drawer-slide-in 0.28s ease-out;
}

.image-picker-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 14px;
  overflow-y: auto;
}

.image-picker-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.image-picker-tabs button {
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: capitalize;
  color: #475569;
  cursor: pointer;
}

.image-picker-tabs button.active {
  background: #0f766e;
  border-color: #0f766e;
  color: white;
}

.image-upload-file {
  display: block;
  border: 1px dashed rgba(15, 118, 110, 0.5);
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.05);
  padding: 0.9rem 1rem;
  cursor: pointer;
  color: #0f172a;
  font-weight: 600;
}

.image-upload-file input {
  display: none;
}

.image-upload-error {
  border-radius: 10px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(254, 226, 226, 0.8);
  color: #b91c1c;
  padding: 0.7rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.image-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.image-picker-item {
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
  padding: 0;
}

.image-picker-item.selected {
  border-color: #0f766e;
  box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
}

.image-picker-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.image-picker-item span {
  padding: 0.7rem 0.8rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 992px) {
  .image-picker-panel {
    width: min(82vw, 620px);
  }
}

@media (max-width: 576px) {
  .drawer-panel {
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
  }

  .coupon-usage-drawer {
    width: 100vw;
  }

  .user-address-drawer {
    width: 100vw;
  }

  .image-picker-panel {
    width: 100vw;
  }

  .drawer-grid {
    grid-template-columns: 1fr;
  }

  .drawer-actions {
    flex-direction: column-reverse;
  }

  .drawer-actions .btn {
    width: 100%;
  }

  .image-picker-grid {
    grid-template-columns: 1fr;
  }
}



:root {
    --body-bg-rgb: 248, 249, 253;
    --primary-rgb: 0, 150, 148;
    --secondary-rgb: 255, 73, 205;
    --primary-rgb: 0, 150, 148;
    --secondary-rgb: 255, 73, 205;
    --warning-rgb: 253, 175, 34;
    --info-rgb: 0, 201, 255;
    --success-rgb: 50, 212, 132;
    --danger-rgb: 255, 103, 87;
    --light-rgb: 250, 248, 253;
    --dark-rgb: 10, 10, 10;
    --orange-rgb: 250, 129, 40;
    --pink-rgb: 255, 105, 180;
    --teal-rgb: 53, 181, 170;
    --purple-rgb: 190, 43, 235;
    --green-rgb: 0, 201, 167;
    --default-body-bg-color: rgb(var(--body-bg-rgb));
    --primary-color: rgb(var(--primary-rgb));
    --primary-border: rgb(var(--primary-rgb));
    --primary01: rgba(var(--primary-rgb), 0.1);
    --primary02: rgba(var(--primary-rgb), 0.2);
    --primary03: rgba(var(--primary-rgb), 0.3);
    --primary04: rgba(var(--primary-rgb), 0.4);
    --primary05: rgba(var(--primary-rgb), 0.5);
    --primary06: rgba(var(--primary-rgb), 0.6);
    --primary07: rgba(var(--primary-rgb), 0.7);
    --primary08: rgba(var(--primary-rgb), 0.8);
    --primary09: rgba(var(--primary-rgb), 0.9);
    --primary005: rgba(var(--primary-rgb), 0.05);
    --default-font-family: "Quicksand", sans-serif;
    --default-font-weight: 400;
    --default-text-color: #011a42;
    --default-border: #e2e8ee;
    --default-background: #f9f7fc;
    --menu-bg: #fff;
    --menu-prime-color: #302d36;
    --menu-icon-color: #6c7e96;
    --header-icon-color: #6c7e96;
    --menu-border-color: #e2e8ee;
    --header-bg: #fff;
    --header-prime-color: #302d36;
    --header-border-color: #e2e8ee;
    --custom-white: #fff;
    --custom-black: #000;
    --bootstrap-card-border: #e2e8ee;
    --list-hover-focus-bg: #f5f6f7;
    --text-muted: #5d6576;
    --input-border: #e2e8ee;
    --form-control-bg: #ffffff;
    --bs-link-color-rgb: var(--default-text-color);
    /* Gray set */
    --gray-1: #f9fafb;
    --gray-2: #f2f4f5;
    --gray-3: #e6eaeb;
    --gray-4: #dbdfe1;
    --gray-5: #949eb7;
    --gray-6: #7987a1;
    --gray-7: #4d5875;
    --gray-8: #383853;
    --gray-9: #323251;
    /* White set */
    --white-1: rgba(255, 255, 255, 0.1);
    --white-2: rgba(255, 255, 255, 0.2);
    --white-3: rgba(255, 255, 255, 0.3);
    --white-4: rgba(255, 255, 255, 0.4);
    --white-5: rgba(255, 255, 255, 0.5);
    --white-6: rgba(255, 255, 255, 0.6);
    --white-7: rgba(255, 255, 255, 0.7);
    --white-8: rgba(255, 255, 255, 0.8);
    --white-9: rgba(255, 255, 255, 0.9);
    /* Black set */
    --black-1: rgba(0, 0, 0, 0.1);
    --black-2: rgba(0, 0, 0, 0.2);
    --black-3: rgba(0, 0, 0, 0.3);
    --black-4: rgba(0, 0, 0, 0.4);
    --black-5: rgba(0, 0, 0, 0.5);
    --black-6: rgba(0, 0, 0, 0.6);
    --black-7: rgba(0, 0, 0, 0.7);
    --black-8: rgba(0, 0, 0, 0.8);
    --black-9: rgba(0, 0, 0, 0.9);
}
/*Font Family*/
/*Font Size*/
/*Font Weight*/
/*Body & Text colors*/
/*Default Background Color*/
/*Border Color*/
/*Border Radius*/
/*Box Shadow*/
/* Header Variables */
/*Menu Variables*/
/*Color Variables*/
/* social icons colors */
/*gradient variables*/
/*gray set*/
/*white set*/
/*black set*/
/* dark mode */
[data-theme-mode=dark] {
    --body-bg-rgb: 22, 22, 35;
    --body-bg-rgb2: 38, 38, 52;
    --menu-bg: rgb(var(--body-bg-rgb));
    --menu-border-color: rgba(255, 255, 255, 0.1);
    --menu-prime-color: rgba(255, 255, 255, 0.7);
    --menu-icon-color: rgba(255, 255, 255, 0.7);
    --header-icon-color: rgba(255, 255, 255, 0.7);
    --header-bg: rgb(var(--body-bg-rgb));
    --header-prime-color: rgba(255, 255, 255, 0.4);
    --header-border-color: rgba(255, 255, 255, 0.1);
    --custom-white: rgb(var(--body-bg-rgb));
    --custom-black: #fff;
    --default-border: rgba(255, 255, 255, 0.1);
    --default-text-color: rgba(255, 255, 255, 0.8);
    --light-rgb: 38, 38, 52;
    --dark-rgb: 240, 245, 248;
    --bootstrap-card-border: rgba(255, 255, 255, 0.1);
    --list-hover-focus-bg: rgba(255, 255, 255, 0.1);
    --default-background: rgb(var(--body-bg-rgb2));
    --default-body-bg-color: rgb(var(--body-bg-rgb2));
    --text-muted: rgba(255, 255, 255, 0.5);
    --input-border: rgba(255, 255, 255, 0.1);
    --form-control-bg: rgb(var(--body-bg-rgb));
    color-scheme: dark;
    /* Gray Set */
    --gray-1: #110f0f;
    --gray-2: #17171c;
    --gray-3: #393946;
    --gray-4: #505062;
    --gray-5: #73738c;
    --gray-6: #8f8fa3;
    --gray-7: #ababba;
    --gray-8: #c7c7d1;
    --gray-9: #e3e3e8;
    /* white set */
    --white-1: rgba(0, 0, 0, 0.1);
    --white-2: rgba(0, 0, 0, 0.2);
    --white-3: rgba(0, 0, 0, 0.3);
    --white-4: rgba(0, 0, 0, 0.4);
    --white-5: rgba(0, 0, 0, 0.5);
    --white-6: rgba(0, 0, 0, 0.6);
    --white-7: rgba(0, 0, 0, 0.7);
    --white-8: rgba(0, 0, 0, 0.8);
    --white-9: rgba(0, 0, 0, 0.9);
    /* black set */
    --black-1: rgba(255, 255, 255, 0.1);
    --black-2: rgba(255, 255, 255, 0.2);
    --black-3: rgba(255, 255, 255, 0.3);
    --black-4: rgba(255, 255, 255, 0.4);
    --black-5: rgba(255, 255, 255, 0.5);
    --black-6: rgba(255, 255, 255, 0.6);
    --black-7: rgba(255, 255, 255, 0.7);
    --black-8: rgba(255, 255, 255, 0.8);
    --black-9: rgba(255, 255, 255, 0.9);
}

/* Centering wrapper */
#mainloader {
    position: relative;
    height: 100vh; /* full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

    /* Background image layer */
    #mainloader::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../img/loader_bg7.jpg'); /* replace with your image path */
        background-size: contain; /* ensures the image covers the entire viewport */
        background-position: center;
        background-repeat: no-repeat;
        filter: blur(0px) brightness(0.5);
        z-index: 0;
        opacity: 0.1; /* Adjust opacity of the image (0.0 - 1.0) */
    }

    /* Optional overlay */
    #mainloader::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.3); /* optional soft white overlay */
        z-index: 1;
    }


/* Preloader container */
.preloader {
    text-align: center;
    /*background-color:#fff !important;*/
}

    /* Company name */
    .preloader .company {
        font-size: 2.2rem;
        font-weight: 600;
        color: #222;
        text-transform: uppercase;
        letter-spacing: 10px;
        margin-bottom: 2px;
        padding-left: 10px;
        padding-right: 10px;
        animation: fadeInUp 0.8s ease both;
        /*background-color: #fff !important;*/
    }

    /* Tagline */
    .preloader .tagline {
        font-size: 0.8rem;
        font-weight: 400;
        color: #666;
        padding-left: 10px;
        padding-right: 10px;
        animation: fadeInUp 1s ease both;
        animation-delay: 0.2s;
        /*background-color: #fff !important;
        padding-top: 5px;
        padding-bottom: 5px;*/
    }

/* Simple elegant loader spinner */
.spinner {
    width: 25px;
    height: 25px;
    border: 3px solid #e0e0e0;
    border-top: 3px solid #0078ff;
    padding-top: 5px;
    border-radius: 50%;
    margin: 5px auto;
    animation: spin 1s linear infinite;
    animation-delay: 0.3s;
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Top Header Dialogbox */
/* Overlay */
.company-selection-dialog {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Dialog box */
.cmp-dialog-content {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

/* Header row */
.dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

    .dialog-header h2 {
        font-size: 18px;
        color: #2e2e2e;
        margin: 0;
    }

/* Company list */
.custom-company-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.company-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .company-item:hover {
        background-color: var(--default-background);
        border-color: var(--primary-border);
    }

    /* Selected company style */
    .company-item.selected {
        background-color: var(--default-background);
        border: 1px solid var(--primary-border);
        font-weight: 600;
    }

/* Checkmark icon */
.selected-icon {
    color: var(--primary-border);
    font-size: 18px;
}




/* Login */
/* Background Container */
.login-background-container {
    background: url('../img/yourbackground2.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Keyframe for Zoom-in effect */
@keyframes zoomIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/* Apply Zoom-in effect to the Login Card */
.card {
    animation: zoomIn 0.6s ease-out;
}



/* Apply Zoom-in effect to the Login Card */
/*.custom-alert {
    position: relative;
    padding: 20px 60px 20px 20px;
    background-color: #e0f7fa;
    color: #006064;
    border-left: 6px solid #00acc1;
    border-radius: 8px;
    max-width: 600px;
    margin: 20px auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

    .custom-alert.success {
        background-color: #e8f5e9;
        color: #2e7d32;
        border-left-color: #43a047;
    }

    .custom-alert.error {
        background-color: #ffebee;
        color: #c62828;
        border-left-color: #e53935;
    }

    .custom-alert.warning {
        background-color: #fff8e1;
        color: #f9a825;
        border-left-color: #fbc02d;
    }

    .custom-alert .close-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        font-size: 20px;
        color: inherit;
        cursor: pointer;
    }

.get_voucher-alert {
    position: relative;
    padding: 5px 5px 5px 20px;
    background-color: #e0f7fa;
    color: #006064;
    border-radius: 8px;
    width: 100%;
}

    .get_voucher-alert.success {
        background-color: #e8f5e9;
        color: #2e7d32;
        border-left-color: #43a047;
    }*/





/*.custom-select-container {
    position: relative;
}

.selected-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border: 2px solid rgb(235, 237, 242);
    border-radius: 0.25rem;
    background-color: #fff;
    cursor: pointer;
    min-height: 38px;
}

.dropdownw-arrow {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

    .dropdownw-arrow.open {
        transform: rotate(180deg);
    }

.dropdownw-container {
    position: absolute;
    width: 100%;
    max-height: 300px;
    background: white;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    margin-top: 2px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transform: translateZ(0);
}

.search-container {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.search-input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.options-container {
    max-height: 230px;
    overflow-y: auto;
}

.option {
    padding: 8px 12px;
    cursor: pointer;
}

    .option:hover {
        background-color: #f8f9fa;
    }

    .option.selected {
        background-color: #e9ecef;
    }

.no-results {
    padding: 10px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}
*/






/*.no-internet-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
}

.dialog-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.4s ease-out;
}

    .dialog-content i {
        font-size: 50px;
        margin-bottom: 1rem;
    }

    .dialog-content img {
        width: 100px;
        margin-bottom: 1rem;
    }

    .dialog-content h2 {
        margin: 0 0 0.5rem;
        color: #e53935;
    }

    .dialog-content p {
        margin-bottom: 1.5rem;
        color: #555;
    }

    .dialog-content button {
        background-color: #e53935;
        color: #fff;
        border: none;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        border-radius: 6px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .dialog-content button:hover {
            background-color: #c62828;
        }

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}*/














/*.comProfile {
    border: 1px solid #dfdede;
    background: #f9f9f9;
    border-radius: 5px;
    margin-right: 5px;
    font-size: 14px;
    padding: 7px 5px;
}*/
/* Add this CSS to your site style or inline */

/*.lds-ripple {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
}

    .lds-ripple .lds-pos {
        position: absolute;
        border: 4px solid #3498db;
        opacity: 1;
        border-radius: 50%;
        animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .lds-ripple .lds-pos:nth-child(2) {
            animation-delay: -0.5s;
        }

@keyframes lds-ripple {
    0% {
        top: 28px;
        left: 28px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: -1px;
        left: -1px;
        width: 58px;
        height: 58px;
        opacity: 0;
    }
}

.SEmessage {
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 13px;
    position: relative;
    animation: slideIn 0.4s ease-out;
}

    .SEmessage.success {
        background-color: #f6fff8;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .SEmessage.error {
        background-color: #fff7f8;
        color: #ff0018;
        border: 1px solid #ff0018;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.empty {
    backdrop-filter: blur(14px);
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 1.5rem;
    text-align: center;
    width: 100%;
    animation: fadeInUp .7s ease;
}

.icon {
    width: 60px;
    height: 60px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg,#6366f1,#3b82f6);
    color: white;
    font-size: 34px;
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}*/

/* Shimmer highlight inside the icon */
/*.icon::after {
        content: "";
        position: absolute;
        top: 0;
        left: -50%;
        width: 200%;
        height: 100%;
        background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
        animation: shimmer 2.5s infinite;
    }

h2 {
    margin: 1.2rem 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 600;
}

p {
    margin: 0 0 1.6rem;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}*/

/* Animations */
/*@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(50%);
    }
}*/







/* Overlay */
/*.gst-selection-dialog {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', Roboto, sans-serif;
}*/

/* Dialog box (no scroll here now) */
/*.gst-dialog-content {
    background: #fff;
    padding: 2rem 1.5rem 1rem 2rem;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease-out;
}*/

/* Header row */
/*.gst-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.dialog-header h2 {
    font-size: 20px;
    color: #2e2e2e;
    margin: 0;
}*/

/* Cancel (close) button */
/*.gst-cancel-btn {
    background: #f44336;
    color: #fff;
    border: none;
    font-size: 18px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cancel-btn:hover {
    background: #d32f2f;
}*/

/* Company list with scroll */
/*.custom-gst-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 300px;*/ /* Adjust height as needed */
/*overflow-y: auto;
    padding-right: 6px;*/ /* Prevent content overlap with scrollbar */
/*}*/

/* Custom scrollbar for list */
/*.custom-gst-list::-webkit-scrollbar {
        width: 8px;
    }

    .custom-gst-list::-webkit-scrollbar-thumb {
        background-color: #cccccc;
        border-radius: 10px;
    }

    .custom-gst-list::-webkit-scrollbar-track {
        background: transparent;
    }

.gst-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

    .gst-item:hover {
        background-color: #f0f8ff;
        border-color: #007BFF;
        transform: scale(1.02);
    }*/

/* Selected item style */
/*.gst-item.selected {
        background-color: #e6f2ff;
        border: 1px solid #007BFF;
        font-weight: 600;
    }*/

/* Checkmark icon */
/*.selected-icon {
    color: #007BFF;
    font-size: 18px;
}*/

/* Slide-in animation */
/*@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/

/* Table action buttons */
.row-actions {
    white-space: nowrap;
}

    .row-actions button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        margin-left: 6px;
        padding: 0;
        border: 1px solid #d9e1e8;
        border-radius: 6px;
        background: #ffffff;
        color: #344054;
        font-size: 16px;
        line-height: 1;
        cursor: pointer;
        transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

        .row-actions button:first-child:hover,
        .row-actions button:first-child:focus-visible {
            border-color: #009694;
            background: #e9f8f7;
            color: #007a78;
        }

        .row-actions button[title="Activate"],
        .row-actions button[title="Deactivate"] {
            border-color: #b8e3df;
            background: #effaf9;
            color: #007a78;
        }

            .row-actions button[title="Activate"]:hover,
            .row-actions button[title="Activate"]:focus-visible,
            .row-actions button[title="Deactivate"]:hover,
            .row-actions button[title="Deactivate"]:focus-visible {
                border-color: #009694;
                background: #d9f3f1;
            }

        .row-actions button[title="Delete"] {
            border-color: #f1c5c5;
            background: #fff7f7;
            color: #c03939;
        }

            .row-actions button[title="Delete"]:hover,
            .row-actions button[title="Delete"]:focus-visible {
                border-color: #d64545;
                background: #fdeaea;
                color: #a52828;
            }

        .row-actions button:focus-visible {
            outline: 3px solid rgba(0, 150, 148, 0.2);
            outline-offset: 1px;
        }

        .row-actions button:active {
            transform: scale(0.94);
        }

.tree-view-container {
    min-height: 180px;
    padding: 14px;
    border: 1px solid #e5f4f4;
    border-radius: 6px;
    background: #ffffff;
}

.tree-node {
    position: relative;
}

.tree-node-row {
    min-height: 48px;
    margin-bottom: 6px;
    border: 1px solid #e5e9ee;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

    .tree-node-row.tree-root {
        border-left: 3px solid #009694;
    }

    .tree-node-row:hover {
        border-color: #b8e3df;
        background: #f8fcfc;
    }

.tree-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
}

.tree-spacer {
    display: inline-block;
    width: 28px;
    height: 28px;
}

.tree-thumb {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e5e9ee;
}

@media (max-width: 640px) {
    .tree-node-row {
        align-items: flex-start !important;
        gap: 8px;
    }

        .tree-node-row > div:first-child {
            min-width: 0;
            flex-wrap: wrap;
        }

        .tree-node-row .row-actions {
            flex-shrink: 0;
        }
}

@media (max-width: 640px) {
    .row-actions button {
        width: 30px;
        height: 30px;
        margin-left: 3px;
    }
}

