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

body {
  margin: 0;
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif; */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* background-color: #f5f5f5; */
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

/* === Main Layout === */

.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}
.align-items-center {
  align-items: center;
}
.justify-items-center {
  justify-items: center;
}
.g-8 {
  gap: 8px;
}
.g-24px {
  gap: 24px;
}
.white-space {
  white-space: pre;
}
.gray {
  color: #374151;
}
.bg-dark {
  background-color: #000000;
}
.bg-red {
  background-color: #ff0000;
}
.bg-warning {
  background-color: #ffa500;
}
.bg-success {
  background-color: #008000;
}
.bg-primary {
  background-color: #0000ff;
}
.bg-pink {
  background-color: #800080;
}
.bg-lite-pink {
  background-color: #ff00ff;
}
.qr-form {
  display: inline-flex;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
}
.my-button {
  padding: 6px 10px;
  border: 0;
  cursor: pointer;
}

.my-button.active {
  background: #111827;
  color: #fff;
}

.my-button.inactive {
  background: #fff;
  color: #111827;
}
.applied-note {
  margin-top: 6px;
  font-size: 12px;
  color: #0f766e;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  border-radius: 8px;
  padding: 6px;
}
.pointer {
  cursor: pointer;
}
.h-fit-content {
  height: fit-content;
}
.h-50px {
  height: 50px;
}
.w-100 {
  width: 100%;
}
.w-50px {
  width: 50px;
}
.position-relative {
  position: relative;
}
.d-none {
  display: none;
}
.my-3 {
  margin: 8px 0px;
}
.h-35px {
  height: 35px;
}
.w-35px {
  width: 35px;
}
.border-none {
  border: none;
}
.outer-finder {
  left: 16px;
  bottom: 34px;
}
.bottom-34px {
  bottom: 34px;
}
.warning-text {
  font-size: 12px;
  color: red;
  margin-top: 4px;
}
.transparent {
  left: 16px;
  bottom: 34px;
}
.preview-layout {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  object-fit: contain;
  opacity: 0.8;
  border-radius: 50%;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  z-index: 2;
}

