@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&amp;display=swap');
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&amp;display=swap');
@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

/* Fonts in use */
/* @import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=LINE+Seed+JP&display=swap'); */

/* ----------------------------------------------------
   Figtree
---------------------------------------------------- */
@font-face {
    font-family: 'Figtree Medium';
    src: url('../fonts/Figtree-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Figtree';
    src: url('../fonts/Figtree-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Figtree Bold';
    src: url('../fonts/Figtree-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ----------------------------------------------------
   DM Sans
---------------------------------------------------- */
@font-face {
    font-family: 'DM Sans Medium';
    src: url('..fonts/DMSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans Bold';
    src: url('../fonts/DMSans-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../fonts/DMSans-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ----------------------------------------------------
   LINE Seed JP
---------------------------------------------------- */
@font-face {
    font-family: 'LINE Seed JP Thin';
    src: url('../fonts/LINESeedJP-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed JP';
    src: url('../fonts/LINESeedJP-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed JP Bold';
    src: url('../fonts/LINESeedJP-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed JP ExtraBold';
    src: url('../fonts/LINESeedJP-ExtraBold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ----------------------------------------------------
   Debug: Form Boundaries
---------------------------------------------------- */
/* form {
  outline: 2px dashed red !important;
}

form * {
  outline: 1px dashed rgba(255, 0, 0, 0.25);
} */

/* ----------------------------------------------------
   Disable Text Selection & Dragging (Optional)
---------------------------------------------------- */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.no-link {
  pointer-events: none;
}

/* ----------------------------------------------------
   Typography
---------------------------------------------------- */
:root {
  --page-bg: #eef2f5;
  --gray-bg: #f4f5f7 !important;
  --dark: #000 !important;
  --dark-gray: #333 !important;
  --lighter-gray: #999 !important;
  --light-gray: #666 !important;
  --white: #fff !important;
  --gray: #666 !important;
  --text: #0f1720 !important;
  --text-dark: #222 !important;
  --maincolor: #825de6 !important;
  --maincolor2: #6336e3 !important;
  --text-white: #fff !important;
  --shadow: 0 12px 30px rgba(18, 28, 40, 0.06);
  --radius: 14px;
  --gap: 22px;
  --max-w: 500px;
  --orange: #ec9b49 !important;
  --red: #dc2626 !important;
  --green: #1ab54d !important;
  --light-green: #76d294 !important;
  --light-yellow: #fff5e9 !important;
  --yellow: #ffdaae !important;
  --gray-f5: #f5f5f5 !important;
  --light-purple-bg: rgba(108, 92, 231, 0.06);
  --card-hr-color: rgba(255, 255, 255, .6);
  --card-hr-color-2: rgba(255, 255, 255, .2);
}

input[type="password"],
input[type="email"],
input[type="text"],
input[type="file"],
input[type="num"],
input[type="number"],
textarea,
button,
body, p, ul li,
.form-control {
font-family: 'Figtree', sans-serif !important;
font-weight: 200 !important;
font-size: 13px !important;
font-optical-sizing: auto;
letter-spacing: .5;
font-style: normal;
color: var(--text);
}

/* Global Select Styling */
/* ----------------------------------------------------
   Custom Select (App Scoped)
---------------------------------------------------- */

.custom-select {
  background-color: #fff !important;
  font-size: 13px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 42px 10px 12px; /* space for arrow */
  height: 50px;
  line-height: 1.8;
  color: #111827;
  box-shadow: none;
  cursor: pointer;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  transition: all .2s ease;

  /* custom arrow */
  background-image:
    linear-gradient(45deg, transparent 50%, #6b7280 50%),
    linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

/* Hover */
.custom-select:hover {
  border-color: #c7d2fe;
}

/* Focus */
.custom-select:focus {
  border-color: #6336e3;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(99, 54, 227, 0.15);
}

/* Disabled */
.custom-select:disabled {
  background-color: #f3f4f6 !important;
  cursor: not-allowed;
  opacity: .9;
}

/* Small variant */
.custom-select.custom-select-sm {
  height: 40px;
  font-size: 12px;
}

/* Option font size */
.custom-select option {
  font-size: 13px;
  line-height: 1.8;
}

.custom-select option:hover {
  font-size: 13px;
  background: var(--maincolor) !important;
  color: var(--white);
}

/* Global Select Styling End */

.text-money, .product-desc-price, .product-price {
font-family: 'Figtree', sans-serif !important;
font-weight: 550 !important;
}

h1, h2, h3, h4, h5, h6, .widget_title {
font-size: 14px !important;
font-family: 'Figtree', sans-serif !important;
font-weight: 600 !important;
letter-spacing: .5;
}

.bulleted-list {
list-style: disc;
margin-left: 10px;
}

.text-lg {
font-family: 'LINE Seed JP', sans-serif !important;
font-size: 40px !important;
font-weight: 550 !important;
}

.input-label {
font-family: 'Figtree Medium', sans-serif !important;
font-size: 12px !important;
font-weight: 500;
color: #666 !important;
margin: 1px;
color: var(--text);
}

a, .breadcrumb-item {
font-size: 13px !important;
}

a {
font-size: 13px !important;
color: var(--maincolor);
font-weight: 500 !important;
}

a:hover {
color: var(--maincolor2);
}

.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.text-sm { font-size: 12px !important; }
.text-xs { font-size: 11px !important; }
.text-bold { font-weight: 700 !important; }
.text-semibold { font-weight: 600 !important; }
.text {color: var(--text) !important; }
.text-gray {color: var(--dark-gray) !important; }
.text-light-gray {color: var(--lighter-gray) !important; }
.text-green {color: var(--green) !important; }
.text-red {color: var(--red) !important; }
.text-light-green {color: var(--light-green) !important; }
.text-dark { color: var(--dark) !important; }
.maincolor { color: var(--maincolor); }
.maincolor2 { color: var(--maincolor2); }Figtree
.muted { color: var(--text); opacity: .9 !important; }
.text-muted { color: var(--text); opacity: .9 !important; }

.btn-primary {
color: var(--text-white);
}

select option {
  text-transform: none !important;
}

/* ----------------------------------------------------
   Ui/uX (Visuals)
---------------------------------------------------- */

/* ----------------------------------------------------
   KYC Review Table Alignment
---------------------------------------------------- */
.table-kyc-review th,
.table-kyc-review td {
  text-align: left !important;
  vertical-align: top;
  background-color: var(--white) !important;
}

/* ----------------------------------------------------
   KYC Review Table
---------------------------------------------------- */
.table-kyc-review th,
.table-kyc-review td {
  text-align: left !important;
  vertical-align: top;
}

.table-kyc-review .col-actions {
  text-align: left !important;
  white-space: nowrap;
}

.table-kyc-review .col-name {
  min-width: 220px;
}

.kyc-preview-wrap {
  min-height: 220px;
  background: #fff;
}

.table-kyc-review tr.table-active > td {
  background: rgba(95, 99, 242, 0.06) !important;
}

/* ----------------------------------------------------
   KYC Upload (Bank-Grade Minimal)
---------------------------------------------------- */
.dm-upload-avatar {
  position: relative;
  border: 1px dashed rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 14px 14px;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .08s ease;
  background: rgba(0,0,0,0.01);
}

.dm-upload-avatar:hover {
  border-color: rgba(0,0,0,0.22);
  background: rgba(0,0,0,0.02);
}

.dm-upload-avatar.dragover {
  border-color: rgba(0,0,0,0.35);
  background: rgba(0,0,0,0.03);
}

/* Keep dropzone text clean */
.dm-upload-avatar p,
.dm-upload-avatar span {
  margin: 0;
}

/* ----------------------------------------------------
   KYC Thumbnail Preview
---------------------------------------------------- */
.kyc-preview {
  width: 100%;
  height: 110px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.02);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  position: relative; /* needed for badges + X */
  overflow: hidden;
}

.kyc-preview canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
}

/* PDF preview state (no image) */
.kyc-preview.has-pdf {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 11px;
  color: rgba(0,0,0,0.65);
}

/* Optional: subtle focus ring when populated */
.kyc-preview.has-file {
  border-color: rgba(0,0,0,0.12);
  background-color: rgba(0,0,0,0.015);
}

/* ----------------------------------------------------
   KYC Badges (Uploaded + File Type) - On Preview Box
---------------------------------------------------- */
.kyc-preview.has-file::before {
  /* content: "✓ Uploaded"; */
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 11px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.70);
  letter-spacing: .2px;
}

.kyc-preview.has-file::after {
  content: attr(data-badge);
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.70);
  letter-spacing: .2px;
}

/* ----------------------------------------------------
   KYC Preview Layering Fix (Show Reset Button)
---------------------------------------------------- */
.kyc-preview.has-file::before,
.kyc-preview.has-file::after {
  pointer-events: none;
  z-index: 2;
}

/* ----------------------------------------------------
   KYC PDF Inline Preview
---------------------------------------------------- */
.kyc-preview embed,
.kyc-preview iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.kyc-preview iframe::-webkit-scrollbar,
.kyc-preview::-webkit-scrollbar {
  display: none;
}

/* ----------------------------------------------------
   KYC Reset Button (X) - On Preview Box
---------------------------------------------------- */
.kyc-remove { display: none; }
.kyc-preview.has-file ~ .col-sm-1 .kyc-remove { display: inline-block; }

.kyc-remove {
  color: var(--red);
}

.kyc-remove:hover {
  color: var(--dark-gray);
  transform: scale(1.05);
}

.kyc-remove {
  display: block;
}

/* ----------------------------------------------------
   KYC Preview Fade (All Uploaders)
---------------------------------------------------- */
.kyc-preview-row {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
  display: none; /* default hidden */
}

.kyc-preview-row.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------
   Optional: Tight meta spacing under preview
---------------------------------------------------- */
.image-meta,
#addressMeta {
  line-height: 1.25;
}
/* ----------------------------------------------------
   KYC UX End
---------------------------------------------------- */
.custom-upload {
  background: var(--light-yellow);
  color: var(--dark);
  border-radius: 12px;
}

.checkout-shipping-form [class^="step-"] { display: none; }
.checkout-shipping-form .step-1 { display: block; }

.merchant-name {
  display: inline-flex;
  align-items: center;
}

.verification-badge {
  width: 16px;
  height: 16px;
  /* object-fit: contain; */
  /* gap: 6px; */
  display: inline-flex;
  vertical-align: middle;
  margin: -2px 0 0 3px;
  transform: translateY(2px);
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;

  /* display: flex;
  align-items: center;
  justify-content: center; */

  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.user-avatar-square {
  width: 60px;
  height: 60px;
  border-radius: 8px;

  box-sizing: border-box;
  padding: 3px;

  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.user-avatar-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;       /* optional: inner rounding */
}

select optgroup {
  font-weight: 600 !important;
  margin-left: 10px !important;
}

.squared {
  border-radius: 0 !important;
}

.dropdown-section {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #999;
  pointer-events: none;
  padding: 8px 12px 4px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

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

.dropdown-thumb {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.dropdown-text span {
  font-weight: 500;
}

.dropdown-text small {
  display: block;
  font-size: 12px;
}

.variation-row {
  cursor: pointer;
}

.variation-row:hover {
  background: #f8f9fa;
}

.variation-row input[type="radio"] {
  transform: scale(1.1);
}

#addEventModal .modal-dialog {
  max-height: calc(100vh - 2rem);
}

#addEventModal .modal-content {
  max-height: calc(100vh - 2rem);
}

#addEventModal .modal-body {
  overflow-y: auto;
}

#previewFlier {
  width: 100%;
  height: 80px;
  border-radius: 6px;
  margin-top: 20px;

  /* IMPORTANT: correct relative path */
  background-image: url('../images/placeholder.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  background-color: #f5f6fa;
  transition: all 0.2s ease;
}

#previewFlier.has-image {
  border: none;
}

#previewLogo {
  width: 100%;
  height: 120px;
  border-radius: 6px;
  margin-top: 3px;

  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  background-color: #f5f6fa;
  transition: all 0.2s ease;
}

#previewLogo.has-image {
  border: none;
}

/* Mobile */
@media (max-width: 576px) {
#previewLogo {
  height: 85px;
}
}

.card-dark, .bg-dark {
  background: var(--dark);
  color: var(--text-white);
  /* border-radius: 8px; */
  /* box-shadow: var(--shadow); */
  padding: 15px;
  margin-bottom: 10px;
  /* width: 100%; */
}

.card-purple {
  background: var(--maincolor);
  color: var(--text-white);
  /* border-radius: 8px; */
  box-shadow: var(--shadow);
  padding: 15px;
  margin-bottom: 10px;
  /* width: 100%; */
}

.card-gray {
  background: var(--dark-gray);
  color: var(--text-white);
  /* border-radius: 8px; */
  /* box-shadow: var(--shadow); */
  padding: 15px;
  margin-bottom: 10px;
  text-align: center;
  /* width: 100%; */
}

.card-white {
  background: var(--text-white);
  color: var(--text);
  /* border-radius: 8px; */
  /* box-shadow: var(--shadow); */
  padding: 15px;
  margin-bottom: 10px;
  /* width: 100%; */
}

.card-gray hr, .card-dark hr {
  border: none;
  height: 1px;
  background: var(--card-hr-color);
}
.card-gray .link-line {
  border-top: 1px solid var(--card-hr-color-2) !important;
}

.modal-title {
  font-size: 16px !important;
}

#liveClock {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
}

.rounded { border-radius: 6px !important; }
.rounded-2 { border-radius: 12px !important; }
.rounded-3 { border-radius: 12px !important; box-shadow: var(--shadow); }

.parent-center {
  display: flex;
  justify-content: center;
}

input:focus {
    box-shadow: 0 0 0 2px rgba(59,130,246,.15);
}

input.disabled {
  background: var(--gray-f5);
  cursor: not-allowed;
  opacity: 0.8;
}

select.disabled {
  background: var(--gray-f5);
  cursor: not-allowed;
  opacity: 0.8;
}

/* Delete row animation */
.fade-out-row {
  opacity: 0;
  filter: blur(2px);
  transform: scale(0.98);
  transition: all 0.35s ease;
}

.fade-collapse-row {
  opacity: 0;
  height: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  transition: opacity 0.25s ease, height 0.25s ease;
}

/* ----------------------------------------------------
   Inline Job Rename
---------------------------------------------------- */
.job-title {
  padding: 4px 6px;
  border-radius: 4px;
  background: #fff;
  cursor: text;
}

/* Editing state */
.job-title[contenteditable="true"] {
  background: rgba(0, 0, 0, 0.04);
  box-shadow: inset 0 0 0 1px var(--primary-color);
  outline: none;
}

.job-title[contenteditable="true"]:focus {
  box-shadow: inset 0 0 0 2px var(--primary-color);
}

/* ----------------------------------------------------
   Payment Link
---------------------------------------------------- */
.preview-img {
  border-radius: 10px;
  height: 425px;
  width: 100%;
  overflow: hidden;
}

/* Mobile */
@media (max-width: 576px) {
.preview-img {
  border-radius: 10px;
  height: 300px;
  width: 100%;
  overflow: hidden;
}
}

/* Base rule */
.preview-img img {
  width: 100%;
  height: 100%;          /* ← REQUIRED */
  object-fit: cover;    /* ← DOES THE CROPPING */
  object-position: center;
  display: block;
}

/* Optional semantic class (safe to keep) */
.preview-crop {
  width: 100%;
  height: 100%;
}

/* ----------------------------------------------------
   Live Search
---------------------------------------------------- */
.customer-drop.customer-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    z-index: 9999;
    max-height: 260px;
    overflow-y: auto;
}

.customer-item {
    padding: 12px 15px;
    cursor: pointer;
}

.customer-item:hover {
    background: var(--gray-f5);
}

.add-customer {
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
}

/* ----------------------------------------------------
   Side Navbar
---------------------------------------------------- */

/* --------------------
   Base
-------------------- */
/* .sidebar_nav {
    background: #111;
} */

.sidebar_nav li {
    list-style: none;
}

/* .sidebar_nav a:hover,
.sidebar_nav span:hover,
.sidebar_nav li:hover {
    color: #fff;
    text-decoration: none;
} */

/* --------------------
   Hover (default items)
-------------------- */
.sidebar_nav > li:hover:not(.has-child):not(.active):not(.purple-li),
.sidebar_nav > li.has-child:hover {
    background-color: #222;
    color: #fff !important;
}

.sidebar_nav > li:hover > a,
.sidebar_nav > li:hover {
    color: #fff;
}

/* --------------------
   Active (non has-child)
-------------------- */
.sidebar_nav > li.active {
    background-color: #444;
}

.sidebar_nav > li.active > a,
.sidebar_nav > li.active > a span {
    color: #fff;
}

/* --------------------
   Purple Highlight
-------------------- */
.sidebar_nav .purple-li {
    background: var(--maincolor2);
}

.sidebar_nav .purple-li > a,
.sidebar_nav .purple-li > a span {
    color: #fff;
}

/* --------------------
   Has-Child (closed)
-------------------- */
.sidebar_nav .has-child > a {
    color: #ccc;
}

/* --------------------
   Has-Child (open / active)
-------------------- */
.sidebar_nav .has-child.open,
.sidebar_nav .has-child.active {
    background-color: #222;
}

/* Parent link */
.sidebar_nav .has-child.open > a,
.sidebar_nav .has-child.active > a,
.sidebar_nav .has-child.open > a span,
.sidebar_nav .has-child.active > a span {
    color: #fff !important;
}

/* Child links */
.sidebar_nav .has-child.open ul li a {
    color: #fff !important;
}

/* Hover inside open menu */
.sidebar_nav .has-child.open a:hover {
    color: #999 !important;
}

/* Active child (background only) */
.sidebar_nav .has-child.open ul li.active {
    background-color: #444;
}

.sidebar_nav .has-child.open ul li.active a {
    color: #fff !important;
}

/* ----------------------------------------------------
   (WebKit browsers)
---------------------------------------------------- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f2eafb;
}

::-webkit-scrollbar-thumb {
    background: #a485fb;
    border-radius: 10px;
    border: 2px solid #f2eafb;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ===== Scrollbar (Firefox) ===== */
* {
    scrollbar-width: thin;
    scrollbar-color: #a485fb #f2eafb;
}

/* ----------------------------------------------------
   Logo (Responsive)
---------------------------------------------------- */
/* Desktop */
.navbar-left .logo-area {
  margin-left: -48px;
}

/* Tablets */
@media (max-width: 992px) {
  .navbar-left .logo-area {
    margin-left: -24px;
  }
}

.banner-feature__shape {
  width: 225px;
}

/* Mobile */
@media (max-width: 576px) {
  .navbar-left .logo-area {
    margin-left: -24px;
  }
  .banner-feature__shape {
  display: none;
}
}

/* ----------------------------------------------------
   Input Field Tooltip
---------------------------------------------------- */
.inline-tooltip {
    position: relative;
}

.info-icon {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);

    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #999;
    color: #666;
    font-size: 11px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    background: #fff;
    z-index: 2;
}

/* Tooltip bubble */
.tooltip-text {
    visibility: hidden;
    opacity: 0;

    position: absolute;
    right: 0;
    top: -8px;
    transform: translateY(-100%);

    width: 250px;
    background: #333;
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;

    transition: opacity 0.2s ease;
    z-index: 10;
}

/* Arrow */
.tooltip-text::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 12px;
    border-width: 6px;
    border-style: solid;
    border-color: var(--text-dark) transparent transparent transparent;
}

/* Show tooltip */
.info-icon:hover .tooltip-text,
.info-icon:focus .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.tooltip {
    padding-right: 40px;
}

/* ----------------------------------------------------
   Badges
---------------------------------------------------- */
.yellow-bg {
  background-color: var(--yellow);
  color: var(--text);
  border-radius: 6px;
  text-align: center;
}

.green-bg {
  background-color: #20b66b;
  color: var(--white);
  border-radius: 6px;
  text-align: center;
}

.d-badge {
  display: inline-block;
  background: #34c97e;
  color: var(--text-white);
  padding: 1px 5px 1px 5px;
  margin-right: 3px;
  border-radius: 5px;
  text-align: center;
}

.badge-green {
  display: inline-block;
  background: var(--green);
  color: hsl(0, 0%, 100%) !important;
  padding: 5px 10px 4px 10px;
  font-size: 11px;
  font-weight: 550;
  border-radius: 3px;
  text-align: center;
}

.badge-orange {
  display: inline-block;
  background: var(--orange);
  color: hsl(0, 0%, 100%) !important;
  padding: 5px 10px 4px 10px;
  font-size: 11px;
  font-weight: 550;
  border-radius: 3px;
  text-align: center;
}

.badge-red {
  display: inline-block;
  background: var(--red);
  color: var(--text-white);
  padding: 5px 10px 4px 10px;
  font-size: 11px;
  font-weight: 550;
  border-radius: 3px;
  text-align: center;
}

.badge-purple {
  display: inline-block;
  background: var(--maincolor);
  color: var(--text-white);
  padding: 5px 10px 4px 10px;
  font-size: 11px;
  font-weight: 550;
  border-radius: 3px;
  text-align: center;
}

.badge-sm {
  display: inline-block;
  background: var(--dasrk);
  color: var(--text-white);
  padding: 0 10px 2px 10px;
  font-size: 9px;
  font-weight: 550;
  border-radius: 3px;
  text-align: center;
}

.badge-count {
  display: inline-block;
  background: var(--white);
  color: var(--dark);
  padding: 2px 5px 1px 4px;
  margin: -1px 0 0 10px;
  font-size: 11px;
  font-weight: 550;
  border-radius: 3px;
  text-align: center;
}

.badge-black {
  display: inline-block;
  background: var(--dark);
  color: var(--text-white);
  padding: 5px 10px 4px 10px;
  font-size: 11px;
  font-weight: 550;
  border-radius: 3px;
  text-align: center;
}

.badge-dark {
  display: inline-block;
  background: var(--dark-gray);
  color: var(--text-white);
  padding: 5px 10px 4px 10px;
  font-size: 11px;
  font-weight: 550;
  border-radius: 3px;
  text-align: center;
}

.badge-white {
  display: inline-block;
  background: var(--white);
  color: var(--text);
  padding: 5px 10px 4px 10px;
  font-size: 11px;
  font-weight: 550;
  border-radius: 3px;
  text-align: center;
}

.badge-white:hover {
  background: var(--dark);
  color:var(--white);
}

.badge-gray {
  display: inline-block;
  background: var(--lighter-gray);
  color: var(--text-white);
  padding: 5px 10px 4px 10px;
  font-size: 11px;
  font-weight: 550;
  border-radius: 3px;
  text-align: center;
}

.gray-bg {
  background: var(--gray);
  color: var(--text-white);
  padding: 6px 10px 5px 10px;
  font-size: 11px;
  font-weight: 550;
  border-radius: 3px;
  /* text-align: center; */
}

.gray-bg-2 {
  background: #f1f1f1;
  color: var(--text);
  padding: 30px;
  margin-top: 5px;
  font-size: 12px;
  border-radius: 8px;
  /* text-align: center; */
}

.badge-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--light-gray);
  color: var(--text-white);

  width: 20px;
  height: 17px;

  font-size: 10px !important;
  font-weight: 500;
  border-radius: 3px;
}

