/* ==========================================================================
   SKANA.QR Custom Stylesheet
   Framework: Bootstrap 5.3 (xxl containers)
   Design Aesthetic: Exact matching white header, sky blue hero background, crisp typography
   ========================================================================== */

:root {
  --sk-primary: #0060df;
  --sk-primary-hover: #004bbd;
  --sk-primary-light: #e6f0ff;
  --sk-primary-glow: rgba(0, 96, 223, 0.25);
  
  --sk-sky-bg: linear-gradient(180deg, #99cfff 0%, #aed8ff 45%, #cae5ff 75%, #99cfff 100%);
  --sk-sky-bg-new: linear-gradient(
    180deg,
    rgba(255, 251, 255, 0.90) 0%,
    rgba(105, 190, 255, 0.51) 47.6%,
    rgba(105, 190, 255, 0.62) 100%) ;
  --sk-sky-hero: #95cbff;
  
  --sk-dark: #052165;
  --sk-dark-muted: #112855;
  --sk-text-heading: #0f172a;
  --sk-text-body: #334155;
  --sk-text-muted: #64748b;
  
  --sk-bg-subtle: #f0f7ff;
  --sk-bg-card: #ffffff;
  --sk-border-color: #e2e8f0;
  
  --sk-radius-sm: 8px;
  --sk-radius-md: 12px;
  --sk-radius-lg: 20px;
  --sk-radius-xl: 24px;
  
  --sk-font: 'Plus Jakarta Sans', 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--sk-font);
  color: var(--sk-text-body);
  background-color: #F0F8FF;
  overflow-x: hidden;
  line-height: 1.6;
}

/* --- Global Utility Helpers --- */
.text-navy {
  color: #0b192c !important;
}

.text-primary-blue {
  color: var(--sk-primary) !important;
}

.fw-extrabold {
  font-weight: 800 !important;
}

/* --- Header / Navigation Bar --- */
.header-navbar {
  background-color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0.85rem 0;
  transition: all 0.3s ease;
  z-index: 1030;
}

.navbar-brand img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  color: #1e293b !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--sk-primary) !important;
}

.btn-primary-blue {
  background-color: var(--sk-primary);
  color: #ffffff !important;
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.35rem;
  border-radius: var(--sk-radius-md);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px var(--sk-primary-glow);
}

.btn-primary-blue:hover {
  background-color: var(--sk-primary-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 96, 223, 0.35);
}

