.elementor-12 .elementor-element.elementor-element-82190b6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:20px 20px;--row-gap:20px;--column-gap:20px;--padding-top:30px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-12 .elementor-element.elementor-element-82190b6:not(.elementor-motion-effects-element-type-background), .elementor-12 .elementor-element.elementor-element-82190b6 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-uicore_light );}.elementor-12 .elementor-element.elementor-element-4bce944{--display:flex;--min-height:0px;--gap:20px 20px;--row-gap:20px;--column-gap:20px;--padding-top:30px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-12 .elementor-element.elementor-element-589acf9{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:20px 20px;--row-gap:20px;--column-gap:20px;--padding-top:30px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-12 .elementor-element.elementor-element-589acf9:not(.elementor-motion-effects-element-type-background), .elementor-12 .elementor-element.elementor-element-589acf9 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-uicore_light );}.elementor-12 .elementor-element.elementor-element-e7ea08b{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--border-radius:4px 4px 4px 4px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-12 .elementor-element.elementor-element-9d540a0{width:100%;max-width:100%;}.elementor-12 .elementor-element.elementor-element-9d540a0.elementor-element{--align-self:flex-start;}.elementor-12 .elementor-element.elementor-element-f621327{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-12 .elementor-element.elementor-element-9e44903{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:flex-start;border-style:solid;--border-style:solid;border-width:1px 1px 1px 1px;--border-top-width:1px;--border-right-width:1px;--border-bottom-width:1px;--border-left-width:1px;border-color:#E7E9F1;--border-color:#E7E9F1;--border-radius:4px 4px 4px 4px;--padding-top:30px;--padding-bottom:30px;--padding-left:30px;--padding-right:30px;--z-index:0;}.elementor-12 .elementor-element.elementor-element-9e44903:not(.elementor-motion-effects-element-type-background), .elementor-12 .elementor-element.elementor-element-9e44903 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FBFBFB;}.elementor-12 .elementor-element.elementor-element-9e44903.e-con{--align-self:flex-start;--order:-99999 /* order start hack */;}.elementor-12 .elementor-element.elementor-element-037683a{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-12 .elementor-element.elementor-element-0f3341f{width:100%;max-width:100%;}.elementor-12 .elementor-element.elementor-element-0f3341f.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}@media(min-width:768px){.elementor-12 .elementor-element.elementor-element-e7ea08b{--width:100%;}.elementor-12 .elementor-element.elementor-element-f621327{--width:50%;}.elementor-12 .elementor-element.elementor-element-9e44903{--width:100%;}.elementor-12 .elementor-element.elementor-element-037683a{--width:100%;}}/* Start custom CSS for html, class: .elementor-element-ef5bc1e *//* Search Section */

.search-container {
    display: flex;
    position: relative;
}

#business-search {
    flex: 1;
    border: 1.6px solid #42506666;
    box-shadow: 0px 3.1931917667388916px 6.386383533477783px 0px #4250661A;
    background: #fff;
    border-radius: 6px;
    padding: 10px 15px;
    color: #1f2124;
    font-size: 16px;
}

/* Search Results Dropdown - Updated */
.search-results-dropdown {
    position: absolute; /* Change to absolute positioning */
    top: 100%; /* Position below the search input */
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-bottom-right-radius: 6px; 
    border-bottom-left-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Higher z-index to ensure it overlays content */
    display: none;
    max-height: 300px; /* Optional: limit height */
    overflow-y: auto; /* Optional: add scrolling if many results */
}

.search-results-dropdown.active {
    display: block;
}

.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f9f9f9;
}

.search-result-name {
    font-weight: 500;
    color: var(--e-global-color-uicore_headline, #222);
}

.search-result-address {
    font-size: 14px;
    color: var(--e-global-color-uicore_body, #333);
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-87f7e0e *//* Carousel Styles */
.templates-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.templates-carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.templates-carousel::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.carousel-item {
  flex: 0 0 calc(20% - 16px); /* Show ~5 items */
  min-width: 220px;
  scroll-snap-align: start;
  background-color: white;
  border-radius: 8px;
  transition: transition 0.3s;
  overflow: visible;
  position: relative;
  height: 190px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1.6px solid #42506666;
}

.carousel-item.selected {
  border: 2px solid var(--e-global-color-uicore_primary);
}

.carousel-item:hover {
  border: 2px solid var(--e-global-color-uicore_primary);
}

.carousel-item .layout-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.carousel-item .layout-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  overflow: hidden;
  padding: 10px;
}

.carousel-item .template-label {
  font-weight: bold;
  padding: 8px 0;
  text-align: center;
  background-color: #f9f9f9;
  width: 100%;
  border: 1.6px solid #42506666;
}

/* Carousel Navigation */
.carousel-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.carousel-navigation.hidden {
  display: none;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  cursor: pointer;
  color: #333;
  transition: all 0.2s;
}

.carousel-nav:hover {
  background-color: var(--e-global-color-uicore_primary);
  color: white;
  border-color: var(--e-global-color-uicore_primary);
}

.carousel-nav svg {
  width: 18px;
  height: 18px;
}

.carousel-dots {
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d5db;
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background-color: var(--e-global-color-uicore_primary);
}

/* Filter dropdown styles */
.badge-filters {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.filter-dropdown {
  position: relative;
  display: inline-block;
  margin-right: 10px;
}

.filter-dropdown-btn {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background-color: white;
  border: 1.6px solid #42506666;
  border-radius: 6px;
  font-size: 14px !important;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
  gap: 8px;
}

.filter-dropdown-btn:hover {
  border-color: var(--e-global-color-uicore_primary);
  color: var(--e-global-color-uicore_primary);
}

.filter-dropdown-btn svg {
  color: inherit;
}

.filter-dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  min-width: 180px;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
  overflow: hidden;
}

.filter-dropdown-content.show {
  display: block;
}

.filter-item {
  padding: 10px 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 14px !important;
}

.filter-item:hover {
  background-color: #f5f5f5;
}

.filter-item.active {
  background-color: var(--e-global-color-uicore_primary);
  color: white;
}

.current-filter {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-label {
  font-weight: 600;
  color: var(--e-global-color-uicore_primary);
}

.filter-icon,
.chevron-icon {
  width: 16px;
  height: 16px;
}

/* Make preview containers auto-sized to their content */
.layout-preview {
  width: 100%;
  height: 180px; /* Consistent height for preview */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  cursor: pointer;
  max-width: 100%; /* Ensure it doesn't exceed parent width */
}

/* Layout Preview Styles */
.layout-preview .google-review-badge {
  transform: scale(0.75);
  transform-origin: center;
  margin: 0;
  padding: 8px;
  width: auto;
  height: auto;
  max-width: none;
  background-color: white;
}

.layout-preview .google-review-badge .stars {
  font-size: 14px;
  margin: 2px 0;
  white-space: nowrap;
  display: flex;
}

.layout-preview .google-review-badge .rating-value {
  font-size: 18px;
}

.layout-preview .google-review-badge .review-count {
  font-size: 12px;
}

.layout-preview .google-review-badge .google-text {
  font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .carousel-item {
    flex: 0 0 calc(25% - 15px); /* Show 4 items */
  }
}

@media (max-width: 992px) {
  .carousel-item {
    flex: 0 0 calc(33.333% - 14px); /* Show 3 items */
  }
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 calc(50% - 10px); /* Show 2 items */
    min-width: 180px;
    height: 230px;
  }

  .filter-dropdown {
    width: 100%;
  }

  .filter-dropdown-btn {
    width: 100%;
    justify-content: space-between;
  }

  .filter-dropdown-content {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .carousel-item {
    flex: 0 0 calc(100% - 10px); /* Show 1 item */
  }
}

/* Keep the selected status styling for selected template */
.carousel-item input[type="radio"]:checked {
  border: 2px solid var(--e-global-color-uicore_primary);
  box-shadow: 0 0 0 2px var(--e-global-color-uicore_primary);
}

.carousel-item input[type="radio"] {
  display: none;
}

.templates-carousel {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: grab;
}

.templates-carousel:active {
  cursor: grabbing;
}

.templates-carousel .floating-style-preview .google-review-badge {
  width: auto;
  min-width: max-content;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.templates-carousel .bold-banner-preview .google-review-badge {
  min-width: max-content;
  display: flex;
  align-items: center;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-9d540a0 *//* Layout Grid Styles */
.layout-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  cursor: pointer;
  max-width: 100%;
}

.layout-grid-item {
  background-color: white;
  border-radius: 6px;
  box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 250px;
  border: 2px solid transparent;
  width: 100%;
  overflow: hidden;
  min-width: 0;
}

.layout-grid-item:hover {
  border: 2px solid var(--e-global-color-uicore_primary);
  box-shadow: 0 0 0 2px var(--e-global-color-uicore_primary);
}

.layout-grid-item.selected {
  border: 2px solid var(--e-global-color-uicore_primary);
  box-shadow: 0 0 0 2px var(--e-global-color-uicore_primary);
}

.layout-title {
  margin: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  height: auto;
  max-height: 20px;
}

/* Responsive adjustments with consistent sizing */
@media (max-width: 1024px) {
  .layout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .layout-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .layout-grid-item {
    height: 220px; /* Slightly smaller height on mobile for better proportions */
  }
}

/* Layout Preview Styles */
.layout-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.layout-option {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.layout-option input[type="radio"] {
  display: none;
}

.layout-grid-item input[type="radio"]:checked,
.layout-grid-item:hover {
  border-color: var(--e-global-color-uicore_primary);
  box-shadow: 0 0 0 2px var(--e-global-color-uicore_primary);
}

.layout-grid-item input[type="radio"]:checked ~ .layout-title,
.layout-grid-item input[type="radio"]:checked {
  color: var(--e-global-color-uicore_primary);
}

.layout-grid-item input[type="radio"]:checked + .layout-option .layout-preview,
.layout-grid-item input[type="radio"]:checked {
  border-color: var(--e-global-color-uicore_primary);
  box-shadow: 0 0 0 2px var(--e-global-color-uicore_primary);
}

.layout-grid-item input[type="radio"]:checked {
  border: 2px solid var(--e-global-color-uicore_primary);
  box-shadow: 0 0 0 2px var(--e-global-color-uicore_primary);
}

.layout-grid-item input[type="radio"]:checked + .layout-option {
  border: 2px solid var(--e-global-color-uicore_primary);
}

.layout-preview:hover {
  border-color: #aaa;
}

.preview-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Google Logo Preview */
.preview-google-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

/* Improve the default layout preview styling */
.default-preview .preview-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.default-preview .preview-google-logo {
  width: 60px;
  height: 20px;
  margin-bottom: 1px;
  display: flex;
  justify-content: center;
}

.default-preview .preview-stars {
  font-size: 10px;
  color: #ffca28;
  margin: 1px 0;
}

.default-preview .preview-rating-line {
  font-size: 9px;
  margin-top: 1px;
}

/* Vertical Layout Preview */
.vertical-preview .preview-content {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.vertical-preview .preview-top {
  display: flex;
  align-items: center;
  gap: 5px;
}

.vertical-preview .preview-text {
  font-size: 8px;
}

.vertical-preview .preview-rating {
  font-weight: bold;
  font-size: 14px;
}

.vertical-preview .preview-stars {
  font-size: 10px;
  color: #ffca28;
}

.vertical-preview .preview-count {
  font-size: 8px;
  opacity: 0.8;
}

/* Corner radius preview styles */
.corner-radius-options {
  display: flex;
  padding: 12px;
  border-top: 1px solid #e7e9f1;
  justify-content: space-between;
   overflow: visible !important;
}

.corner-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.corner-option input[type="radio"] {
  display: none;
}

.corner-option input[type="radio"]:checked + .corner-preview {
  border-color: var(--e-global-color-uicore_primary);
  box-shadow: 0 0 0 2px var(--e-global-color-uicore_primary);
}

.corner-preview {
  width: 60px;
  height: 45px;
  border: 2px solid #ddd;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
  font-size: 14px;
}

.corner-preview:hover {
  border-color: #aaa;
}

.corner-preview.shape-rectangle {
  border-radius: 0;
}

.corner-preview.shape-rounded {
  border-radius: 8px;
}

.corner-preview.shape-pill {
  border-radius: 25px;
}

/* Make corner options and size options take full width of their container */
.corner-radius-options,
.size-options {
display: flex;
width: 100%;
}

/* Toggle Switch Styles */
.toggle-options {
  display: flex;
  flex-direction: row;
  gap: 45px;
  border-top: 1px solid #e7e9f1;
  padding: 12px 16px;
}

.toggle-options.border-option, .toggle-options.shadow-option{
  display: flex;
  padding: 23px 12px;
  border-top: 1px solid #e7e9f1;
}

.toggle-option {
  display: flex;
  align-items: center;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-right: 5px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--e-global-color-uicore_primary);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.toggle-label {
  font-size: 14px;
}

/* Badge styling for different layouts */
/* Base Badge Style */
.google-review-badge {
  display: inline-flex;
  padding: 10px 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Badge Shapes */
.google-review-badge.shape-rectangle {
  border-radius: 0 !important;
}

.google-review-badge.shape-rounded {
  border-radius: 8px !important;
}

.google-review-badge.shape-pill {
  border-radius: 30px !important;
}

/* Default Layout (New) */
.google-review-badge.layout-default {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  gap: 2px;
}

.google-review-badge.layout-default .google-header {
  margin-bottom: 5px;
  width: 100%;
  text-align: center;
}

.google-review-badge.layout-default .google-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.google-review-badge.layout-default .stars {
  margin-top: 0;
}

.google-review-badge.layout-default .rating-review-line {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-review-badge.layout-default .rating-value {
  font-weight: 700;
}

.google-review-badge.layout-default .separator {
  margin: 0 5px;
}

/* Vertical Layout */
.google-review-badge.layout-vertical {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  width: 230px;
  gap: 5px;
}

.google-review-badge.layout-vertical .google-header {
  display: flex;
  align-items: center;
}

.google-review-badge.layout-vertical .google-icon {
  margin-right: 8px;
}

.google-review-badge.layout-vertical .google-text {
  font-size: 16px;
  font-weight: 500;
}

.google-review-badge.layout-vertical .rating-value {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.google-review-badge.layout-vertical .review-count{
  padding-top: 3px;
}

/* Common styles for all layouts */
.google-review-badge .google-icon svg {
  display: block;
}

.google-review-badge .star {
  font-size: 20px;
  margin-right: 2px;
  line-height: 1;
}

.google-review-badge .review-count {
  font-size: 14px;
  opacity: 0.9;
}
/* Customization Options */
.customization-options {
  overflow: hidden;
  max-width: 100%;
}

/* Updated Color Options Layout - Three Column Display */
.color-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* Updated Color Options Layout - Three Column Display */
.option-group.color-options {
  display: flex;
  flex-direction: column;
}

.option-group.color-options h5 {
  margin-bottom: 15px;
}

.option-group {
  background: #ffff;
  border: 1px solid #e7e9f1;
  border-radius: 6px;
  margin-bottom: 20px;
}

.option-group h5 {
  background-color: #f8f9fa;
  margin: 0px !important;
  padding: 12px 16px !important;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  color: var(--e-global-color-uicore_headline);
  display: flex;
  align-items: center;
  gap: 8px;
}

.option-group svg{
  background-color: var(--e-global-color-uicore_light);
  color: var(--e-global-color-uicore_primary);
  border-radius: 6px;
  padding: 8px;
  width: 34;
  height: 34;
}

.color-options-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 12px 16px;
  border-top: 1px solid #e7e9f1;
}

.color-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.color-option label {
  width: 100%;
  font-weight: 500;
  margin-bottom: 5px;
  font-size: 14px;
}

.color-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.color-inputs input[type="color"] {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background-color: white;
}

.color-inputs input[type="text"] {
  width: calc(100% - 90px);
  padding: 8px 10px;
  border: 1px solid #e7e9f1;
  border-radius: 6px;
  font-size: 14px;
}

@media (min-width: 768px) {
  .color-options-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .color-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .color-options {
    grid-template-columns: 1fr;
  }
}

/* Add this CSS to your existing CSS for better half-star display */
.star.half-star {
  position: relative;
  display: inline-block;
}

.star.half-star:before {
  content: "★";
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
}

.star.half-star:after {
  content: "☆";
  position: relative;
}

/* Scale down badges in preview containers for better display */
.layout-preview .google-review-badge {
  transform: scale(0.75);
  transform-origin: center;
  margin: 0;
  padding: 8px;
  width: auto;
  height: auto;
  max-width: none;
  background-color: white;
}

/* Fine-tune styling for badges inside previews */
.layout-preview .google-review-badge .stars {
  font-size: 14px;
  margin: 2px 0;
  white-space: nowrap;
  display: flex;
}

.layout-preview .google-review-badge .rating-value {
  font-size: 18px;
}

.layout-preview .google-review-badge .review-count {
  font-size: 12px;
}

.layout-preview .google-review-badge .google-text {
  font-size: 12px;
}

/* Default layout preview specific styles */
.default-preview .google-review-badge {
  min-width: 120px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.default-preview .google-review-badge .google-icon svg {
  width: 60px;
  height: 20px;
}

.default-preview .google-review-badge .rating-review-line {
  font-size: 12px;
  flex-direction: row;
  white-space: nowrap;
}

/* Vertical layout preview specific styles */
.vertical-preview .google-review-badge {
  min-width: 180px;
  padding: 15px;
  border: 1px solid #454545;
  box-shadow: none !important;
}

.vertical-preview .google-review-badge .google-header {
  margin-bottom: 4px;
}

.vertical-preview .google-review-badge .rating-value {
  font-size: 22px;
  margin-bottom: 2px;
}


/* Force Google logo to be bigger in default layout with high specificity */
.layout-preview.default-preview .google-review-badge .google-icon svg {
  width: 120px !important;
  height: 80px !important;
  max-width: none !important;
  max-height: none !important;
}

/* Increase the overall scale for default preview */
.layout-preview.default-preview .google-review-badge {
  transform: scale(1) !important;
  transform-origin: center !important;
}

/* Make sure the default preview has enough height */
.layout-preview.default-preview {
  min-height: 120px !important;
}

/* Tabs styling */
.customization-tabs {
  display: flex;
  margin-bottom: 20px;
}

.customization-tab {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--e-global-color-uicore_body);
  border: 1px solid #e2e7ec;
  margin: 0px;
}

.customization-tab:hover {
  background-color: var(--e-global-color-uicore_secondary);
  color: white;
}

.customization-tab[data-tab="badge-style"] {
  border-radius: 6px 0px 0px 0px;
  border-right: none;
}

.customization-tab[data-tab="design"] {
  border-radius: 0px 6px 0px 0px;
}

.customization-tab.active {
  color: white;
  background-color: var(--e-global-color-uicore_primary);
}

.customization-tab-content {
  display: none;
}

.customization-tab-content.active {
  display: block;
}

/* Theme Options */
.theme-options, .google-options {
  display: flex;
  gap: 15px;
  padding: 12px 16px;
  border-top: 1px solid #e7e9f1;
}

.theme-option, .google-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.theme-option input[type="radio"] {
  display: none;
}

.google-option input[type="radio"] {
  display: none;
}

.theme-option input[type="radio"]:checked + .theme-preview {
  border-color: var(--e-global-color-uicore_primary);
  box-shadow: 0 0 0 2px var(--e-global-color-uicore_primary);
}

.google-option input[type="radio"]:checked + .google-logo-option {
  border-color: var(--e-global-color-uicore_primary);
  box-shadow: 0 0 0 2px var(--e-global-color-uicore_primary);
}

.theme-preview, .google-logo-option {
  width: 80px;
  height: 50px;
  border: 2px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 500;
}

.google-logo-option{
  color: var(--e-global-color-uicore_body);
}

/* Google logo option selection styling */
.theme-option input[type="radio"]:checked + .google-logo-option {
  border-color: var(--e-global-color-uicore_primary);
  box-shadow: 0 0 0 2px var(--e-global-color-uicore_primary);
}

/* Ensure hovering also works properly */
.google-logo-option:hover {
  border-color: #aaa;
}

/* Make sure checked state is visually clear */
.theme-option input[name="badge-logo"]:checked + .google-logo-option {
  border-color: var(--e-global-color-uicore_primary);
  box-shadow: 0 0 0 2px var(--e-global-color-uicore_primary);
}

.theme-preview:hover, .google-logo-option:hover {
  border-color: #aaa;
}

.theme-preview.theme-light {
  background-color: white;
  color: #333;
}

.theme-preview.theme-dark {
  background-color: #333;
  color: white;
}

/* Size Options */
.size-options {
  display: flex;
  gap: 10px;
  border-top: 1px solid #e7e9f1;
  padding: 12px;
  justify-content: space-between;
}

.size-option {
  cursor: pointer;
  align-items: flex-start;
  width: 100%;
}

.size-option input[type="radio"] {
  display: none;
}

.size-option input[type="radio"]:checked + .size-preview {
  border-color: var(--e-global-color-uicore_primary);
  box-shadow: 0 0 0 2px var(--e-global-color-uicore_primary);
}

.size-preview {
  height: 45px;
  border: 2px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
  font-size: 16px;
  font-weight: bold;
}

.size-preview:hover {
  border-color: #aaa;
}

/* Badge scaling based on size selection */
.google-review-badge.size-small {
  transform: scale(0.8);
  transform-origin: center;
}

.google-review-badge.size-medium {
  transform: scale(1);
  transform-origin: center;
}

.google-review-badge.size-large {
  transform: scale(1.2);
  transform-origin: center;
}

/*========== NEW BADGES ============*/

/* CSS ADDITIONS FOR GOOGLE REVIEW BADGE GENERATOR */

/* ===== 1. Filter Buttons Styling ===== */
.badge-filters {
  margin-bottom: 25px;
}

.badge-filters h5 {
  margin-bottom: 15px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 8px 16px;
  background-color: #f5f5f5;
  border: 1px solid #e7e9f1;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--e-global-color-uicore_body);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  background-color: #e9e9e9;
}

.filter-btn.active {
  background-color: var(--e-global-color-uicore_primary);
  color: white;
  border-color: var(--e-global-color-uicore_primary);
}

/* ===== 3. Badge Template Styling ===== */

/* Minimalist Design */
.minimalist-preview .google-review-badge {
  background-color: white;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.minimalist-preview .google-review-badge .google-icon {
  margin-right: 5px;
}

.minimalist-preview .google-review-badge .stars {
  color: #ffca28;
  font-size: 16px;
}

/* Rounded Background */
.rounded-background-preview .google-review-badge {
  background-color: #FFFFFF;
  border: 1px solid #DDDDDD;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border-radius: 12px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.rounded-background-preview .google-review-badge .google-icon {
  margin-bottom: 29px;
  height: 20px;
  width: 60px;
  margin-top: -15px;
}

.rounded-background-preview .google-review-badge .rating-value {
  font-size: 24px;
  font-weight: 700;
}

/* Floating Style */
.floating-style-preview .google-review-badge {
  background-color: white;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.floating-style-preview .preview-content {
  white-space: nowrap;
}

.floating-style-preview .google-review-badge .review-count {
  white-space: nowrap;
  display: inline-block;
}

.floating-style-preview .google-review-badge:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, #4285f4, #34a853, #fbbc05, #ea4335);
}

.floating-style-preview .google-review-badge .rating-value {
  font-weight: 700;
}

/* Modern Pill */
.modern-pill-preview .google-review-badge {
  background-color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  padding: 10px 25px;
  border-radius: 30px;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.modern-pill-preview .google-review-badge .rating-value {
  font-size: 18px;
  font-weight: 700;
  margin-right: 10px;
}

.modern-pill-preview .google-review-badge .stars {
  color: #ffca28;
}

/* ===== 4. New Badge Template Styles ===== */

/* Business Card */
.business-card-preview .google-review-badge {
  background-color: white;
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

.business-card-preview .google-review-badge .rating-value {
  font-size: 28px;
  font-weight: 700;
}

.business-card-preview .google-review-badge .review-count {
  color: #777;
}

.business-card-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background-color: #4285f4;
  z-index: 0;
  /* Add these important properties */
  width: 100% !important;
  transform: none !important;
}

/* Circle Badge */
.circle-badge-preview .google-review-badge {
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 0;
}

.circle-badge-preview .google-review-badge .google-icon {
  margin-bottom: 5px;
}

.circle-badge-preview .google-review-badge .rating-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.circle-badge-preview .google-review-badge .stars {
  margin: 5px 0;
  font-size: 12px;
}

.circle-badge-preview .google-review-badge .review-count {
  font-size: 10px;
}

/* Gradient Banner */
.gradient-banner-preview .google-review-badge {
  background: linear-gradient(135deg, #4285f4, #34a853);
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 8px;
  color: white;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.gradient-banner-preview .google-review-badge .rating-value {
  font-size: 24px;
  font-weight: 700;
}

.gradient-banner-preview .google-review-badge .stars {
  color: #FFCA28;
}

/* Sidebar Widget */


.sidebar-banner {
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background-color: #4285f4;
  z-index: 1;
}

.sidebar-widget-preview .google-review-badge .google-header {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.sidebar-widget-preview .google-review-badge .google-icon {
  margin-right: 10px;
}

.sidebar-widget-preview .google-review-badge .rating-value {
  font-size: 24px;
  font-weight: 700;
}

/* Spotlight Box */
.spotlight-box-preview .google-review-badge {
  background-color: #4285f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  border-radius: 10px;
  color: white;
  box-shadow: 0 10px 25px rgba(66, 133, 244, 0.3);
  text-align: center;
}

.spotlight-box-preview .google-review-badge .rating-value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.spotlight-box-preview .google-review-badge .stars {
  color: #ffdd00;
  font-size: 24px;
}

/* Bold Banner */
.layout-preview.bold-banner-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  overflow: visible;
}

.bold-banner-preview .google-review-badge {
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  padding: 15px 25px;
  border-radius: 6px;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: visible;
  width: auto;
}

.bold-banner-preview .google-review-badge:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: #4285f4;
  transform: skewX(-15deg) translateX(20%);
  z-index: 1;
}

.bold-banner-preview .google-review-badge .google-icon,
.bold-banner-preview .google-review-badge .rating-value,
.bold-banner-preview .google-review-badge .stars,
.bold-banner-preview .google-review-badge .review-count {
  position: relative;
  z-index: 2;
}

.bold-banner-preview .google-review-badge .review-count {
  position: relative;
  z-index: 2;
  padding-right: 10px; /* Add some padding to ensure text doesn't get cut off */
  font-size: 14px !important;
}

.bold-banner-preview .google-review-badge .rating-value {
  font-size: 24px !important;
  font-weight: 700;
}

.bold-banner-preview .google-review-badge .stars {
  color: #ffca28;
}

/* ===== 5. Responsive adjustments ===== */
@media (max-width: 1024px) {
  .layout-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .layout-grid {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    flex-wrap: wrap;
  }
}

/* ===== 6. Actual badge implementation styles ===== */

/* Minimalist Design Badge */
.google-review-badge.layout-minimalist {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.google-review-badge.layout-minimalist .google-icon {
  margin-right: 5px;
}

.google-review-badge.layout-minimalist .rating-value {
  font-weight: 700;
  margin-right: 5px;
}

/* Rounded Background Badge */
.google-review-badge.layout-rounded_background {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  border-radius: 12px !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  gap: 3px;
}

.google-review-badge.layout-rounded_background.shape-rectangle {
  border-radius: 0 !important;
}

.google-review-badge.layout-rounded_background.shape-rounded {
  border-radius: 8px !important;
}

.google-review-badge.layout-rounded_background.shape-pill {
  border-radius: 30px !important;
}

.google-review-badge.layout-rounded_background .google-icon {
  margin-bottom: 7px;
  height: 50px;
  width: 75px;
  margin-top: -21px;
}

.google-review-badge.layout-rounded_background .rating-value {
  font-size: 24px;
  font-weight: 700;
}

.google-review-badge.layout-rounded_background .stars {
  line-height: 1;
}

/* Floating Style Badge */
.google-review-badge.layout-floating_style {
  display: flex;
  align-items: center;
  padding: 20px !important;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  /* Remove any possible margin */
  margin: 0;
}

/* Replace with this improved floating banner styling */
.google-review-badge.layout-floating_style .floating-banner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  /* Use a single-direction fixed gradient with hard-coded colors */
  background-image: linear-gradient(90deg, #4285f4 0%, #34a853 35%, #fbbc05 70%, #ea4335 100%);
  /* Do not set background-size here */
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Different border-radius for each shape type */
.google-review-badge.layout-floating_style.shape-rectangle .floating-banner {
  border-radius: 0;
}

.google-review-badge.layout-floating_style.shape-rounded .floating-banner {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.google-review-badge.layout-floating_style.shape-pill .floating-banner {
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

/* Ensure the content is above the gradient */
.google-review-badge.layout-floating_style .content-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
  gap: 8px;
}

.google-review-badge.layout-floating_style .rating-value {
  font-weight: 700;
}

/* Modern Pill Badge */
.google-review-badge.layout-modern_pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 25px;
  border-radius: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  gap: 8px;
}


.google-review-badge.layout-modern_pill .rating-value {
  font-size: 18px;
  font-weight: 700;
}

/* Business Card Badge */
.google-review-badge.layout-business_card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: inherit !important; /* Ensure border radius is inherited */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden; /* This is crucial - it cuts off the banner at borders */
  border-radius: 0;
}

.google-review-badge.layout-business_card div[style*="flex-direction: column"] {
  gap: 8px;
  margin-top: 4px;
}

/* Apply specific border radius based on shape class */
.google-review-badge.layout-business_card.shape-rectangle {
  border-radius: 0 !important;
}

.google-review-badge.layout-business_card.shape-rounded {
  border-radius: 6px !important;
}

.google-review-badge.layout-business_card.shape-pill {
  border-radius: 30px !important;
}

.google-review-badge.layout-business_card .rating-value {
  font-size: 28px;
  font-weight: 700;
}

.google-review-badge.layout-business_card .review-count {
  opacity: 0.7;
}

/* Circle Badge */
.google-review-badge.layout-circle_badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border-radius: 50% !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 0;
  margin: 0 auto;
}

.google-review-badge.layout-circle_badge .google-icon {
  margin-bottom: 5px;
  transform: scale(0.8);
}

.google-review-badge.layout-circle_badge .rating-value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.google-review-badge.layout-circle_badge .stars {
  margin: 5px 0;
  font-size: 12px;
}

.google-review-badge.layout-circle_badge .review-count {
  font-size: 10px;
}

/* Gradient Banner Badge */
.google-review-badge.layout-gradient_banner {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
  background: linear-gradient(135deg, #4285F4, #34A853);
  color: white;
  gap: 8px;
}

.google-review-badge.layout-gradient_banner .rating-value {
  font-size: 24px;
  font-weight: 700;
}

.google-review-badge.layout-gradient_banner .stars {
  color: white;
}

/* Sidebar Widget Badge */
.google-review-badge.layout-sidebar_widget {
  display: flex;
  flex-direction: column;
  padding: 15px 15px 15px 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden; /* Important to ensure the banner doesn't get clipped by border-radius */
  background-color: #FFFFFF;
  gap: 6px;
}

.google-review-badge.layout-sidebar_widget .sidebar-banner {
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  z-index: 1;
}

.google-review-badge.layout-sidebar_widget .google-header {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 2; /* Ensure this is above the banner */
}

.google-review-badge.layout-sidebar_widget .google-icon {
  margin-right: 10px;
}

.google-review-badge.layout-sidebar_widget .rating-value {
  font-size: 24px;
  font-weight: 700;
  position: relative;
  z-index: 2; /* Ensure this is above the banner */
}

.google-review-badge.layout-sidebar_widget .stars{
  line-height: 1;
}

.google-review-badge.layout-sidebar_widget .stars,
.google-review-badge.layout-sidebar_widget .review-count {
  position: relative;
  z-index: 2; /* Ensure all content is above the banner */
}

/* Spotlight Box Badge */
.google-review-badge.layout-spotlight_box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  border-radius: 10px;
  color: white;
  box-shadow: 0 10px 25px rgba(66, 133, 244, 0.3);
  text-align: center;
  gap: 10px;
  background-color: #4285f4;
}

.google-review-badge.layout-spotlight_box .google-icon {
  fill: white !important;
}

.google-review-badge.layout-spotlight_box .rating-value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

.google-review-badge.layout-spotlight_box .stars {
  color: #ffdd00;
  font-size: 24px;
  line-height: 1;
}

/* Bold Banner Badge */
.google-review-badge.layout-bold_banner {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  border-radius: 6px;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a;
  gap: 10px;
}

.google-review-badge.layout-bold_banner:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: #4285f4;
  transform: skewX(-15deg) translateX(20%);
  z-index: 1;
  border-radius: 0; /* Ensure the skewed background doesn't have border-radius */
}

.google-review-badge.layout-bold_banner .google-icon,
.google-review-badge.layout-bold_banner .rating-value,
.google-review-badge.layout-bold_banner .stars,
.google-review-badge.layout-bold_banner .review-count {
  position: relative;
  z-index: 2;
}

.google-review-badge.layout-bold_banner .rating-value {
  font-size: 26px;
  font-weight: 700;
}

/* Simple Card Badge Preview */
.simple-card-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 180px;
  overflow: visible;
}

.simple-card-preview .google-review-badge {
  transform: scale(0.65);
  transform-origin: center;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 15px;
  width: 200px;
  display: flex;
  justify-content: center;
  margin: 0;
}

.google-review-badge.layout-simple_card .google-icon-container {
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0; /* Remove margin-bottom */
}

/* SVG speech bubble styling */
.google-review-badge.layout-simple_card .speech-bubble-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.google-review-badge.layout-simple_card .google-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
}


.simple-card-preview .google-review-badge .simple-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}

/* Google logo positioning */
.google-review-badge.layout-simple_card .google-icon {
  position: relative;
  z-index: 2; /* Ensure logo appears above the bubble */
  width: 24px;
  height: 24px;
}

.simple-card-preview .google-review-badge .simple-card-title {
  color: #5F6368;
  font-size: 14px;
}

.simple-card-preview .google-review-badge .rating-value {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  color: #4D5156;
}

.simple-card-preview .google-review-badge .stars {
  margin: 5px 0;
}

.simple-card-preview .google-review-badge .review-count {
  color: #5F6368;
  font-size: 14px;
}

/* Actual Simple Card Badge Implementation */
.google-review-badge.layout-simple_card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 15px;
  width: 200px;
  display: flex;
  justify-content: center;
}

.google-review-badge.layout-simple_card .simple-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
}

.google-review-badge.layout-simple_card .google-icon {
  margin-bottom: 8px;
}

.google-review-badge.layout-simple_card .simple-card-title {
  color: #5F6368;
  font-size: 14px;
  margin-top: 3px;
}

.google-review-badge.layout-simple_card .simple-card-rating-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.google-review-badge.layout-simple_card .rating-value {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  color: #4D5156;
}

.google-review-badge.layout-simple_card .stars {
  display: flex;
}

.google-review-badge.layout-simple_card .stars .star {
  color: #FBBC05;
}

.google-review-badge.layout-simple_card .review-count {
  color: #5F6368;
  font-size: 14px;
}

/* Shape variations */
.google-review-badge.layout-simple_card.shape-rectangle {
  border-radius: 0 !important;
}

.google-review-badge.layout-simple_card.shape-rounded {
  border-radius: 8px !important;
}

.google-review-badge.layout-simple_card.shape-pill {
  border-radius: 30px !important;
}

/* Theme variations */
.google-review-badge.layout-simple_card.theme-dark {
  background-color: #333333;
}

.google-review-badge.layout-simple_card.theme-dark .simple-card-title,
.google-review-badge.layout-simple_card.theme-dark .rating-value,
.google-review-badge.layout-simple_card.theme-dark .review-count {
  color: #FFFFFF;
}

/* Two-column layout for Corner Radius and Size */
.two-column-options {
  display: grid;
  grid-template-columns: 27% 30% 1fr 1fr;
  column-gap: 20px;
}

.theme-google-container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}

/* Ensure each column takes full width on mobile */
@media (max-width: 768px) {
  .two-column-options {
    grid-template-columns: 1fr;
  }
}

/* No Border Preview Style */
.corner-preview.shape-no-border {
  position: relative;
  border-radius: 0;
  overflow: hidden;
}

.no-border-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
}

.no-border-line:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(to bottom right, transparent calc(50% - 2px), #ddd, transparent calc(50% + 2px));
}

/* No Border for actual badge */
.google-review-badge.shape-no-border {
  border-radius: 0 !important;
  border: none !important;
}

/* Fix for disabled theme radios */

/* Primary fix for theme options */
/* Main disabled theme option styling */
.theme-option.disabled {
  opacity: 0.5;
  position: relative;
  cursor: not-allowed;
}

/* Overlay to block interactions but show not-allowed cursor */
.theme-option.disabled::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  cursor: not-allowed;
}

/* Disable pointer events on the radio input */
.theme-option.disabled input[type="radio"] {
  pointer-events: none;
}

/* Reset appearance of disabled theme previews */
.theme-option.disabled .theme-preview,
.theme-option.disabled input[type="radio"]:checked + .theme-preview {
  border-color: #ddd !important;
  box-shadow: none !important;
}

/* Prevent hover effects on disabled theme options */
.theme-option.disabled .theme-preview:hover,
.theme-option.disabled:hover .theme-preview {
  border-color: #ddd !important;
  box-shadow: none !important;
}

/* Apply same rules to theme radio labels if used */
.theme-radio-label.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Shadow toggle classes */
.google-review-badge.no-shadow {
  box-shadow: none !important;
}

/* Border toggle classes */
.google-review-badge.no-border {
  border: none !important;
}

/* Tooltip Styles - Bottom Position */
.custom-tooltip {
  position: fixed;
  background-color: #000;
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: normal;
  white-space: nowrap;
  z-index: 999999;
  pointer-events: none;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Hide the original CSS tooltips */
[data-tooltip]:before,
[data-tooltip]:after {
  display: none !important;
}

/* Disabled shape options styling */
.corner-option.disabled {
  opacity: 0.5;
  position: relative;
}

.corner-option.disabled:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: not-allowed;
  z-index: 10;
}

.corner-option.disabled .corner-preview {
  border-color: #ddd !important;
  box-shadow: none !important;
  pointer-events: none;
}

.corner-option.disabled .corner-preview:hover,
.corner-option.disabled:hover .corner-preview {
  border-color: #ddd !important;
  box-shadow: none !important;
}

.corner-option.disabled input[type="radio"] {
  pointer-events: none;
}

.corner-preview.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Force rectangle shape for specific layouts */
.google-review-badge.layout-floating_style,
.google-review-badge.layout-business_card,
.google-review-badge.layout-sidebar_widget {
  border-radius: 0 !important;
}

.google-review-badge.layout-floating_style.shape-rounded,
.google-review-badge.layout-floating_style.shape-pill,
.google-review-badge.layout-business_card.shape-rounded,
.google-review-badge.layout-business_card.shape-pill,
.google-review-badge.layout-sidebar_widget.shape-rounded,
.google-review-badge.layout-sidebar_widget.shape-pill {
  border-radius: 0 !important;
}


.theme-option.disabled .google-logo-option {
  border-color: #ddd !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.theme-option.disabled input[type="radio"] {
  pointer-events: none;
}

/* Ensure no hover effects on disabled options */
.theme-option.disabled:hover .google-logo-option,
.theme-option.disabled .google-logo-option:hover {
  border-color: #ddd !important;
  box-shadow: none !important;
}

/* Updated styling for disabled Google logo options */
.google-option.disabled {
  opacity: 0.5;
  position: relative;
  cursor: not-allowed;
}

.google-option.disabled::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  cursor: not-allowed;
}

.google-option.disabled input[type="radio"] {
  pointer-events: none;
}

.google-option.disabled .google-logo-option,
.google-option.disabled input[type="radio"]:checked + .google-logo-option {
  border-color: #ddd !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.google-option.disabled:hover .google-logo-option,
.google-option.disabled .google-logo-option:hover {
  border-color: #ddd !important;
  box-shadow: none !important;
}

/* Update disabled styles */
.disabled {
  position: relative;
  opacity: 0.5;
}

/* Remove any existing ::before overlay */
.disabled::before {
  content: none !important;
}

/* Container for the SVG overlay (positioned via JS) */
.disabled-overlay-container {
  position: fixed;
  z-index: 10000;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The SVG inside the container */
.disabled-overlay-container svg {
  width: 24px !important;
  height: 24px !important;
  opacity: 1 !important;
}

/* Keep specific disabled element styles */
.theme-option.disabled,
.corner-option.disabled,
.google-option.disabled {
  cursor: not-allowed;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-0f3341f *//* Badge Preview */
.badge-preview {
    display: flex;
    justify-content: center;
}

.review-badge-generator-preview {
    background-color: white;
    width: 100%;
}
.badge-preview-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FBFBFB;
    margin-bottom: 50px;
    margin-top: 20px;
}

#download-badge {
    display: flex;
    align-items: center; /* Vertically align the SVG and text */
    justify-content: center; /* Horizontally center the content */
    background-color: var(--e-global-color-uicore_primary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 16px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s;
    width: 100%;
    font-weight: 600;
    width: 250px; /* Fixed width */
    margin: 0 auto; /* Center the button */
    
}

#download-badge:hover {
    background-color: var(--e-global-color-uicore_secondary);
}

#download-badge svg {
    margin-right: 8px; /* Adjust margin for better alignment with text */
    width: 20px; /* Set a consistent width for the SVG */
    height: 20px; /* Set a consistent height for the SVG */
}

#download-badge span {
    display: flex;
    align-items: center; /* Ensure text is aligned vertically with the SVG */
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-323ef5e *//* Reset Button */
.reset-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.reset-button svg{
    margin-left: 5px;
}

.reset-button {
  color: var(--e-global-color-uicore_body);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  background-color: #FBFBFB;
  flex-direction: center;
  display: flex;
}

.reset-button:hover{
    color: var(--e-global-color-uicore_primary);
}/* End custom CSS */