.radioButtonField {
  display: flex;
  gap: 0.3rem;
  padding: 0.4rem 0rem;
}

.revenue-field {
  display: flex;
  padding: 0.4rem 0rem;
}

.analytics-revenue {
  flex-grow: 1;
  font-weight: var(--p-font-weight-semibold);
  text-align: right;
}

.index-table-icons {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  float: right;
}

.offers-table-cell {
  padding: 1rem !important;
}

.color-box {
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  border: 1px solid #cacaca;
  border-radius: 8%;
  cursor: pointer;
}

.color-box.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.color-picker {
  position: absolute;
  z-index: 100;
  padding: 1rem;
  background-color: rgb(255 255 255);
  transform: translateY(-105%);
  border-radius: 8px;
  box-shadow: 0px 0px 8px rgb(1 1 1 / 40%);
}

.color-picker.closed {
  display: none;
  pointer-events: none;
}
 
.color-picker.opened {
  display: block;
  pointer-events: all;
}

.color-picker-box-wrapper {
  display: flex;
  gap: 5px;
  padding-bottom: 1rem;
}

.color-picker-box-wrapper p {
  align-self: center;
}

.kolio-bundles-preview {
  font-family: inherit;
  max-height: 60vh;
  overflow-y: auto;
}

@media screen and (min-width: 1024px) {
  .Polaris-Layout__Section:has(.kolio-bundles-preview) {
    max-width: 377px;
  }
}

@media screen and (min-width: 1170px) {
  .kolio-bundles-preview {
    position: fixed;
    min-width: 377px;
    max-width: 377px;
  }

  .kolio-bundles-preview .Polaris-LegacyCard__Section {
    padding: 15px !important;
  }
}

#addNewDiscountButton span {
  font-weight: 600;
}

.setup-guide-layout {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.setup-guide-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}

.setup-guide-tab {
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 8px;
  background-color: transparent;
}

.setup-guide-tab.active {
  background-color: var(--p-color-bg-surface-secondary-active);
  font-weight: 600;
}

.setup-guide-content {
  padding-left: 16px;
  border-left: 1px solid var(--p-color-border);
}

@media screen and (max-width: 600px) {
  .setup-guide-layout {
    flex-direction: column;
  }

  .setup-guide-tabs {
    flex-direction: row;
    min-width: 100%;
    overflow-x: auto;
    gap: 8px;
  }

  .setup-guide-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .setup-guide-content {
    padding-left: 0;
    padding-top: 16px;
    border-left: none;
    border-top: none;
  }
}

.Polaris-Page--fullWidth {
  max-width: 1400px !important;
}

/*
.Polaris-Layout__Section--secondary {
  max-width: 377px !important;
}
*/

.Polaris-Icon.Polaris-Icon--colorBase.Polaris-Icon--applyColor {
  cursor: pointer;
}

.Polaris-Icon.Polaris-Icon--colorBase.Polaris-Icon--applyColor svg:hover {
  fill: rgb(0 115 255);
}

.need-upgrade {
  color: grey;
}

.plans-modal.without-close .Polaris-Modal-CloseButton {
  display: none !important;
}

.content-main-content {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.box-stack {
  display: flex;
  width: 100%;
  gap: 0.7rem;
}

@media (max-width: 1170px) {
  .box-stack {
    flex-direction: column;
    flex-wrap: wrap;
  }
}

@media (min-width: 1170px) {
  .box-stack {
    flex-direction: row;
  }
}

.box-stack > * {
  flex: 1;
}

.stack-2-in-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stack-2-in-row > * {
  width: calc(50% - 0.5rem / 2);
}

.space-in-stack {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: space-between;
}

.fields-stack {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fields-stack > * {
  flex: 1;
}

.vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.discount-arrows {
  display: flex;
  flex-direction: row;
}

@media (min-width: 768px) {
  .fields-stack {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
  }
}

.Polaris-Tabs {
  width: 100%;
}

.divider {
  margin: 1rem 0rem;
}

.index-tab {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 0.7rem;
}

.index-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.Polaris-LegacyCard {
  margin: 0rem !important;
  overflow: visible !important;
}

.empty-state-container {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.app-store-star {
  width: 12px;
}

.app-store-button {
  border: none;
  color: var(--p-color-text-link);
  background-color: transparent;
  display: flex;
  cursor: pointer;
  text-decoration: none;
}

.app-store-button:hover {
  text-decoration: underline;
}

.polaris-arrow-icon {
  height: 16px;
  width: 16px;
  min-height: 16px;
  min-width: 16px;
}

.w-screen {
  width: 100vw;
}

.h-screen {
  height: 100vh;
}

.custom-select .Polaris-Select__Content {
  padding: 0px;
  min-height: auto;
}

.custom-select .Polaris-Select__Backdrop, .custom-select .Polaris-Select__Backdrop:focus-visible, .custom-select .Polaris-Select__Backdrop:hover {
  border: none;
  background-color: transparent !important;
}

.custom-select .Polaris-Select, .custom-select .Polaris-Select div, .custom-select .Polaris-Select:hover {
  outline: none !important;
  background-color: transparent !important;
}

.custom-select .Polaris-Select {
  color: blue;
}

.custom-select .Polaris-Select select {
  cursor: pointer;
}

.sentiment-face-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.12s ease;
}

.sentiment-face-button:hover {
  transform: scale(1.08);
  background-color: #f7f7f7;
}

.sentiment-face-button:focus-visible {
  outline: none;
  border-color: #8c9196;
}