.badge-hover:hover, .badge-hover:active {
  background: var(--maincolor);
  color: var(--text-white);
}

.dark-btn {
  display: inline-block;
  background: var(--dark);
  border: 1px solid var(--dark);
  color: var(--text-white);
  padding: 8px 15px 8px 15px;
  font-size: 13px !important;
  font-weight: 550 !important;
  border-radius: 6px;
  text-align: center;
}

.dark-btn:hover, .dark-btn:active {
  background: var(--dark-gray);
  border: 1px solid var(--dark-gray);
  color: var(--text-white);
}

.dark-btn i{
  color: var(--light-green);
}

.rounded-circle {
  padding: 2px;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

/* ----------------------------------------------------
   Confirm Dialog
---------------------------------------------------- */
.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

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

.hidden {
    display: none !important;
}

.confirm-dialog {
    background: #fff;
    width: 92%;
    max-width: 520px;
    padding: 32px 28px;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    animation: scaleIn .18s ease-out;
}

.confirm-dialog h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.confirm-dialog p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 26px;
}

.confirm-actions {
    display: flex;
    gap: 12px;
}

.confirm-actions button {
    flex: 1;
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.confirm-actions .btn-secondary {
    background: var(--dark);
    color: #fff;
}

.confirm-actions .btn-secondary:hover {
    background: var(--gray);
    color: var(--text-white);
}

.btn { font-size: 13px important}

.btn-primary {
    background: #6336e3;
    color: #fff;
}

.btn-primary:hover {
    background: var(--text-dark) !important;
}

/* animation */
@keyframes scaleIn {
    from {
        transform: scale(.96);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ----------------------------------------------------
   Modal Dialog
---------------------------------------------------- */
#taskModal2 .modal-dialog {
    max-width: 70vw;
    width: 70vw;
    height: 70vh;
    margin: 10vh auto 0;
    border-radius: 26px;
}

#taskModal2 .modal-content {
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
}

#taskModal2 .modal-body {
    height: calc(100% - 56px); /* header/footer safe */
    overflow-y: auto;
}