.btn-outline-blue {
  background-color: transparent;
  color: var(--sk-primary) !important;
  border: 1.5px solid var(--sk-primary) !important;
  font-weight: 600;
  padding: 0.6rem 1.35rem;
  border-radius: var(--sk-radius-md);
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-outline-blue:hover {
  background-color: var(--sk-primary);
  color: #ffffff !important;
  border-color: var(--sk-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--sk-primary-glow);
}

.btn-login {
  color: var(--sk-primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.55rem 1.25rem;
  border: 1.5px solid var(--sk-primary) !important;
  border-radius: var(--sk-radius-md);
  transition: all 0.25s ease;
  background-color: transparent;
}

.btn-login:hover {
  background-color: var(--sk-primary);
  color: #ffffff !important;
  border-color: var(--sk-primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--sk-primary-glow);
}

/* --- Hero Section with Sky Blue Background --- */
.hero-sky-section {
  background: var(--sk-sky-bg);
  background: linear-gradient(
    180deg,
    rgba(255, 251, 255, 0.90) 0%,
    rgba(105, 190, 255, 0.51) 47.6%,
    rgba(105, 190, 255, 0.62) 100%
);
  background: var(--sk-sky-bg-new);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  position: relative;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #334155;
  max-width: 660px;
  margin: 0 auto;
  font-weight: 500;
}

/* --- Generator Card --- */
.generator-card {
  background: #ffffff;
  border-radius: var(--sk-radius-xl);
  box-shadow: 0 20px 45px rgba(0, 50, 150, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.generator-section-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sk-text-heading);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-num {
  background: #eff6ff;
  color: var(--sk-primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.generator-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.generator-card [class*="col-"] {
  min-width: 0;
  max-width: 100%;
}

/* Type Grid (Responsive column layout matching reference design) */
.type-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1199px) {
  .type-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  .type-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 576px) {
  .type-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.type-tile {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 0.9rem 0.4rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.type-tile:hover {
  border-color: #93c5fd;
  background: #f0f7ff;
}

.type-tile:hover .type-icon,
.type-tile:hover .type-label {
  color: #0d6efd;
}

.type-tile.active {
  background: #0d6efd;
  border: 1.5px solid #0d6efd;
  box-shadow: 0 4px 14px rgba(13, 110, 253, 0.3);
  color: #ffffff;
}

.type-tile.active .type-label {
  color: #ffffff;
  font-weight: 700;
}

.type-tile.active .type-icon {
  color: #ffffff;
}

.type-tile .type-icon {
  font-size: 1.35rem;
  color: #334155;
  margin-bottom: 0.35rem;
  display: block;
  transition: color 0.2s ease;
}

.type-tile .type-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1e293b;
  display: block;
  transition: color 0.2s ease;
}

/* Collapsible extra content type tiles */
.type-grid .extra-tile {
  display: none;
}

.type-grid.show-all .extra-tile {
  display: flex;
  animation: fadeInTile 0.25s ease-in-out;
}

/* Move toggle button to the very end of the list when expanded */
.type-grid.show-all .toggle-more-tile {
  order: 9999;
}

@keyframes fadeInTile {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.type-tile.toggle-more-tile {
  /* background: #f0f7ff;
  border-color: #bfdbfe; */
  color: var(--sk-primary);
}

.type-tile.toggle-more-tile:hover {
  background: #e0edff;
  border-color: var(--sk-primary);
}

.type-tile.toggle-more-tile .type-icon {
  color: var(--sk-primary);
}

.generator-input {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--sk-radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #1e293b;
  transition: all 0.2s ease;
}

.generator-input:focus {
  background-color: #ffffff;
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 3px rgba(0, 96, 223, 0.15);
  outline: none;
}

.form-label-custom {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
  display: block;
}

.form-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

/* Tabs */
.design-tabs {
  border-bottom: 1.5px solid #e2e8f0;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1.25rem;
}

/* --- QR GENERATOR FRAME & DESIGN CUSTOMIZER STYLES (qr.io style) --- */

.qr-customizer-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.qr-customizer-tabs {
  position: relative;
  border-bottom: 1px solid #e2e8f0 !important;
}

.custom-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: -1px;
}

.custom-tab-btn:hover {
  color: #2563eb;
}

.custom-tab-btn.active {
  color: #2563eb;
  background: transparent;
  border-bottom: 2px solid #2563eb;
  font-weight: 700;
}

/* Frame Tile Grid */
.frame-tile-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px 2px;
  scrollbar-width: thin;
}

.frame-tile-grid::-webkit-scrollbar {
  height: 5px;
}
.frame-tile-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.frame-tile-item {
  flex: 0 0 76px;
  height: 76px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.frame-tile-item:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
}

/* Selected Active Tile (matching screenshot: soft blue bg + bright blue border) */
.frame-tile-item.active {
  background: #ebf5ff;
  border: 2px solid #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6, 0 4px 12px rgba(59, 130, 246, 0.15);
}

.frame-icon-x {
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 800;
}

/* Tile Preview Micro Shapes */
.frame-tile-preview {
  width: 52px;
  height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mini-qr {
  width: 24px;
  height: 24px;
  background-image: radial-gradient(#000 35%, transparent 35%), radial-gradient(#000 35%, transparent 35%);
  background-size: 6px 6px;
  background-position: 0 0, 3px 3px;
  border: 1px solid #000;
  border-radius: 2px;
  margin: 1px auto;
}

.mini-phrase {
  font-size: 5.5px;
  font-weight: 800;
  color: #ffffff;
  background: #000000;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
  max-width: 48px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-phrase-top {
  font-size: 5.5px;
  font-weight: 800;
  color: #ffffff;
  background: #000000;
  padding: 1px 4px;
  border-radius: 3px;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 2px;
}

.mini-frame-clipboard {
  border: 1px solid #000;
  border-radius: 4px;
  background: #ffffff;
  padding: 3px 2px 2px 2px;
}
.mini-clip-handle {
  width: 14px;
  height: 5px;
  background: #000;
  border-radius: 2px 2px 0 0;
  margin: -6px auto 1px auto;
  position: relative;
}
.mini-clip-handle::after {
  content: '';
  width: 6px;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 1px;
  left: 4px;
  border-radius: 1px;
}

.mini-frame-phone {
  border: 1.5px solid #000;
  border-radius: 6px;
  padding: 2px 2px;
  background: #fff;
}
.mini-phone-notch {
  width: 10px;
  height: 2px;
  background: #000;
  border-radius: 1px;
  margin: -1px auto 2px auto;
}
.mini-phrase-phone {
  font-size: 5px;
  font-weight: 800;
  color: #fff;
  background: #000;
  padding: 1px 3px;
  border-radius: 2px;
  margin-top: 1px;
}

.frame-tile-preview.mini-frame-circle {
  width: 48px !important;
  height: 48px !important;
  border: 1.5px solid #000;
  border-radius: 50% !important;
  padding: 3px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0 auto;
}

.mini-phrase-circle {
  font-size: 4px;
  font-weight: 800;
  color: #ffffff;
  background: #000000;
  padding: 1px 4px;
  border-radius: 8px;
  margin-top: 1px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.mini-frame-top_tag {
  border: 1px solid #000;
  border-radius: 4px;
  padding: 2px;
}

.mini-frame-bottom_tag {
  border: 1px solid #000;
  border-radius: 4px;
  padding: 2px;
}

.mini-frame-badge {
  border: 1px solid #000;
  border-radius: 5px;
  padding: 2px;
}
.mini-badge-pointer {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #000;
  margin-top: 1px;
}

.mini-frame-shopping_bag {
  border: 1px solid #000;
  border-radius: 3px;
  padding: 2px;
}
.mini-bag-handles {
  width: 12px;
  height: 5px;
  border: 1.5px solid #000;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  margin: -6px auto 1px auto;
}

.mini-frame-rounded_box {
  border: 1.5px solid #000;
  border-radius: 6px;
  padding: 3px;
}

/* Customizer Form Controls */
.custom-field-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
  display: block;
}

.custom-field-input, .custom-field-select {
  height: 46px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #334155;
  padding: 0.6rem 0.9rem;
  background-color: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-field-input:focus, .custom-field-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.color-swatch-box {
  height: 46px;
  width: 100%;
  border-radius: 8px;
  border: 1.5px solid #1e293b;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s;
}

.color-swatch-box:hover {
  transform: scale(1.02);
}

.color-picker-trigger {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Logo & Shape Tab grids */
.logo-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.logo-tile-item {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.logo-tile-item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
}

.logo-tile-item.active {
  border-color: #3b82f6;
  background: #eff6ff;
}

/* Live QR Preview Frame Wrapper Styles */
.qr-frame-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 auto;
}

.frame-caption-badge {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 6px;
  color: #ffffff;
  background: var(--frame-color, #000000);
  text-transform: uppercase;
  margin-top: 10px;
  text-align: center;
  word-break: break-word;
  max-width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Individual Frame Wrapper Variations */
.qr-frame-wrapper.frame-none {
  padding: 0;
  border: none;
  background: transparent;
}
.qr-frame-wrapper.frame-none .frame-top-decoration,
.qr-frame-wrapper.frame-none .frame-caption-badge {
  display: none !important;
}

/* Rounded Box */
.qr-frame-wrapper.frame-rounded_box {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 18px;
}

/* Top Tag */
.qr-frame-wrapper.frame-top_tag {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 14px;
  padding: 16px;
  flex-direction: column-reverse;
}
.qr-frame-wrapper.frame-top_tag .frame-caption-badge {
  margin-top: 0;
  margin-bottom: 12px;
  border-radius: 20px;
}

/* Bottom Tag */
.qr-frame-wrapper.frame-bottom_tag {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 14px;
  padding: 16px;
}

/* Circle Frame */
.qr-frame-wrapper.frame-circle {
  width: 275px;
  height: 275px;
  border: 4px solid var(--frame-color, #000000);
  border-radius: 50%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-sizing: border-box;
  background: #ffffff;
  position: relative;
}

.qr-frame-wrapper.frame-circle #qrcodeCanvas {
  transform: scale(0.85);
  transform-origin: center center;
}

.qr-frame-wrapper.frame-circle .frame-top-decoration {
  display: none !important;
}

.qr-frame-wrapper.frame-circle .frame-caption-badge {
  border-radius: 20px;
  margin-top: -12px;
  padding: 3px 12px;
  font-size: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: 5;
}

/* Phone Frame */
.qr-frame-wrapper.frame-phone {
  border: 4px solid var(--frame-color, #000000);
  border-radius: 28px;
  padding: 24px 16px 16px 16px;
}
.qr-frame-wrapper.frame-phone .frame-top-decoration {
  width: 40px;
  height: 6px;
  background: var(--frame-color, #000000);
  border-radius: 3px;
  margin-bottom: 12px;
}

/* Envelope Mini Frame */
.mini-frame-envelope {
  border: 1.5px solid #000;
  border-radius: 4px;
  background: #ffffff;
  padding: 4px 2px 2px 2px;
  position: relative;
}
.mini-envelope-flap {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 8px solid #000;
  margin: -4px auto 2px auto;
}

/* Serving Tray / Waiter */
.mini-frame-waiter_tray {
  border: 1.5px solid #000;
  border-radius: 4px;
  padding: 2px;
  position: relative;
}
.mini-tray-hand {
  width: 28px;
  height: 4px;
  border-bottom: 2px solid #000;
  border-radius: 0 0 4px 4px;
  margin: 2px auto 0 auto;
}

/* Scribble Frame */
.mini-frame-scribble {
  border: 2px dashed #000;
  border-radius: 4px;
  padding: 2px;
}

/* Beer Mug */
.mini-frame-beer_mug {
  border: 2px solid #000;
  border-radius: 4px 10px 10px 4px;
  padding: 4px 2px 2px 2px;
  position: relative;
}
.mini-beer-foam {
  width: 24px;
  height: 5px;
  background: #000;
  border-radius: 4px 4px 0 0;
  margin: -4px auto 1px auto;
}

/* Delivery Scooter */
.mini-frame-scooter {
  border: 1.5px solid #000;
  border-radius: 4px;
  padding: 2px;
  position: relative;
}
.mini-scooter-icon {
  font-size: 9px;
  color: #000;
  text-align: center;
  margin-top: 1px;
}

/* Coffee Cup */
.mini-frame-coffee_cup {
  border: 2px solid #000;
  border-radius: 0 0 8px 8px;
  padding: 2px;
  position: relative;
}
.mini-steam {
  font-size: 6px;
  letter-spacing: 2px;
  color: #000;
  font-weight: 900;
  margin-top: -5px;
  line-height: 1;
}

/* Chef Hat */
.mini-frame-chef_hat {
  border: 1.5px solid #000;
  border-radius: 4px;
  padding: 2px;
  position: relative;
}
.mini-chef-hat {
  width: 16px;
  height: 6px;
  border: 1.5px solid #000;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: #fff;
  margin: -6px auto 1px auto;
}

/* Finger Frame */
.mini-frame-finger_frame {
  border: 1px dashed #64748b;
  border-radius: 4px;
  padding: 2px;
  position: relative;
}
.mini-finger-tl {
  width: 8px;
  height: 8px;
  border-top: 2px solid #000;
  border-left: 2px solid #000;
  position: absolute;
  top: 1px;
  left: 1px;
}
.mini-finger-br {
  width: 8px;
  height: 8px;
  border-bottom: 2px solid #000;
  border-right: 2px solid #000;
  position: absolute;
  bottom: 1px;
  right: 1px;
}

/* Plain Card */
.mini-frame-plain_card {
  border: 1.5px solid #000;
  border-radius: 4px;
  padding: 3px;
}
.mini-plain-text {
  font-size: 5px;
  font-weight: 800;
  color: #000000;
  margin-top: 2px;
  display: block;
}

/* Solid Bottom Badge */
.mini-frame-solid_bottom_badge {
  border: 1.5px solid #000;
  border-radius: 4px;
  overflow: hidden;
  padding: 2px 0 0 0;
}
.mini-phrase-solid {
  font-size: 5.5px;
  font-weight: 800;
  color: #ffffff;
  background: #000000;
  padding: 2px 0;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 2px;
}

/* Pointer Badge */
.mini-frame-pointer_badge {
  border: 1.5px solid #000;
  border-radius: 4px;
  padding: 2px;
  position: relative;
}
.mini-badge-pointer-top {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 4px solid #000;
  margin: 1px auto -1px auto;
}

/* Top Header Badge */
.mini-frame-top_header_badge {
  border: 1.5px solid #000;
  border-radius: 4px;
  overflow: hidden;
  padding: 0 0 2px 0;
}
.mini-phrase-solid-top {
  font-size: 5.5px;
  font-weight: 800;
  color: #ffffff;
  background: #000000;
  padding: 2px 0;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 2px;
}

/* Notebook */
.mini-frame-notebook {
  border: 1.5px solid #000;
  border-left: 3px double #000;
  border-radius: 2px 4px 4px 2px;
  padding: 2px;
}

/* Curved Arrow */
.mini-frame-curved_arrow {
  padding: 2px;
  position: relative;
}
.mini-arrow-text {
  font-size: 6px;
  color: #000;
  font-weight: 700;
  margin-top: 1px;
}

/* Receipt */
.mini-frame-receipt {
  border: 1.5px solid #000;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  padding: 2px 2px 0 2px;
  position: relative;
}
.mini-receipt-edge {
  height: 3px;
  background-image: repeating-linear-gradient(45deg, #000 0, #000 3px, transparent 3px, transparent 6px);
  margin-top: 2px;
}

/* Gift Box */
.mini-frame-gift_box {
  border: 1.5px solid #000;
  border-radius: 4px;
  padding: 2px;
  position: relative;
}
.mini-gift-bow {
  font-size: 8px;
  margin-top: -6px;
  line-height: 1;
}

/* Top Speech Bubble */
.mini-frame-speech_bubble {
  border: 1.5px solid #000;
  border-radius: 4px;
  padding: 2px;
}
.mini-top-bubble {
  font-size: 4.5px;
  font-weight: 800;
  color: #fff;
  background: #000;
  padding: 1px 3px;
  border-radius: 3px;
  margin-bottom: 2px;
}

/* Scalloped Stamp */
.mini-frame-scalloped_stamp {
  border: 1.5px dashed #000;
  border-radius: 6px;
  padding: 2px;
}

/* Cocktail Glass */
.mini-frame-cocktail_glass {
  border: 1.5px solid #000;
  border-radius: 0 0 6px 6px;
  padding: 2px;
  position: relative;
}
.mini-glass-straw {
  width: 2px;
  height: 8px;
  background: #000;
  transform: rotate(20deg);
  margin: -6px 4px 0 auto;
}

/* Ribbon Banner */
.mini-frame-ribbon_banner {
  border: 1.5px solid #000;
  border-radius: 4px;
  padding: 2px;
}
.mini-ribbon-badge {
  font-size: 5px;
  font-weight: 800;
  color: #fff;
  background: #000;
  padding: 1px 4px;
  border-radius: 2px;
  margin-top: 2px;
  display: block;
}

/* Takeout Bag */
.mini-frame-takeout_bag {
  border: 1.5px solid #000;
  border-radius: 3px;
  padding: 2px;
}

/* Food Cloche */
.mini-frame-food_cloche {
  border: 1.5px solid #000;
  border-radius: 12px 12px 2px 2px;
  padding: 2px;
}

/* Level Tile Styling */
.level-tile-item.active {
  background: #ebf5ff;
  border: 2px solid #3b82f6 !important;
  box-shadow: 0 0 0 1px #3b82f6, 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Live Frame Wrapper Variations */

/* Envelope Frame */
.qr-frame-wrapper.frame-envelope {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 24px 18px 16px 18px;
  background: #ffffff;
  position: relative;
}
.qr-frame-wrapper.frame-envelope .frame-top-decoration {
  width: 0;
  height: 0;
  border-left: 36px solid transparent;
  border-right: 36px solid transparent;
  border-top: 22px solid var(--frame-color, #000000);
  margin-top: -26px;
  margin-bottom: 12px;
}

/* Waiter Serving Tray Frame */
.qr-frame-wrapper.frame-waiter_tray {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 14px;
  padding: 16px 18px 24px 18px;
  flex-direction: column-reverse;
  position: relative;
}
.qr-frame-wrapper.frame-waiter_tray::after {
  content: '';
  width: 80%;
  height: 8px;
  background: var(--frame-color, #000000);
  border-radius: 0 0 10px 10px;
  position: absolute;
  bottom: 6px;
  left: 10%;
}

/* Scribble Frame */
.qr-frame-wrapper.frame-scribble {
  border: 4px dashed var(--frame-color, #000000);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.05);
}

/* Beer Mug Frame */
.qr-frame-wrapper.frame-beer_mug {
  border: 4px solid var(--frame-color, #000000);
  border-radius: 12px 24px 24px 12px;
  padding: 24px 20px 16px 20px;
  position: relative;
}
.qr-frame-wrapper.frame-beer_mug .frame-top-decoration {
  width: 90%;
  height: 14px;
  background: var(--frame-color, #000000);
  border-radius: 10px 10px 0 0;
  margin-top: -28px;
  margin-bottom: 14px;
}
.qr-frame-wrapper.frame-beer_mug::after {
  content: '';
  width: 18px;
  height: 60px;
  border: 4px solid var(--frame-color, #000000);
  border-left: none;
  border-radius: 0 12px 12px 0;
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
}

/* Delivery Scooter Frame */
.qr-frame-wrapper.frame-scooter {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 20px;
  position: relative;
}
.qr-frame-wrapper.frame-scooter .frame-top-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--frame-color, #000000);
  margin-bottom: 8px;
}

/* Coffee Cup Frame */
.qr-frame-wrapper.frame-coffee_cup {
  border: 4px solid var(--frame-color, #000000);
  border-radius: 4px 4px 28px 28px;
  padding: 24px 20px 18px 20px;
  position: relative;
}
.qr-frame-wrapper.frame-coffee_cup .frame-top-decoration {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--frame-color, #000000);
  margin-top: -24px;
  margin-bottom: 10px;
}
.qr-frame-wrapper.frame-coffee_cup::after {
  content: '';
  width: 16px;
  height: 48px;
  border: 4px solid var(--frame-color, #000000);
  border-left: none;
  border-radius: 0 10px 10px 0;
  position: absolute;
  right: -20px;
  top: 45%;
}

/* Chef Hat Frame */
.qr-frame-wrapper.frame-chef_hat {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 24px 18px 16px 18px;
}
.qr-frame-wrapper.frame-chef_hat .frame-top-decoration {
  width: 44px;
  height: 20px;
  border: 3px solid var(--frame-color, #000000);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  background: #ffffff;
  margin-top: -30px;
  margin-bottom: 10px;
}

/* Finger Frame */
.qr-frame-wrapper.frame-finger_frame {
  border: 2px dashed #94a3b8;
  border-radius: 14px;
  padding: 20px;
  position: relative;
}
.qr-frame-wrapper.frame-finger_frame::before {
  content: '';
  width: 24px;
  height: 24px;
  border-top: 4px solid var(--frame-color, #000000);
  border-left: 4px solid var(--frame-color, #000000);
  position: absolute;
  top: 6px;
  left: 6px;
}
.qr-frame-wrapper.frame-finger_frame::after {
  content: '';
  width: 24px;
  height: 24px;
  border-bottom: 4px solid var(--frame-color, #000000);
  border-right: 4px solid var(--frame-color, #000000);
  position: absolute;
  bottom: 6px;
  right: 6px;
}

/* Plain Card Frame */
.qr-frame-wrapper.frame-plain_card {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 18px;
}
.qr-frame-wrapper.frame-plain_card .frame-caption-badge {
  background: transparent !important;
  color: var(--frame-color, #000000) !important;
  box-shadow: none !important;
  font-size: 0.95rem;
}

/* Solid Bottom Badge Frame */
.qr-frame-wrapper.frame-solid_bottom_badge {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 18px 18px 0 18px;
  overflow: hidden;
}
.qr-frame-wrapper.frame-solid_bottom_badge .frame-caption-badge {
  border-radius: 0;
  margin-top: 14px;
  width: calc(100% + 36px);
  margin-left: -18px;
  margin-right: -18px;
  padding: 10px 0;
}

/* Pointer Badge Frame */
.qr-frame-wrapper.frame-pointer_badge {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 18px;
  position: relative;
}
.qr-frame-wrapper.frame-pointer_badge .frame-caption-badge::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--frame-color, #000000);
}

/* Top Header Badge Frame */
.qr-frame-wrapper.frame-top_header_badge {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 0 18px 18px 18px;
  overflow: hidden;
  flex-direction: column-reverse;
}
.qr-frame-wrapper.frame-top_header_badge .frame-caption-badge {
  border-radius: 0;
  margin-bottom: 14px;
  margin-top: 0;
  width: calc(100% + 36px);
  margin-left: -18px;
  margin-right: -18px;
  padding: 10px 0;
}

/* Spiral Notebook Frame */
.qr-frame-wrapper.frame-notebook {
  border: 3px solid var(--frame-color, #000000);
  border-left: 6px double var(--frame-color, #000000);
  border-radius: 4px 16px 16px 4px;
  padding: 20px 18px 16px 22px;
}

/* Curved Arrow Frame */
.qr-frame-wrapper.frame-curved_arrow {
  padding: 16px;
  border: none;
  background: transparent;
}
.qr-frame-wrapper.frame-curved_arrow .frame-caption-badge {
  background: transparent !important;
  color: var(--frame-color, #000000) !important;
  box-shadow: none !important;
  font-family: 'Comic Sans MS', cursive, sans-serif !important;
  font-size: 1.1rem;
}

/* Receipt / Ticket Frame */
.qr-frame-wrapper.frame-receipt {
  border: 3px solid var(--frame-color, #000000);
  border-bottom: 3px dashed var(--frame-color, #000000);
  border-radius: 14px 14px 0 0;
  padding: 20px 18px 18px 18px;
}

/* Gift Box Frame */
.qr-frame-wrapper.frame-gift_box {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 24px 18px 16px 18px;
}
.qr-frame-wrapper.frame-gift_box .frame-top-decoration {
  font-size: 1.4rem;
  margin-top: -28px;
  margin-bottom: 6px;
}

/* Speech Bubble Tag Frame */
.qr-frame-wrapper.frame-speech_bubble {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 16px 18px 18px 18px;
  flex-direction: column-reverse;
}
.qr-frame-wrapper.frame-speech_bubble .frame-caption-badge {
  margin-bottom: 12px;
  margin-top: 0;
  border-radius: 12px 12px 12px 0;
}

/* Scalloped Stamp Frame */
.qr-frame-wrapper.frame-scalloped_stamp {
  border: 4px dashed var(--frame-color, #000000);
  border-radius: 20px;
  padding: 18px;
}

/* Drink Glass Frame */
.qr-frame-wrapper.frame-cocktail_glass {
  border: 4px solid var(--frame-color, #000000);
  border-radius: 4px 4px 20px 20px;
  padding: 22px 18px 16px 18px;
  position: relative;
}
.qr-frame-wrapper.frame-cocktail_glass .frame-top-decoration {
  width: 4px;
  height: 24px;
  background: var(--frame-color, #000000);
  transform: rotate(25deg);
  margin-top: -30px;
  margin-bottom: 6px;
  margin-left: auto;
  margin-right: 20px;
}

/* Ribbon Banner Frame */
.qr-frame-wrapper.frame-ribbon_banner {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 20px;
}
.qr-frame-wrapper.frame-ribbon_banner .frame-caption-badge {
  border-radius: 0;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Takeout Bag Frame */
.qr-frame-wrapper.frame-takeout_bag {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 12px;
  padding: 22px 18px 16px 18px;
}

/* Food Cloche Dome Frame */
.qr-frame-wrapper.frame-food_cloche {
  border: 4px solid var(--frame-color, #000000);
  border-radius: 100px 100px 12px 12px;
  padding: 30px 22px 18px 22px;
}

/* Clipboard Frame */
.qr-frame-wrapper.frame-clipboard {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 24px 18px 16px 18px;
  background: #ffffff;
  position: relative;
}
.qr-frame-wrapper.frame-clipboard .frame-top-decoration {
  width: 44px;
  height: 14px;
  background: var(--frame-color, #000000);
  border-radius: 6px 6px 0 0;
  margin-top: -24px;
  margin-bottom: 12px;
  position: relative;
}
.qr-frame-wrapper.frame-clipboard .frame-top-decoration::after {
  content: '';
  width: 18px;
  height: 5px;
  background: #ffffff;
  border-radius: 2px;
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
}

/* Speech Badge Frame */
.qr-frame-wrapper.frame-badge {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 16px;
  padding: 18px 18px 24px 18px;
  position: relative;
}
.qr-frame-wrapper.frame-badge .frame-caption-badge {
  position: relative;
}
.qr-frame-wrapper.frame-badge .frame-caption-badge::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid var(--frame-color, #000000);
}

/* Shopping Bag Frame */
.qr-frame-wrapper.frame-shopping_bag {
  border: 3px solid var(--frame-color, #000000);
  border-radius: 14px;
  padding: 26px 18px 16px 18px;
  position: relative;
}
.qr-frame-wrapper.frame-shopping_bag .frame-top-decoration {
  width: 44px;
  height: 20px;
  border: 3px solid var(--frame-color, #000000);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  margin-top: -26px;
  margin-bottom: 10px;
}

/* --- SHAPE & COLOR CUSTOMIZATION STYLES (qr.io style) --- */

.shape-tile-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 4px 14px 4px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  align-items: center;
}

.shape-tile-grid::-webkit-scrollbar {
  height: 4px;
}
.shape-tile-grid::-webkit-scrollbar-track {
  background: transparent;
}
.shape-tile-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.shape-tile-grid::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.shape-tile-item,
.corner-border-tile-item,
.corner-center-tile-item {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.15s ease-in-out;
  user-select: none;
}

.shape-tile-item:hover,
.corner-border-tile-item:hover,
.corner-center-tile-item:hover {
  background: #f8fafc;
}

/* Active Tile State (matches attached reference screenshots 100%: soft light blue rounded box container) */
.shape-tile-item.active,
.corner-border-tile-item.active,
.corner-center-tile-item.active {
  background: #f0f7ff !important;
  border: 1.5px solid #dbeafe !important;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.shape-controls-card {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
}

.custom-toggle-wrapper {
  padding-left: 2.25rem;
}

.custom-toggle-input {
  cursor: pointer;
  width: 2.2rem;
  height: 1.15rem;
}
.custom-toggle-input:checked {
  background-color: #10b981;
  border-color: #10b981;
}

/* Shape Micro Icons */
.shape-tile-icon,
.corner-tile-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Shape Dots Icons */
.icon-dots-square {
  background-image: radial-gradient(#000 65%, transparent 65%);
  background-size: 8px 8px;
}
.icon-dots-rounded {
  background-image: radial-gradient(#000 50%, transparent 50%);
  background-size: 8px 8px;
  border-radius: 4px;
}
.icon-dots-classy {
  background-image: linear-gradient(90deg, #000 50%, transparent 50%);
  background-size: 8px 8px;
}
.icon-dots-classy-rounded {
  background-image: radial-gradient(circle, #000 40%, transparent 40%);
  background-size: 8px 8px;
}
.icon-dots-extra-rounded {
  background-image: radial-gradient(#000 55%, transparent 55%);
  background-size: 10px 10px;
}
.icon-dots-circle {
  background-image: radial-gradient(circle, #000 60%, transparent 60%);
  background-size: 7px 7px;
}
.icon-dots-stripe {
  background-image: linear-gradient(0deg, #000 40%, transparent 40%);
  background-size: 8px 8px;
}
.icon-dots-mosaic {
  background-image: repeating-linear-gradient(45deg, #000 0, #000 3px, transparent 0, transparent 6px);
}

/* Eye Border Icons */
.icon-border-square {
  border: 3.5px solid #1e293b;
  width: 28px;
  height: 28px;
}
.icon-border-rounded {
  border: 3.5px solid #1e293b;
  border-radius: 7px;
  width: 28px;
  height: 28px;
}
.icon-border-circle {
  border: 3.5px solid #1e293b;
  border-radius: 50%;
  width: 28px;
  height: 28px;
}
.icon-border-leaf-tl {
  border: 3.5px solid #1e293b;
  border-top-left-radius: 12px;
  border-bottom-right-radius: 12px;
  width: 28px;
  height: 28px;
}
.icon-border-leaf-tr {
  border: 3.5px solid #1e293b;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 12px;
  width: 28px;
  height: 28px;
}
.icon-border-leaf-br {
  border: 3.5px solid #1e293b;
  border-bottom-right-radius: 14px;
  width: 28px;
  height: 28px;
}
.icon-border-ring {
  border: 3.5px solid #1e293b;
  width: 28px;
  height: 28px;
  position: relative;
}
.icon-border-ring::after {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid #1e293b;
  position: absolute;
  top: 3px;
  left: 3px;
}
.icon-border-soft {
  border: 3.5px solid #1e293b;
  border-radius: 10px;
  width: 28px;
  height: 28px;
}

/* Eye Center Icons */
.icon-center-square {
  background: #1e293b;
  width: 22px;
  height: 22px;
}
.icon-center-rounded {
  background: #1e293b;
  border-radius: 6px;
  width: 22px;
  height: 22px;
}
.icon-center-circle {
  background: #1e293b;
  border-radius: 50%;
  width: 22px;
  height: 22px;
}
.icon-center-leaf {
  background: #1e293b;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  width: 22px;
  height: 22px;
}
.icon-center-starburst {
  background: #1e293b;
  transform: rotate(45deg);
  width: 20px;
  height: 20px;
  border-radius: 2px;
}
.icon-center-star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  background: #1e293b;
  width: 24px;
  height: 24px;
}
.icon-center-diamond {
  background: #1e293b;
  transform: rotate(45deg);
  width: 18px;
  height: 18px;
}
.icon-center-cross {
  background: #1e293b;
  width: 22px;
  height: 22px;
  clip-path: polygon(33% 0%, 67% 0%, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0% 67%, 0% 33%, 33% 33%);
}

/* --- LOGO CUSTOMIZATION STYLES --- */

/* --- LOGO CUSTOMIZATION STYLES (qr.io style) --- */

.custom-file-upload-wrapper {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
}

.custom-file-upload-input {
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-browse-file {
  background-color: #f1f5f9;
  color: #3b82f6;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-left: 1px solid #e2e8f0;
  border-radius: 0;
  transition: all 0.2s ease;
}

.btn-browse-file:hover {
  background-color: #e2e8f0;
  color: #2563eb;
}

/* Preset Logo Grids */
.preset-logo-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px 2px;
  scrollbar-width: thin;
}

.preset-logo-grid::-webkit-scrollbar {
  height: 5px;
}
.preset-logo-grid::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.preset-logo-item {
  flex: 0 0 60px;
  height: 60px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.preset-logo-item:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.preset-logo-item.active {
  background: #ebf5ff;
  border: 2px solid #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6, 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Wide Logo Items Grid */
.preset-wide-logo-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px 2px;
}

.preset-wide-logo-item {
  flex: 0 0 100px;
  height: 60px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.preset-wide-logo-item:hover {
  border-color: #93c5fd;
  transform: translateY(-1px);
}

.preset-wide-logo-item.active {
  background: #ebf5ff;
  border: 2px solid #3b82f6;
  box-shadow: 0 0 0 1px #3b82f6, 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Circle Badge Icons */
.logo-circle-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
}

.badge-purple { background: #9333ea; }
.badge-red { background: #ef4444; }
.badge-amber { background: #f59e0b; }
.badge-green { background: #22c55e; }
.badge-blue { background: #0ea5e9; }
.badge-darkblue { background: #0284c7; }
.badge-orange { background: #f97316; }

.logo-paypal-text {
  font-size: 0.85rem;
  font-weight: 800;
  color: #003087;
  font-style: italic;
}

/* Wide Badge Icons */
.badge-scan-bracket {
  border: 2px solid #000000;
  border-radius: 4px;
  padding: 2px 6px;
  text-align: center;
}

.badge-scan-bracket .scan-text {
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  color: #000000;
  letter-spacing: 0.5px;
}

.badge-scan-text-block {
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  color: #000000;
  text-align: center;
  letter-spacing: 0.5px;
}

.badge-food-scanner,
.badge-cutlery {
  font-size: 1.4rem;
  color: #000000;
}

#qrcodeCanvas {
  position: relative;
  width: 170px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin: 0 auto;
}

#qrcodeCanvas svg, .qr-canvas-holder svg,
#qrcodeCanvas canvas, .qr-canvas-holder canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: 0 auto;
}

/* --- CENTER LOGO OVERLAY POSITIONING --- */
.qr-logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  pointer-events: none;
}

.qr-logo-overlay.wide-overlay {
  width: auto;
  height: auto;
  min-width: 52px;
  min-height: 32px;
  border-radius: 6px;
  padding: 5px 10px;
}

.qr-logo-overlay img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.qr-logo-overlay .logo-circle-badge {
  width: 40px;
  height: 40px;
  font-size: 1.35rem;
}

.qr-logo-overlay .badge-scan-bracket,
.qr-logo-overlay .badge-scan-text-block,
.qr-logo-overlay .badge-food-scanner,
.qr-logo-overlay .badge-cutlery {
  transform: scale(1.1);
}

/* Sticky Preview Box */
@media (min-width: 992px) {
  .preview-box-column {
    position: sticky;
    top: 90px;
    align-self: flex-start;
    z-index: 10;
  }
}

.preview-box-container {
  background: #f8fafc;
  border-radius: var(--sk-radius-lg);
  padding: 1.25rem;
  border: 1px dashed #cbd5e1;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
  width: 100%;
}

.qr-canvas-holder {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.qr-canvas-holder canvas, .qr-canvas-holder img, .qr-canvas-holder svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Brand Logos Section */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background-color: #e0edff;
  color: var(--sk-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 50px;
}

/* --- Continuous Infinite Logo Marquee (Transparent Background, Ultra Smooth Flow) --- */
.logo-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0 3rem;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  background: #F0F8FF;
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: logoContinuousMarquee 36s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.logo-marquee-wrapper:hover .logo-marquee-track {
  animation-play-state: paused;
}

@keyframes logoContinuousMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.brand-partner-badge {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  min-width: 140px;
  flex-shrink: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-partner-img {
  max-height: 42px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: opacity(0.85);
  transition: all 0.3s ease;
}

.brand-partner-badge:hover .brand-partner-img {
  filter: opacity(1);
  transform: scale(1.12);
}

/* --- Step Cards (How to Create Section) --- */
.step-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.5);
  padding: 3.25rem 2.2rem;
  height: 100%;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 50, 150, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 80, 200, 0.09);
  border-color: #bfdbfe;
}

.step-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0060df 0%, #0044a9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem auto;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 96, 223, 0.22);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-card:hover .step-icon-wrapper {
  transform: translateY(-4px) scale(1.06) rotate(-2deg);
  box-shadow: 0 16px 32px rgba(0, 96, 223, 0.32);
  background: linear-gradient(135deg, #0252bf 0%, #00378f 100%);
}

.step-icon-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #eff6ff;
  color: #0060df;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbeafe;
  box-shadow: 0 2px 6px rgba(0, 96, 223, 0.08);
  z-index: 2;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon-badge {
  transform: scale(1.08);
  background: #0060df;
  color: #ffffff;
  border-color: #0060df;
  box-shadow: 0 4px 12px rgba(0, 96, 223, 0.25);
}

.step-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sk-primary);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.step-fi-icon {
  font-size: 2.2rem;
  color: #ffffff;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

.step-card:hover .step-fi-icon {
  transform: scale(1.15);
}

.step-card-desc {
  font-size: 0.93rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
}

.cta-pill-bar-attached {
  background: #ffffffb2;
  border-radius: 15px;
  padding: 0.55rem 0.6rem 0.55rem 2rem;
  /* box-shadow: 0 12px 35px rgba(0, 50, 150, 0.06); */
  /* border: 1px solid rgba(226, 232, 240, 0.7); */
  max-width: 560px;
  margin: 3.5rem auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cta-pill-text {
  font-weight: 500;
  color: #475569;
  font-size: 0.95rem;
}

.btn-pill-action {
  background-color: #0052cc;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.65rem 1.4rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.btn-pill-action i {
  transition: transform 0.2s ease;
}

.btn-pill-action:hover {
  background-color: #0041a8;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 82, 204, 0.35);
}

.btn-pill-action:hover i {
  transform: translateX(4px);
}

/* --- Use Cases --- */
.use-case-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.use-case-btn {
  background: #f1f5f9;
  border: none;
  color: #475569;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  transition: all 0.2s ease;
}

.use-case-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.use-case-btn.active {
  background: var(--sk-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--sk-primary-glow);
}

.use-case-display-card {
  background: #ffffff;
  border-radius: var(--sk-radius-xl);
  border: 1px solid var(--sk-border-color);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.check-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.check-icon {
  color: var(--sk-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Features Bento Grid (QRFY Inspired) --- */
.bento-grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.bento-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 22px;
  padding: 1.6rem 1.6rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 50, 150, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 80, 200, 0.09);
  border-color: #bfdbfe;
}

.bento-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.bento-card-desc {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Grid Layout Spans */
@media (min-width: 992px) {
  .bento-col-2 { grid-column: span 2; }
  .bento-col-3 { grid-column: span 3; }
  .bento-col-4 { grid-column: span 4; }
  .bento-col-5 { grid-column: span 5; }
  .bento-col-6 { grid-column: span 6; }
  .bento-col-12 { grid-column: span 12; }

  .bento-row-span-2 { grid-row: span 2; }
}

@media (max-width: 991px) and (min-width: 768px) {
  .bento-grid-container {
    grid-template-columns: repeat(6, 1fr);
  }
  .bento-col-3, .bento-col-4, .bento-col-5 { grid-column: span 3; }
  .bento-col-6, .bento-col-12 { grid-column: span 6; }
  .bento-row-span-2 { grid-row: span 1; }
}

@media (max-width: 767px) {
  .bento-grid-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .bento-card {
    padding: 1.3rem;
  }
}

/* --- Bento Micro Graphics & Illustrations --- */
.bento-graphic-chart,
.bento-mini-mockup,
.bento-avatar-item,
.bento-pixel-card,
.bento-badge-circle,
.bento-avatar-icon,
.bento-pixel-check,
.bento-skeleton-line,
.bento-chart-line,
.bento-pixel-icon,
.bento-mini-mockup i {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-graphic-chart {
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 0.9rem;
  margin-top: 1.5rem;
}

.bento-card:hover .bento-graphic-chart {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.bento-chart-line {
  stroke: #cbd5e1;
  stroke-width: 2.5;
  stroke-linecap: round;
  fill: none;
}

.bento-card:hover .bento-chart-line {
  stroke: #0060df;
}

.bento-card:hover svg circle {
  fill: #0060df;
}

.bento-card:hover .badge.bg-light {
  background-color: #dbeafe !important;
  color: #0060df !important;
  border-color: #93c5fd !important;
}

.bento-card:hover .badge.bg-light i {
  color: #0060df !important;
}

.bento-graphic-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bento-graphic-flex .bento-text-side {
  flex: 1;
}

.bento-mini-mockup {
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 0.6rem 0.8rem;
  position: relative;
  flex-shrink: 0;
}

.bento-card:hover .bento-mini-mockup {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.bento-badge-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.bento-card:hover .bento-badge-circle {
  background: #0060df;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 96, 223, 0.3);
}

.bento-avatar-item {
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 0.35rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.bento-avatar-item:last-child {
  margin-bottom: 0;
}

.bento-card:hover .bento-avatar-item {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.bento-avatar-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.bento-card:hover .bento-avatar-icon {
  background: #0060df;
  color: #ffffff;
}

.bento-skeleton-line {
  height: 5px;
  background: #cbd5e1;
  border-radius: 4px;
}

.bento-card:hover .bento-skeleton-line {
  background: #60a5fa;
}

.bento-skeleton-line.short { width: 24px; }
.bento-skeleton-line.long { width: 40px; }

.bento-pixel-cards-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.bento-pixel-card {
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.bento-card:hover .bento-pixel-card {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.bento-pixel-check {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
}

.bento-card:hover .bento-pixel-check {
  background: #0060df;
  color: #ffffff;
}

.bento-pixel-icon {
  font-size: 1.35rem;
  color: #64748b;
  margin: 0.3rem 0 0.5rem 0;
}

.bento-card:hover .bento-pixel-icon,
.bento-card:hover .bi-qr-code,
.bento-card:hover .bi-star,
.bento-card:hover .bi-download,
.bento-card:hover .bi-calendar2-event,
.bento-card:hover .bi-lock-fill {
  color: #0060df !important;
}

/* --- Testimonials --- */
.blaze-slider {
  position: relative;
  width: 100%;
}

.blaze-container {
  position: relative;
  width: 100%;
}

.blaze-track-container {
  overflow: hidden;
  width: 100%;
}

.blaze-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 24px !important;
  box-sizing: border-box !important;
  transition: transform 300ms ease;
  will-change: transform;
}

.blaze-track > * {
  box-sizing: border-box !important;
  flex: 0 0 calc((100% - 48px) / 3) !important;
  max-width: calc((100% - 48px) / 3) !important;
}

@media (max-width: 991px) {
  .blaze-track {
    gap: 20px !important;
  }
  .blaze-track > * {
    flex: 0 0 calc((100% - 20px) / 2) !important;
    max-width: calc((100% - 20px) / 2) !important;
  }
}

@media (max-width: 640px) {
  .blaze-track {
    gap: 16px !important;
  }
  .blaze-track > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* --- Products Mega Dropdown --- */
.mega-dropdown {
  position: relative;
}

.mega-dropdown-menu {
  display: none;
}

.mega-dropdown-menu.show {
  display: block !important;
}

@media (min-width: 992px) {
  .mega-dropdown-menu {
    position: absolute !important;
    width: 620px;
    border-radius: 16px !important;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 30, 90, 0.12) !important;
    margin-top: 0.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1050;
  }

  .mega-dropdown-menu.show {
    animation: dropdownFadeIn 0.2s ease-out;
  }
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.products-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #f0f6ff;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.products-dropdown-item {
  padding: 0.6rem 0.75rem;
  transition: all 0.2s ease;
  border-radius: 10px;
}

.products-dropdown-item:hover {
  background: #f8fafc;
}

.products-dropdown-item:hover h6 {
  color: #0060df !important;
}

/* --- Use Cases Dropdown --- */
.use-cases-dropdown {
  position: relative;
}

.use-cases-dropdown-menu {
  display: none;
}

.use-cases-dropdown-menu.show {
  display: block !important;
}

@media (min-width: 992px) {
  .use-cases-dropdown-menu {
    position: absolute !important;
    width: 270px;
    border-radius: 16px !important;
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(0, 30, 90, 0.12) !important;
    margin-top: 0.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1050;
  }

  .use-cases-dropdown-menu.show {
    animation: dropdownFadeIn 0.2s ease-out;
  }
}

.use-case-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f0f6ff;
  font-size: 1.05rem;
  transition: all 0.25s ease;
}

.use-case-dropdown-item {
  padding: 0.5rem 0.65rem;
  transition: all 0.2s ease;
  border-radius: 10px;
}

.use-case-dropdown-item:hover {
  background: #f8fafc;
}

.use-case-dropdown-item:hover .use-case-icon-box {
  background: #0060df;
}

.use-case-dropdown-item:hover .use-case-icon-box i {
  color: #ffffff !important;
}

.use-case-dropdown-item:hover h6 {
  color: #0060df !important;
}

.use-case-dropdown-item.active-item {
  background: #f0f6ff;
}

.use-case-dropdown-item.active-item .use-case-icon-box {
  background: #0060df;
}

.use-case-dropdown-item.active-item .use-case-icon-box i {
  color: #ffffff !important;
}

.use-case-dropdown-item.active-item h6 {
  color: #0060df !important;
}

.products-dropdown-item:hover h6 {
  color: #0060df !important;
}

.blaze-track {
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--sk-border-color);
  border-radius: var(--sk-radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 12px 30px rgba(0, 96, 223, 0.06);
}

.testimonial-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 50, 150, 0.05);
  cursor: pointer;
}

.testimonial-arrow-btn:hover {
  background: #0060df;
  color: #ffffff;
  border-color: #0060df;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 96, 223, 0.3);
}

.star-rating {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* --- Knowledge Hub --- */
.blog-card {
  background: #ffffff;
  border: 1px solid var(--sk-border-color);
  border-radius: var(--sk-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-img-lg {
  height: 260px;
}

/* --- FAQ Accordion --- */
.accordion-custom .accordion-item {
  border: 1.5px solid #e2e8f0;
  border-radius: var(--sk-radius-md) !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.accordion-custom .accordion-button {
  font-weight: 700;
  color: var(--sk-text-heading);
  background-color: #ffffff;
  padding: 1.1rem 1.25rem;
  font-size: 0.98rem;
  box-shadow: none !important;
}

.accordion-custom .accordion-button:not(.collapsed) {
  color: var(--sk-primary);
  background-color: #f8fafc;
}

.accordion-custom .accordion-body {
  color: var(--sk-text-body);
  font-size: 0.92rem;
  line-height: 1.65;
  background-color: #f8fafc;
  padding: 0 1.25rem 1.25rem 1.25rem;
}

/* --- Floating CTA Banner Card --- */
.banner-cta-card {
  background: #ffffff;
  border: 1.5px solid #bfdbfe;
  border-radius: var(--sk-radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 96, 223, 0.12);
  position: relative;
  overflow: hidden;
}

/* --- Footer --- */
.footer-skana {
  background-color: var(--sk-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
}

.footer-skana h5 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-skana ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-skana ul li {
  margin-bottom: 0.65rem;
}

.footer-skana ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-skana ul li a:hover {
  color: #ffffff;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.5);
  margin: 2rem 0 1.5rem 0;
}

.footer-bottom-text {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  ;
}

.footer-bottom-text span {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 5px;
  border-left: rgba(255, 255, 255, 0.26) 1px solid;
  padding-left: 5px;
}

.footer-bottom-text span img {
  height: 15px !important;
}

/* ==========================================================================
   PRICING PAGE CUSTOM STYLES
   ========================================================================== */
.pricing-card {
  background: #ffffff;
  border-radius: var(--sk-radius-xl);
  border: 1px solid var(--sk-border-color);
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 50, 150, 0.05);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 80, 200, 0.1);
}

.pricing-card.featured {
  border: 2px solid var(--sk-primary);
  box-shadow: 0 15px 40px rgba(0, 96, 223, 0.15);
}

.pricing-card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--sk-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px var(--sk-primary-glow);
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.pricing-price-period {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  color: #334155;
  font-weight: 500;
}

.pricing-feature-item.disabled {
  color: #94a3b8;
}

.pricing-icon-check {
  color: var(--sk-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pricing-icon-cross {
  color: #cbd5e1;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Billing Toggle */
.billing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.form-switch .form-check-input.billing-toggle-input {
  width: 3.2rem;
  height: 1.7rem;
  cursor: pointer;
  background-color: #cbd5e1;
  border-color: transparent;
}

.form-switch .form-check-input.billing-toggle-input:checked {
  background-color: var(--sk-primary);
  border-color: var(--sk-primary);
}

.discount-pill-badge {
  background-color: #e6f0ff;
  color: var(--sk-primary);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

/* Feature Comparison Table */
.comparison-card {
  background: #ffffff;
  border-radius: var(--sk-radius-xl);
  border: 1px solid var(--sk-border-color);
  padding: 3rem 2.5rem;
  box-shadow: 0 12px 35px rgba(0, 50, 150, 0.04);
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table th {
  font-weight: 700;
  color: #0f172a;
  padding: 1.1rem 1.25rem;
  border-bottom: 2px solid #f1f5f9;
}

.comparison-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.93rem;
  color: #334155;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Custom FAQ Accordion */
.faq-custom-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--sk-radius-md) !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.2s ease;
}

.faq-custom-button {
  font-weight: 700;
  color: #0f172a;
  background: #ffffff;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  border-radius: var(--sk-radius-md) !important;
}

.faq-custom-button:not(.collapsed) {
  background-color: #f8fafc;
  color: var(--sk-primary);
  box-shadow: none;
}

.faq-custom-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* ==========================================================================
   BLOG PAGE CUSTOM STYLES
   ========================================================================== */
.blog-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.blog-category-btn {
  background: #ffffff;
  border: 1px solid var(--sk-border-color);
  color: #475569;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 1.25rem;
  border-radius: 50px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.blog-category-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.blog-category-btn.active {
  background: var(--sk-primary);
  color: #ffffff;
  border-color: var(--sk-primary);
  box-shadow: 0 4px 12px var(--sk-primary-glow);
}

.blog-featured-card {
  background: #ffffff;
  border-radius: var(--sk-radius-xl);
  border: 1px solid var(--sk-border-color);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 50, 150, 0.05);
  transition: all 0.3s ease;
}

.blog-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 80, 200, 0.1);
}

.blog-featured-img-holder {
  width: 100%;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
}

.blog-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-featured-card:hover .blog-featured-img {
  transform: scale(1.04);
}

.category-tag-badge {
  display: inline-block;
  background-color: #e6f0ff;
  color: var(--sk-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.blog-grid-card {
  background: #ffffff;
  border-radius: var(--sk-radius-lg);
  border: 1px solid var(--sk-border-color);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 50, 150, 0.04);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 80, 200, 0.09);
}

.blog-grid-img-holder {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-grid-card:hover .blog-grid-img {
  transform: scale(1.05);
}

.author-avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e6f0ff;
  color: var(--sk-primary);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Pagination */
.pagination-custom .page-link {
  border: 1px solid transparent;
  color: #475569;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.45rem 0.95rem;
  border-radius: 50px;
  margin: 0 0.15rem;
  transition: all 0.2s ease;
}

.pagination-custom .page-item.active .page-link {
  background-color: var(--sk-primary);
  border-color: var(--sk-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--sk-primary-glow);
}

.pagination-custom .page-link:hover:not(.active) {
  background-color: #f1f5f9;
  color: #0f172a;
}

/* --- FAQ Page Custom Styles --- */
.faq-category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.faq-category-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-weight: 500;
  font-size: 0.88rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.faq-category-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.faq-category-btn.active {
  background-color: var(--sk-primary);
  border-color: var(--sk-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--sk-primary-glow);
}

.faq-section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--sk-primary);
  text-transform: uppercase;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

.faq-section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background-color: var(--sk-primary);
  border-radius: 2px;
}

.faq-card {
  background: #ffffff;
  border: 1px solid var(--sk-border-color);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 50, 150, 0.03);
  transition: all 0.2s ease;
}

.faq-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 50, 150, 0.06);
}

.faq-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-weight: 600;
  font-size: 0.98rem;
  color: #0f172a;
  cursor: pointer;
}

.faq-header i {
  color: #64748b;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.faq-card.open .faq-header i {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 1.3rem 1.1rem 1.3rem;
  color: #64748b;
  font-size: 0.93rem;
  line-height: 1.6;
  border-top: 1px solid #f1f5f9;
  display: none;
}

.faq-card.open .faq-body {
  display: block;
  padding-top: 1rem;
}

.faq-cta-box {
  background: #ebf5ff;
  border-radius: 16px;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 3.5rem;
  margin-bottom: 4rem;
  border: 1px solid #d0e7ff;
}

/* --- Contact Page Custom Styles --- */
.contact-tag-badge {
  display: inline-block;
  background-color: #dbeafe;
  color: var(--sk-primary);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.8px;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.contact-form-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--sk-border-color);
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 50, 150, 0.05);
}

.contact-form-card .form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #334155;
  margin-bottom: 0.4rem;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: #0f172a;
  transition: all 0.2s ease;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  background-color: #ffffff;
  border-color: var(--sk-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.contact-info-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--sk-border-color);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 50, 150, 0.02);
  transition: all 0.2s ease;
}

.contact-info-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 50, 150, 0.06);
}

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ebf5ff;
  color: var(--sk-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--sk-primary);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.contact-info-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.social-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.social-circle-btn:hover {
  background: var(--sk-primary);
  color: #ffffff;
}

.location-map-card {
  background: #e2e8f0;
  border-radius: 16px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 16px 16px;
}

.location-pin-popup {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.25rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  border: 1px solid #cbd5e1;
}

/* Upgrade Plan Modal Styles & Backdrop Fix */
.modal.upgrade-plan-modal {
  z-index: 1085 !important;
}

.modal.upgrade-plan-modal .modal-content {
  border-radius: 24px !important;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.modal-backdrop.upgrade-modal-backdrop,
.upgrade-modal-backdrop {
  z-index: 1080 !important;
  opacity: 0.65 !important;
}

/* Pro Feature Inline Banner in Content Step */
.pro-feature-inline-banner {
  animation: proBannerFadeIn 0.3s ease-out;
  transition: all 0.2s ease;
}

.pro-feature-inline-banner:hover {
  border-color: #facc15 !important;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.16) !important;
}

@keyframes proBannerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Download & Pro Action Button Styling */
#downloadQrBtn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  border-radius: 12px !important;
  padding: 0.85rem 1.25rem !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

#downloadQrBtn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;
}

#downloadQrBtn:active {
  transform: translateY(0);
}

/* Pro CTA Button Glow */
.pro-cta-glow {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 55%, #3b82f6 100%) !important;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.42) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
  color: #ffffff !important;
}

.pro-cta-glow:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 50%, #2563eb 100%) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5) !important;
  transform: translateY(-2px);
}

.pro-cta-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: proShine 3s infinite;
  pointer-events: none;
}

.pro-cta-badge {
  background: #fef08a;
  color: #854d0e;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 0.45rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

@keyframes proShine {
  0% { left: -100%; }
  20% { left: 100%; }
  100% { left: 100%; }
}