.Modal-Overlay {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.Modal-Content {
  z-index: 9999999 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  min-width: 400px;
  height: 40%;
  margin: auto;
  border-radius: 5px;
  background-color: white;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  padding: 12px;
  border: 1px solid #d6dcec;
  overflow: auto;
}

.qr-display-frame {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  margin-bottom: 5px;
}
.qr-main {
  display: flex;
}

.color-checkbox {
  cursor: pointer;
  position: relative;
}

/* === Left Settings Panel === */
.qr-settings {
  flex: 1;
  height: 100vh;
  overflow-y: auto;
  padding-right: 10px;
}

.qr-settings h3 {
  font-size: 17px;
  margin-bottom: 0px;
  font-weight: 500;
  color: black;
}

.qr-settings input[type="text"] {
  width: 100%;
  height: 45px;
  font-size: 13px !important;
  border: 1px solid #dee2ff;
  border-radius: 6px;
}
.qr-settings input[type="text"],
.qr-settings input[type="url"],
.qr-settings input[type="date"],
.qr-settings input[type="tel"],
.qr-settings input[type="number"],
.qr-settings input[type="email"],
.qr-settings input[type="password"],
.qr-settings textarea {
  height: 45px;
  font-size: 0.95rem !important;
  border: 1px solid #dee2ff;
  border-radius: 6px;
}

.qr-settings h4 {
  margin: 0px;
  font-size: 21px;
  font-weight: 600;
  color: black;
}
.qr-preview-frame {
  background-color: white;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
.options-row {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  align-items: flex-end;
}

/* Mock frame thumbnails */
.frame-box {
  width: 40px;
  height: 40px;
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-image: url("https://via.placeholder.com/40x40?text=F");
  background-size: cover;
}

.color-picker-box {
  display: flex;
  align-items: center;
  /* border: 1px solid #ccc; */
  border-radius: 8px;
  padding: 4px 0px;
  gap: 8px;
}

.color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #ccc;
}

.color-swatch input[type="color"] {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.color-swatch input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
  /* border-radius: 50%; */
}

.color-swatch input[type="color"]::-webkit-color-swatch {
  border: none;
  /* border-radius: 50%; */
}

.color-picker-box input[type="text"] {
  border: none;
  outline: none;
  font-size: 17px;
  width: 77px;
  padding: 0px;
  margin: 0px;
}

/* Colors */
.color-circle {
  border-radius: 5px;
  border: 3px solid #fff;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* Color pickers */
.color-pickers {
  display: flex;
  gap: 33px;
  align-items: center;
}

.color-pickers label {
  display: block;
  font-size: 14px;
  margin-bottom: 0.2rem;
}

.color-pickers input[type="color"] {
  border: none;
  background: transparent;
}

.transparent-bg {
  font-size: 0.8rem;
}

/* Dot Styles, Corners, Logos (mocked) */
.style-box,
.corner-box,
.logo-box {
  width: 70px;
  height: 70px;
  background: #fafafa;
  border: 1px solid #c2c2c2;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.corner-box:hover {
  border: 1px solid #ff3d00;
}
.qr-frame-icon.qr-frame-icon:hover {
  border: 1px solid #ff3d00;
}
.color-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 50%;
}
.color-wrapper:hover {
  border: 1.5px solid #ff3d00;
}
.logo-picker {
  position: relative;
}

.frame-picker {
  padding-bottom: 3px;
}

.color-palette {
  padding-bottom: 5px;
}

.color-input {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.color-hexcode-input {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Tag buttons */
.tag-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
}

.tag {
  background: #f1f6ff;
  border: 1px solid #cce0ff;
  color: #2b65d9;
  padding: 6px 10px;
  font-size: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tag::before {
  content: "🔗";
}

/* === QR Preview Panel === */
.qr-preview {
  width: 398px !important;
  /* background-color: #081143; */
  background: linear-gradient(318deg, #312465 0%, #6958ad 100%);
  padding: 14px 40px;
  border-radius: 25px;
  text-align: center;
  height: fit-content;
  position: sticky;
  top: 0;
}
.qrcode-preview {
  position: absolute;
  left: -99999px;
  top: 0;
  width: var(--size);
  height: var(--size);
  visibility: hidden;
}
.preview-link {
  display: block;
  margin-bottom: 1rem;
  color: #5e2ced;
  text-decoration: none;
  font-weight: 500;
  word-break: break-word;
}

.qr-image {
  width: 150px;
  height: 150px;
  margin-bottom: 1rem;
  background: white;
  padding: 10px;
}

.note {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 0px;
  color: white;
}

.note-subtext {
  font-size: 16px;
  color: white;
  margin-bottom: 10px;
}

.download-btn {
  background-color: #e8276a;
  color: white;
  border: none;
  padding: 19px 20px;
  font-size: 19px;
  border-radius: 6px;
  font-weight: 600;
  margin: 15px 0px;
  width: 100%;
}
.uploadlogo-customqr {
  height: 70px;
}

.uploadlogo {
  background-color: #f7f0fc;
  border: 1px solid #e5c2ff;
  border-radius: 6px;
  font-size: 13px;
  color: #7733aa;
  padding: 0px 11px;
  font-weight: 500;
  line-height: 17px;
  width: 70px;
  height: 70px;
}
.uploadlogo:hover {
  background-color: #f6ecfe;
  border: 1px solid #ff3d00;
}
.morecorners:hover {
  background-color: #f6ecfe;
  border: 1px solid #ff3d00;
}
.moreframes:hover {
  background-color: #f6ecfe;
  border: 1px solid #ff3d00;
}
.morestyle:hover {
  background-color: #f6ecfe;
  border: 1px solid #ff3d00;
}
.more-btn:hover {
  background-color: #f6ecfe;
  border: 1px solid #ff3d00;
}

.active-border {
  border: 2px solid #ff3d00 !important;
}
.moreframes {
  background-color: #fcf7ff;
  border: 1px solid #fcf7ff;
  border-radius: 6px;
  font-size: 25px;
  color: black;
  padding: 15px 22px;
  font-weight: 500;
  width: 80px;
  height: 80px;
}
.morecorners {
  background-color: #fcf7ff;
  border: 1px solid #c2c2c2;
  border-radius: 6px;
  font-size: 30px;
  color: black;
  padding: 12px 10px;
  font-weight: 500;
  width: 70px;
  height: 70px;
}
.morestyle {
  background-color: #fcf7ff;
  border: 1px solid #c2c2c2;
  border-radius: 6px;
  font-size: 30px;
  font-weight: 500;
  height: 70px;
  width: 70px;
}
.more-btn {
  background-color: #fcf7ff;
  border: 1px solid #fcf7ff;
  border-radius: 6px;
  font-size: 25px;
  padding: 0px 9px;
  font-weight: 500;
  height: 71px;
}
.custom-tooltip {
  position: relative;
  display: inline-block;
}

.custom-tooltip .tooltip-text {
  visibility: hidden;
  background-color: #f3f3f3;
  color: #353535;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 0.25rem;
  position: absolute;
  bottom: 109%;
  left: 79%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.custom-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}
.download-btn:hover {
  background-color: #e8276a;
}

.corner-row {
  position: relative;
}
.d-flex {
  display: flex;
  align-items: center;
}
.transparent {
  position: relative;
  left: 0px;
  top: 3px;
  font-size: 15px;
}

.slider-container {
  position: relative;
  width: 260px;
}

.custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 37px; /* thinner track */
  border-radius: 6px;
  background: linear-gradient(
    to right,
    #007bff var(--value),
    #ffff var(--value)
  );
  outline: none;
  cursor: pointer;
  border: 1px solid #c1c1c1;
}

/* Track */
.custom-slider::-webkit-slider-runnable-track {
  height: 15px;
  border-radius: 6px;
}

.custom-slider::-moz-range-track {
  height: 14px;
  border-radius: 6px;
}

/* Rectangular Thumb */
.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 6px;
  height: 28px;
  background: #fff;
  border-radius: 3px;
  border: 1px solid #007bff;
  cursor: pointer;
}

.custom-slider::-moz-range-thumb {
  width: 10px;
  height: 20px;
  background: #fff;
  border-radius: 3px;
  border: 1px solid #007bff;
  cursor: pointer;
}

/* Removed conflicting absolute positioning - using flexbox alignment instead */
.slider-value {
  min-width: 36px;
  text-align: right;
  font-weight: 600;
  font-size: 14px;
}
.size-row {
  position: relative;
  gap: 25px;
}

/* mpbile view */
@media (max-width: 550px) {
  .qr-settings h4 {
    margin: 17px 0 8px;
    font-size: 15px;
  }
  .style-box,
  .corner-box,
  .logo-box {
    /* width: 60px;
    height: 40px; */
  }
  .qr-preview {
    width: 300px;
    padding: 15px;
  }
  .color-pickers {
    display: inline-grid;
    width: 50%;
    gap: 5px;
  }
  .corner-row {
    position: relative;
    left: 0px;
    bottom: 0px;
  }

  .logo-picker {
    position: relative;
    bottom: 0px;
  }
  .transparent {
    position: relative;
    left: 35px;
    top: 0px;
    font-size: 13px;
  }
  .qr-preview-frame {
    padding: 13px;
  }
}

/* accordion */
.bg-accordion {
  background: rgba(255, 255, 255, 0.15) !important; /* frosted white */
  border-radius: 16px !important;
  backdrop-filter: blur(12px) !important;
}
.tab-text {
  font-size: 13px;
  font-weight: 700;
}
.subtab-title {
  font-size: 17px;
  font-weight: 600;
  color: black;
}
.qrcode-types {
  width: 234px;
  height: 211px;
  line-height: 0.3 !important;
  color: white;
}
.qrcode-types:nth-child(1) {
  background: linear-gradient(140deg, #6a518f 0%, #35254d 100%);
}

.qrcode-types:nth-child(2) {
  background: linear-gradient(215deg, #ba8e1f 0%, #507b42 100%);
}

.qrcode-types:nth-child(3) {
  background: linear-gradient(137deg, #e54f52 0%, #592a2a 71%);
}
.inactive-border {
  border: 1px solid #ccc !important;
}
.qrcode-types:hover {
  border: 1px solid #ff3d00 !important;
  color: white;
}

.customqrcode .accordion-item {
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid #d6d6d6 !important;
}

.customqrcode .accordion-header button {
  background-color: #ffffff;
  color: black;
  font-size: 18px;
  font-weight: 600;
  padding: 18px 16px;
}
.customqrcode .accordion-button:focus {
  box-shadow: none !important;
  outline: none !important;
}
.customqrcode .accordion-header button:not(.collapsed) {
  background-color: #f8f9fa;
  color: #000;
}

.customqrcode .accordion-header button:hover {
  background-color: #f8f9fa;
}

.customqrcode .accordion-body {
  background-color: #fff;
  padding: 16px;
  font-size: 14px;
  color: #444;
}

/* accordion tabs */

.text-red-600 {
  color: red;
}
/* .customqrcode .nav-tabs {
  border-bottom: none !important;
  margin-bottom: 16px;
  gap: 20px;
}
.customqrcode .nav-tabs .nav-link {
  border: none !important;
  border-bottom: 2px solid transparent !important;
  font-size: 15px;
  font-weight: 400;
  color: black !important;
  padding: 7px 16px;
  background: #f3f3f3;
  border-radius: 7px;
  width: 113px;
  height: 40px;
  align-items: center;
  text-align: center;
  display: grid;
}

.customqrcode .nav-tabs .nav-link.active {
  color: white !important;
  border-radius: 7px;
  background: linear-gradient(90deg, #b185ff 0%, #5a3dfd 100%);
} */

.customqrcode .nav-tabs {
  border-bottom: 1px solid #e5e7eb;
  gap: 24px;
}

.customqrcode .nav-tabs .nav-link {
  border: none !important;
  background: transparent !important;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280 !important;
  padding-bottom: 10px 0;
  border-radius: 0;
}

.customqrcode .nav-tabs .nav-link:hover {
  color: #5f47bb !important;
}

.customqrcode .nav-tabs .nav-link.active {
  color: #5f47bb !important;
  font-weight: 600;
  border-bottom: 3px solid #5f47bb !important;
}

.customqrcode .tab-content {
  padding: 2px;
  border-radius: 6px;
}

.scannability-result .progress-wrapper {
  position: relative;
  width: 100%;
  height: 14px;
  border-radius: 10px;
  background: linear-gradient(to right, red, orange, yellow, green);
  overflow: hidden;
  margin-bottom: 8px;
}

.scannability-result .progress-bar {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.scannability-result .progress-pointer {
  position: absolute;
  top: 2px;
  width: 15px;
  height: 12px;
  background: white;
  border-radius: 2px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 6; /* makes it not draggable */
}

.scannability-result .progress-label {
  font-size: 14px;
  margin-top: 4px;
}
.qr-types-subtitle {
  font-size: 10px;
  color: white;
  font-weight: 400;
  line-height: 1;
}
.rounded-55rem {
  border-radius: 0.55rem !important;
}
.text-font {
  width: 95px;
  height: 43px;
  color: black;
  background-color: white;
  border-radius: 7px;
  border: 1px solid #ccc;
  font-size: 16px;
  font-weight: 400;
}
/* Hide scrollbar (Chrome, Edge, Safari) */
.qr-settings::-webkit-scrollbar {
  display: none;
}

.qr-settings {
  scrollbar-width: none;
}
.position-grid {
  display: inline-flex;
  gap: 9px;
}
.text-position {
  width: 90px;
  height: 43px;
  color: black;
  background-color: white;
  border-radius: 7px;
  border: 1px solid #ccc;
  font-size: 16px;
  font-weight: 400;
}
.bold-btn {
  top: 15px;
  position: relative;
}
.bold-toggle-btn {
  border: 1px solid #ccc !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}
.bold-toggle-btn:hover {
  background-color: #f8f9fa !important;
}
.text-font-color {
  border-radius: 4px;
  height: 35px;
  width: 45px;
  border: 1px solid #ccc;
  padding: 3px;
  background-color: white;
}
.qrcode-types img {
  /* width: 143px;
    height: 130px; */
  transition: transform 0.3s ease;
}
.qrcode-types img:hover {
  transform: scale(1.1); /* zooms in by 10% */
}
.gradient-picker {
  display: flex;
  gap: 20px;
  align-items: flex-start;
} /* Left big preview box */
.gradient-preview-large {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  border: 1px solid #ccc;
} /* Right controls */
.gradient-controls {
  display: flex;
  flex-direction: column;
  gap: 15px;
} /* Color picker + text */
.color-picker-box {
  display: flex;
  align-items: center;
  gap: 10px;
}
.color-picker-box input[type="color"] {
  border-radius: 4px;
  border: none;
  cursor: pointer;
}
.color-picker-box input[type="text"] {
  width: 100px;
  padding: 6px;
  border-radius: 6px;
  background-color: #f3f3f3;
  text-align: center;
  height: 36px !important;
  font-size: 13px !important;
} /* Swatches */
.color-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.color-swatches span {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #aaa;
}

.color-swatches {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.color-swatches span {
  width: 35px;
  height: 35px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
}

.gradient-preview-large {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 6px;
  border: 1px solid #444;
  cursor: crosshair;
}

/* Handles */
.gradient-handle {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  background: white;
  border: 2px solid black;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: grab;
}

.gradient-handle.left {
  left: 0%;
}

.gradient-handle.right {
  left: 100%;
}
.hidden-input {
  display: none;
}
.uploadbg {
  height: 118px;
  width: 129px;
}
.uploadbg-section {
  position: relative;
}
.image-background-section {
  gap: 54px;
  align-items: baseline;
}
.uploadlogo-imageqr {
  height: 150px;
  width: 150px;
}
.transparent-section {
  position: relative;
  top: 7px;
}

/* Trackball / cursor */
.trackball-container {
  position: relative;
  width: 100px;
  height: 100px;
  user-select: none;
  touch-action: none;
  background: #f6f6f6;
  border-radius: 8px;
  padding: 8px;
  border: 1px solid #ccc;
  overflow: hidden;
}

/* grid lines wrapper - fills container */
.trackball-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.trackball-grid-vert {
  position: absolute;
  left: 80%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
  transform: translateX(-0.5px);
}

.trackball-grid-horz {
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-0.5px);
}

/* cursor uses CSS variables set by JS */
.trackball-cursor {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  cursor: grab;
  left: var(--cursor-x, 50%);
  top: var(--cursor-y, 50%);
  transform: translate(-50%, -50%);
  transition:
    left 80ms ease-out,
    top 80ms ease-out;
}

/* Slider support: use --value for customized track fill if you had styles that depend on it.
   Example custom-slider minimal styling; integrate into your existing slider CSS. */
.custom-slider {
  /* keep native appearance but allow CSS var for custom track rendering */
  --value: 50%;
  -webkit-appearance: none;
  width: 250px;
  height: 25px;
  background: linear-gradient(
    90deg,
    var(--accent, #6b8cff) var(--value),
    #e6e6e6 0%
  );
  border-radius: 8px;
}

/* Thumb */
.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* small polish for input containers used in the component */
.slider-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-value {
  min-width: 36px;
  text-align: left;
}

.uploadlogo-imageqr.has-logo,
.uploadlogo-customqr.has-logo {
  background-color: transparent;
}

/* preview image inside upload box */
.upload-preview-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.scannability-wrapper {
  text-align: center;
}
.meter-bar {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #ff2d2d 0%,
    #ff8a00 25%,
    #ffea00 50%,
    #8dd400 75%,
    #24a200 100%
  );
  position: relative;
  margin: 6px 0px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}
.meter-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: rgba(
    255,
    255,
    255,
    0
  ); /* invisible — gradient shown in background */
  pointer-events: none;
  mix-blend-mode: multiply;
}
.meter-fill--high {
  opacity: 1;
}
.meter-fill--medium {
  opacity: 0.9;
}
.meter-fill--low {
  opacity: 0.7;
}
.meter-knob {
  position: absolute;
  top: 0px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.08);
  transform: translateX(-50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.scannability-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.scannability-badge {
  font-size: 20px;
  display: inline-block;
}
.scannability-badge.ok {
  color: #1f8a1f;
}
.scannability-badge.warn {
  color: #e28b00;
}
.scannability-badge.bad {
  color: #d63636;
}
.scannability-text {
  font-size: 14px;
  color: #222;
}
.decoded-text {
  margin-top: 4px;
  font-size: 12px;
  color: #444;
  word-break: break-all;
}

.qr-canvas {
  display: block;
  background: transparent;
}

.qr-canvas--transparent {
  background: transparent;
}

.qr-canvas--has-bg {
  /* optional: give non-transparent QR codes a base background */
}

.clear-button {
  position: relative;
  bottom: 49px;
  right: 40px;
  border-radius: 20px;
}

.preview-container {
  position: relative;
  display: inline-block;
}

.remove-logo {
  position: absolute;
  top: -6px;
  right: 39px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
}

.remove-logo-imageqr {
  position: relative;
  left: 73px;
  bottom: 160px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
}

.remove-bg-image {
  position: relative;
  bottom: 123px;
  left: 115px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
}

.remove-bg-imageqr {
  position: relative;
  bottom: 126px;
  left: 116px;
  background: #ff4444;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  padding: 0;
  font-size: 12px;
}
/* re-use existing classes from your project where appropriate:
   .qrgen-color-picker-box, .color-picker-box, .color-swatch etc.
   The classes above are minimal helpers — integrate them into your theme as needed.
*/

/* .qr-offscreen {
  position: absolute;
  left: -99999;
  top: 0;
  width: size;
  height: size;
  visibility: hidden;
} */
/* Custom styling for SliderWrapper component */
.slider-wrapper {
  width: 50vw !important;
  max-width: 60vw !important;
}

@media (max-width: 768px) {
  .slider-wrapper {
    width: 90vw !important;
    max-width: 90vw !important;
  }
}

.slider-wrapper.offcanvas-xl {
  width: 60vw !important;
  max-width: 60vw !important;
}
.qrfor {
  justify-content: center !important;
}
.qrfor img {
  width: 22px;
  height: 22px;
}
.qrfor h4 {
  padding: 4px 0px !important;
  font-weight: 500;
  font-size: 14px;
  color: black;
  text-transform: uppercase;
}
.qr-types-title {
  font-size: 15px;
  color: white;
  margin-top: 6px;
  margin-bottom: 3px;
  font-weight: 700;
}
.tabs-label {
  font-size: 15px;
  font-weight: 500;
  color: black;
}
.custom-hr {
  border: none;
  border-top: 1px solid #664dd0;
  margin: 16px 0;
  margin: 16px 0px;
}
.form-label {
  margin-bottom: 0.3rem;
}
.cards-title {
  margin: 0px;
  font-size: 16px;
  font-weight: 500;
  color: black;
}
.bg-card {
  background-color: #fff;
  padding: 18px 0px;
  border-bottom: 2px solid #e0d8ff;
}
.text-overlay-count {
  font-size: 11px;
  padding-top: 4px;
  text-align: end;
  color: #7c7b7b;
}
.mode-btn {
  font-size: 18px;
  color: black;
  padding: 4px 20px;
  border: 1px solid black;
  border-radius: 7px;
  background-color: white;
}
.btn-generate {
  padding: 15px 28px !important;
  font-size: 14px;
  border-radius: 0.55rem !important;
  background-color: #5014d0;
  color: white;
  font-size: 18px;
}
.btn-generate:hover {
  padding: 15px 28px !important;
  font-size: 14px;
  border-radius: 0.55rem !important;
  background-color: #3a128f;
  color: white;
  font-size: 18px;
}
.angle-number {
  width: 45px;
  height: 21px;
  border-radius: 3px;
  border: 1px solid #d9d9d9;
  padding-left: 6px;
  background-color: #f3f3f3;
  font-size: 15px;
  font-weight: 500;
  color: #3c3b3b;
}
.download-label {
  display: flex;
  color: white;
  font-size: 16px;
  margin-bottom: 3px;
}
/* .download-select {
  border-radius: 6px;
  border: 1px solid #ccc;
  background: white;
  color: black;
  padding: 7px 4px;
  font-size: 14px;
  width: 100px;
  height: 40px;
} */

.download-select {
  border-radius: 6px;
  border: 1px solid #ccc;
  background: white;
  color: black;
  padding: 10px 15px;
  font-size: 14px;
  width: 102px;
  height: 43px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2714%27 height=%279%27 viewBox=%270 0 14 9%27%3E%3Cpath d=%27M1 1.5L7 7.5L13 1.5%27 stroke=%27%23000%27 stroke-width=%271.4%27 fill=%27none%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center; /* move icon inside */
}

.download-dropdown {
  color: black;
}
.toggle-switch {
  width: 40px;
  height: 22px;
  -webkit-appearance: none;
  appearance: none;
  background: #ccc;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 2px;
  left: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* When checkbox ON / checked */
.toggle-switch:checked {
  background: #6a4cff; /* purple like your image */
}

.toggle-switch:checked::before {
  transform: translateX(18px);
}
.bg-button {
  background: none;
  border: none;
  padding-right: 26px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  color: #000;
  padding-left: 0px;
}

/* Outer circle AFTER text */
.bg-button::after {
  content: "";
  position: absolute;
  right: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #8a70ff;
  border-radius: 50%;
  transition: 0.25s;
}

/* Inner filled circle when active */
.btn-active::before {
  content: "";
  position: absolute;
  right: 4.6px;
  width: 11px;
  height: 11px;
  background: #8a70ff;
  border-radius: 50%;
}

/* Hover style (optional) */
.bg-button:hover::before {
  border-color: #6a4cff;
}
.tab-heading {
  font-size: 18px;
  font-weight: 600;
}
.choose-template {
  width: 94px;
  height: 92px;
  background: #fafafa;
  border: 1px solid #c2c2c2;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.template-more {
  background-color: #fcf7ff;
  border: 1px solid #c2c2c2;
  border-radius: 6px;
  font-size: 30px;
  color: black;
  padding: 12px 10px;
  font-weight: 500;
  width: 90px;
  height: 92px;
}
.qr-settings h5 {
  font-size: 17px;
  margin-bottom: 0px;
  font-weight: 500;
  color: black;
}
.text-font.active {
  background: linear-gradient(90deg, #b185ff 0%, #5a3dfd 100%);
  color: white;
}
.form-control:focus {
  box-shadow: none !important;
  border: 1px solid #dee2ff;
}
input {
  font-size: 13px;
}
.cards-subtitle {
  font-size: 15px;
  color: black;
  font-weight: 500;
}
@media (max-width: 576px) {
  .qrcode-types {
    width: 100%;
  }
}
@media (max-width: 576px) {
  .options-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .options-row .corner-box,
  .options-row .morecorners {
    width: 100%;
  }
}

/* Inter - Local Font */
@font-face {
  font-family: 'Inter';
  src: url(./fonts/Inter-VariableFont_opsz,wght.e05c5f3d1fa6a3893d84.ttf) format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url(./fonts/Inter-Italic-VariableFont_opsz,wght.831252f8ba7e1b5b2432.ttf) format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

body {
  font-family: "Inter", sans-serif;
}

.app-container {
  min-height: 100vh;
  background: #fff;
  padding: 20px;
}

.app-header {
  max-width: 1400px;
  margin: 0 auto 30px;
  text-align: center;
  padding: 20px;
}

.app-header h1 {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.app-header p {
  font-size: 16px;
  color: #666;
}

.app-content {
  max-width: 1400px;
  margin: 0 auto;
  background: white;
  /* border-radius: 8px; */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  font-family: "Inter", sans-serif;
  height: auto;
}