/* Site-wide */
.modal-content {
    border-radius: 24px;
    overflow: hidden;
}

/* ----------------------------------------------------
   Datepicker Override
---------------------------------------------------- */
.datepicker table td,
.datepicker table th {
    padding: 0 !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    vertical-align: middle !important;
}

.datepicker table td.active,
.datepicker table td.active:hover,
.datepicker table td.active:focus {
    border-radius: 50%;
}

/* ----------------------------------------------------
   Tables (Global)
---------------------------------------------------- */
.table tbody tr {
  transition: background-color 0.15s ease-in-out;
  padding-left: 10px !important;
}

/* soft purple */
/* .table tbody tr:hover {
  background-color: rgba(108, 92, 231, 0.06);
  cursor: pointer;
} */

.light-purple-bg {
  background-color: var(--light-purple-bg);
}

.td-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* .td_title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
} */

.table-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Tooltip container */
.table-actions .tooltip {
    transition: opacity 0.15s ease, transform 0.15s ease;
  --bs-tooltip-bg: var(--maincolor);
  --bs-tooltip-color: #ffffff;
  --bs-tooltip-padding-x: 10px;
  --bs-tooltip-padding-y: 6px;
  --bs-tooltip-border-radius: 6px;
  --bs-tooltip-font-size: 12px;
  --bs-tooltip-opacity: 1;
}

