.quote-open-btn {
  position: fixed !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 15px !important;
  border-radius: 10px !important;
  width: 60px !important;
  height: 60px !important;
  max-height: 60px !important;
  max-width: 60px !important;
  gap: 8px !important;
  right: 25px !important;
  bottom: 25px !important;
  border: none !important;
  box-shadow: 0 1px 4px 0 !important;
  cursor: pointer !important;
}
  
.quote-btn-icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

/* SIDEBAR STYLES */
/* Backdrop */
.quote-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9998;
}
.quote-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* PRODUCTS COUNT BADGE STYLES */
.quote-btn-wrapper {
position: relative;
display: inline-block;
}
.quote-count-badge {
  position: fixed;

  min-width: 18px;
  height: 18px;
  padding: 5px 5px 6px 5px;

  border: 1px solid #000000;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;

  line-height: 1;
  pointer-events: none;
}


/* FORM LABEL AND INPUT CSS */
.quote-form-input .components-base-control__label {
  font-size: 16px;
  color: var(--label-color);
}
.quote-form-input .components-text-control__input {
  height: 36px !important;
}

/* FORM BUTTON CSS */
.mctqfw_save_button {
  border: none !important;
  background-color: var(--button-bg-color) !important;
  color: var(--button-font-color) !important;
  padding: 5px 15px !important;
}
.mctqfw_save_button:hover{
  background-color: var(--button-hover-bg-color) !important;
  color: var(--button-hover-text-color) !important;
}

/* Override theme button styles */
.quote-delete-btn {
  background: none !important;
  border: none !important;
  padding-right: 4px !important;
  color: inherit !important;
  font-size: inherit !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Remove hover/focus effects added by theme */
.quote-delete-btn:hover,
.quote-delete-btn:focus {
  background: none !important;
  box-shadow: none !important;
}

/* FULL IconButton reset */
.quote-close-btn {
  padding: 0 !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
}

/* Prevent hover/focus background */
.quote-close-btn:hover,
.quote-close-btn:focus {
  background: none !important;
}

/* CLOSE QUOTE SIDEBAR SVG CSS */
.quote-close-btn svg {
  margin-top: 7px !important;
  width: 35px !important;
  height: 35px !important;
}

/* DELETE QUOTE PRODUCT SVG CSS */
.quote-delete-btn svg {
  width: 21px !important;
  height: 21px !important;
}

/* LOADER */
/* Full-screen overlay */
.overlay-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(253, 251, 251, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
/* Simple lightweight spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #d2d2d2;
  border-top-color: #2271b1;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
/* rotation animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* QUOTE BUTTON CSS */
.mctq_quote_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* SIDEBAR HEADER SECTION CSS */
.header-section {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

/* SIDEBAR PRODUCT SECTION CSS */
.products-section {
  position: relative;
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

/* SIDEBAR NO PRODUCT TEXT CSS */
.no-products-text {
  text-align: center;
  margin-top: 80px;
  color: #6b7280;
}

/* SIDEBAR PRODUCT LIST ITEM CSS */
.product-list-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* QUOTE SIDEBAR CSS */
.quote-sidebar-section {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  max-width: 100%;
  background: #f9fafb;
  z-index: 9999999;
  display: flex;
  flex-direction: column;
}

/* PRODUCT TITLE HOVER COLOR CSS */
.quote-product-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-color);
  transition: color 0.2s ease;
}
.quote-product-title:hover {
  color: var(--hover-color); 
}

/* QUOTE PRODUCT PRICE COLOR CSS */
.quote-product-price { 
  font-size: 14px;
  font-weight: 600;
}

/* CLOSE AND DELETE SVG COLORS */
.delete-svg {
  fill: #f44e4e !important;
}
.delete-svg:hover {
  fill: #d00505 !important;
}
.close-svg {
  color: #f44e4e !important;
}
.close-svg:hover {
  color: #d00505 !important;
}