/* Tooltip arrow */
.table-actions .tooltip .tooltip-arrow::before {
  border-top-color: #815de6;
}

.table-actions .tooltip.show {
  transform: translateY(-2px);
}

/* ----------------------------------------------------
   Tables (Custom 1)
---------------------------------------------------- */
.custom-table table {
  table-layout: fixed;
  width: 100%;
}

.custom-table table tr {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.invoice-table tr {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.custom-table table td, .invoice-table td {
  padding: 12px 8px;
}

.custom-table .input-table {
  width: 100% !important;
}

.custom-table th {
    text-align: left !important;
    font-size: 12px !important;
    /* font-weight: 400 !important; */
    opacity: .8 !important;
    color: var(--text);
    text-transform: capitalize !important;
    padding: 0 !important;
    width: 115px;
    background: var(--white);
}

.table-responsive th {
    font-size: 12px !important;
    font-weight: 550 !important;
    text-transform: capitalize !important;
}

.custom-table td {
    text-align: left !important;
    font-size: 12px !important;
    width: 120px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* title column is wider */
.custom-table .col-title-lg {
  width: 250px;
  max-width: 250px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* .custom-table .col-title {
  width: 200px;
  max-width: 200px;
  overflow: hidden;
  word-wrap: break-word;
  white-space: normal;
} */

/* Single line truncation */
.custom-table .col-name {
  width: 150px;
  max-width: 150px;
  /* align-items: top; */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.custom-table .col-email {
  width: 200px;
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.custom-table .col-vtop {
  align-items: top;
}

.custom-table .col-description {
  width: 280px;
  max-width: 280px;
  overflow: hidden;
  white-space: normal;
}

.custom-table .col-actions {
  width: 130px;
  max-width: 130px;
}

.custom-table .col-actions-2 {
  width: 40px;
  max-width: 40px;
}

.custom-table .col-id {
  width: 30px;
  max-width: 30px;
}

.custom-table .col-thumb {
  width: 70px;
  /* display: flex; */
  align-items: center;
}

.custom-table .col-thumb::after {
  content: "";
  display: inline-block;
  width: 12px; /* right spacing */
}

.custom-table .td_thumb {
  flex: 0 0 50px; /* critical: stop flex stretching */
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
}

.custom-table .td_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 3px;
  border: 1px solid rgba(0,0,0,.2);
}

.custom-table .col-thumb-sm {
  width: 60px;
  /* display: flex; */
  align-items: center;
}

.custom-table .td_thumb_sm {
  flex: 0 0 45px; /* critical: stop flex stretching */
  width: 45px;
  height: 45px;
  border-radius: 6px;
  overflow: hidden;
}

.custom-table .td_thumb_sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding: 3px;
  border: 1px solid rgba(0,0,0,.2);
}

/* ----------------------------------------------------
   Tables (Custom 2)
---------------------------------------------------- */
.custom-table-2 table {
  table-layout: fixed;
  width: 100%;
}

.custom-table-2 table tr {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.custom-table-2 table td {
  padding: 12px 8px;
}

.custom-table-2 .input-table {
  width: 60px !important;
}

.custom-table-2 th {
    text-align: left !important;
    font-size: 12px !important;
    font-weight: 550 !important;
    color: var(--dark);
    text-transform: capitalize !important;
    padding: 0 !important;
    width: 70px;
}

.custom-table-2 td {
    text-align: left !important;
    font-size: 12px !important;
    width: 70px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* title column is wider */
.custom-table-2 .col-title {
  width: 170px;
  max-width: 170px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.custom-table-2 .col-qty {
  width: 50px;
  max-width: 50px;
}

.custom-table-2 .col-actions {
  width: 30px;
  max-width: 30px;
}

/* ----------------------------------------------------
   Dropzone Drag & Drop Upload
---------------------------------------------------- */
.dm-upload-avatar {
    border: 2px dashed #ccc;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.dm-upload-avatar.dragover {
    border-color: #815de6;
    background: rgba(98, 44, 253, 0.05);
}

.preview-area {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.preview-area img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #eee;
}

.progress-wrap {
    margin-top: 15px;
    background: #eee;
    height: 6px;
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: #815de6;
    transition: width 0.2s ease;
}

/* ----------------------------------------------------
   Drag & Re-order UX
---------------------------------------------------- */
.preview-area {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.preview-item {
    position: relative;
    cursor: grab;
}

.preview-item.dragging {
    opacity: 0.5;
    cursor: grabbing;
}

.preview-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.delete-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4d4f;
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
}

.preview-item.main {
    outline: 2px solid #815de6;
    border-radius: 8px;
}

.main-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #815de6;
    opacity: .9;
    color: #fff;
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 4px;
    display: none;
    z-index: 2;
}

.preview-item.main .main-badge {
    display: inline-block;
}

.preview-item.no-delete .delete-btn {
    opacity: 0;
    pointer-events: none;
    cursor: not-allowed;
}

/* ----------------------------------------------------
   Highlight Search Keywords (Animated)
---------------------------------------------------- */
.product-item__body mark {
    background: linear-gradient(
        120deg,
        rgba(145, 58, 255, 0.25),
        rgba(145, 58, 255, 0.12)
    );
    /* color: #fff; */
    /* box-shadow: inset 0 -1px 0 rgba(145, 58, 255, 0.35); */
}

@keyframes markFadeIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ----------------------------------------------------
   Lazy Loading
---------------------------------------------------- */
.bkg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity .3s ease;
}

.bkg-image.img-loaded {
    opacity: 1;
}

.bkg-image.img-error {
    background-image: url("img/no-image.jpg");
    opacity: 1;
}

/* ------------------------------------------------
   Lazy Image Fade-In (CLEAN)
------------------------------------------------ */
img.lazy-img {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity .45s ease, transform .45s ease;
}

img.lazy-img.img-loaded {
    opacity: 1;
    transform: scale(1);
}

img.lazy-img.img-error {
    opacity: 1;
    filter: grayscale(1);
}

/* Optional grid fade while searching */
.product-page-list.is-loading {
    opacity: 0.4;
    transition: opacity .25s ease;
}

/* ------------------------------------------------
   Product Thumbnail Uniform Height
------------------------------------------------ */
.product-item__image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.product-item__image .like-icon {
    z-index: 99;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    font-size: 9px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
}

.draft-badge {
    background: #ffc107;
    color: #fff;
}

/* Desktop */
@media (min-width: 992px) {
    .product-item__image {
        height: 260px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .product-item__image {
        height: 220px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .product-item__image {
        height: 180px;
    }
}

/* Image behavior */
.product-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* fills box, crops nicely */
    object-position: center;
    display: block;
}

/* ----------------------------------------------------
   Toast
---------------------------------------------------- */
#toast-container {
  position: fixed;
  bottom: 30px;             /* distance from bottom */
  left: 50%;                /* center horizontally */
  transform: translateX(-50%);  /* perfect left-right centering */
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 11px !important;

  animation: toastIn 0.45s cubic-bezier(.21,1.02,.73,1),
             toastOut 0.35s ease-in forwards;
  animation-delay: 0s, 3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px); /* slide UP from below */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(10px); /* slide DOWN */
  }
}

/* Toast Mobile */
@media (max-width: 576px) {
#previewLogo {
  width: 80%;
}
}

/* ----------------------------------------------------
   Products Drop-Down (Custom)
---------------------------------------------------- */
.product-select {
    position: relative;
    width: 100%;
}

.product-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    cursor: pointer;
    border-radius: 6px;
    background: #fff;
}

.product-selected img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
}

.product-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 99;
}

.product-options li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
}

.product-options li:hover {
    background: var(--gray-f5);
}

.product-options img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
}


/* ----------------------------------------------------
   Soft HR line
---------------------------------------------------- */
/* Extra soft (Modern UI) */
/* hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(0,0,0,0.6),
    transparent
  );
  margin: 28px 0;
} */

/* Dark & friendly */
/* hr {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  margin: 24px 0;
} */

/* Simple and soft */
hr {
  border: none;
  height: 1px;
  background: rgba(0, 0, 0, .2);
  margin: 10px 0;
}

/* ----------------------------------------------------
   Cart
---------------------------------------------------- */
.link-line {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid rgba(0, 0, 0, .06);
  font-size: 12px;
}

.faint-bar {
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg,#f4f6f8,#f0f3f6);
  margin: 12px 0;
}

.link-line .label {
  font-weight: normal;
  opacity: .6;
}

.link-line .value {
  font-weight: 600 !important;
}

.billing-wrap {
    max-width: 480px;
}

.opacity-full {
    opacity: 1 !important;
}