@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wdth,wght@8..144,25..151,100..1000&display=swap');

body { font-family: "Roboto Flex", sans-serif; font-weight: 400; font-style: normal; font-size: 1.3rem; }
body strong { font-weight: 500; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; }
.card { font-variation-settings: "wdth" 75; }
.card h5 { font-weight: 500; font-variation-settings: "wdth" 75; font-size: 1.5rem; }
.card i { font-size: 0.8rem; }
.card-body { padding: 15px; }
.sentiment-card .card-body.card-body-border { border-top: 1px solid rgba(0, 0, 0, 0.176); }
.sp-filter-badge { background: #726e6c; }

.tagify__dropdown { border: 1px solid rgba(0, 0, 0, 0.176); border-radius: 0 0 6px 6px; }
.tagify__dropdown__wrapper { border: 0px; }

.search-box ul.list-group { top: 36px; border-radius: 0 0 6px 6px; left: 89px; box-shadow: none !important; border-top: none;  border-bottom-left-radius: 6px !important; } 

#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

#loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Override Choices.js input container */
.choices__inner {
  background-color: white !important;
  border-radius: 6px !important;
}

/* Style selected pill/tag items inside the field */
.choices__list--multiple .choices__item.choices__item--selectable {
  background-color: #666 !important; 
  color: #FFF; ) !important;
  border-radius: 6px !important;
  border: none !important;
  padding: 3px 8px !important;
  font-weight: 500;
}
/* Remove blue outline on focus */
.choices__inner:focus,
.choices__inner:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.choices__input {
  background-color: transparent !important;
}

/* Dropdown menu container */
.choices__list { margin-top: -4px !important; }
.choices__list--dropdown {
  background-color: #fff !important; /* Bootstrap light gray */
  border-bottom-left-radius: 6px !important;
  border-bottom-right-radius: 6px !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border: 1px solid rgb(183, 183, 183) !important;
  border-top: none !important;
  box-shadow: none !important;
  margin-top: -1px; /* to avoid gap from input */
}

/* Dropdown items */
.choices__list--dropdown .choices__item {
  color: #212529;
  padding: 6px 10px;
}


/* Highlighted (hovered or selected) item */
.choices__list--dropdown .choices__item--selectable.is-highlighted {
  background-color: #e9ecef !important; /* Bootstrap hover gray */
  color: #212529 !important;
}
.list-group-suggestions {}

ul.list-group.position-absolute.list-group-suggestions > li:first-child { border-top:0px; }

.payment-flow { max-width: 700px; text-align: center; border: 1px solid #e8e3e2; border-radius: 6px; padding: 30px; margin: 90px auto 90px auto; }
.payment-flow-summary { max-width: 400px; margin: 0 auto; text-align: left; }

.payment-flow img.logo { max-width: 400px; margin: 0 auto; }
.payment-flow-discount { max-width: 200px; margin: 0 auto; }
.payment-flow-buttons { max-width: 500px; margin: 0 auto; }

footer { font-size: 0.8rem; font-weight: 200; }
footer a { color: #666;}

.sp-nav a { font-size: 1rem; font-variation-settings: "wdth" 75;  }

.search-box .input-group { padding: 0 15px; }

.sp-filter-header { position: sticky; top: 0; background: #716165; z-index: 99999999; }
.sp-btn-filter-close { color: #E7E6E6; font-size: 2rem; padding: 0px 10px 0 5px; border: none; height: 20px; margin-top: -30px; }
.sp-card-info { font-size: 1rem; font-weight: 300; }
.sp-card-info i { font-size: 1rem; color: rgb(131, 130, 130); }
.sp-block-size { font-variation-settings: "wdth" 150; border: 1px solid rgb(108, 117, 125); width: 1.5rem; }
.sp-card-toggles i { font-size: 1em; }
.sp-set-name, .sp-sku { border: 1px solid rgb(108, 117, 125); color: rgb(33, 37, 41); font-size: 1rem; margin-bottom: 5px; width: auto; font-weight: 500; padding: 2px 7px 0px 7px; font-variation-settings: "wdth" 25; }
.sp-card-header { font-size: 1rem; font-variation-settings: "wdth" 25; color: rgb(33, 37, 41, 0.5); padding: 10px 15px 6px 15px !important; line-height: 0.8rem; }
.sp-card-header a { text-decoration: none; color: rgb(33, 37, 41, 0.5); }
.sp-card-header a:hover {color: rgb(184, 92, 90); }
.sp-sku-header { font-size: 0.8rem;}

.sp-filter-bar-inner-2 { background: #bbb4b1; }

.sp-logo { width: 100%; }
.form-check { padding-left: 1.5rem !important; }
.form-switch { padding-left: 0px !important; }
.form-switch  .form-check-input { margin-left: 0rem !important; }
.form-switch .form-check-label { margin-left: 3rem; }
.sp-email-login { color: #716165; }
input.choices__input { border: 0px !important; margin-bottom: 0px; }
input[type="text"], textarea { background: #fff !important; border: 1px solid rgb(221, 221, 221) !important; }
.input-group-text, .sp-search-btn { border: 1px solid rgb(221, 221, 221); }
.sp-search-btn { background: rgb(131, 130, 130); color:rgb(221, 221, 221); }

/* Make modal fill viewport minus 30px margin */
.modal.custom-scaled-modal .modal-dialog {
  margin: 30px auto;
  max-width: 1600px;
  width: calc(100vw - 60px);
  height: calc(100vh - 60px);
}

/* Expand modal content to full size */
.modal.custom-scaled-modal .modal-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Make body center and fit the image */
.modal.custom-scaled-modal .modal-body {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

/* Image scales to fit modal box */
.modal.custom-scaled-modal .modal-body img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

input[type="checkbox"]:checked, input[type="radio"]:checked { background-color:rgb(131, 130, 130); border-color:rgb(131, 130, 130); }

/* Sticky filter bar (all screen sizes) */
.sp-filter-bar {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: transparent;
  padding: 0px;
}
.sp-scope-right { display: none; padding: 10px; }
.sp-scope-left { display: block; }
.sp-scope-right .btn { width: 100%; }
.sp-scope-right .dropdown-menu.show { width: 100%; background:rgb(231, 230, 230); margin-top: -7px !important; border-color: rgb(231, 230, 230); }
.sp-scope-right .dropdown-menu .dropdown-item { text-align: center; }
@media (max-width: 601.98px) {
  .sp-filter-bar button span { display: none; }
}
@media (max-width: 674.98px) {
  .sp-scope-left ul.nav { font-variation-settings: "wdth" 70 !important; font-weight: 600; text-transform: uppercase;  }
  .sp-scope-left ul.nav span { display: none; }
}
@media (max-width: 530px) {
.sp-scope-left ul.nav { font-variation-settings: "wdth" 50 !important; font-weight: 300; font-size: 0.9rem; }
}
@media (max-width: 460px) {
.sp-filter-bar-inner-2 .dropdown-toggle { padding: 6px 12px !important; }
}
@media (max-width: 415px) {
.sp-filter-bar-inner-2 .dropdown-toggle { font-variation-settings: "wdth" 50 !important; font-weight: 300; }
.sp-scope-left ul.nav li.nav-item a.nav-link { padding: 6px 10px !important; }
}
@media (max-width: 377px) {
.sp-filter-bar-inner-2 .dropdown-toggle { padding: 6px 10px !important; font-weight: 300; }
.sp-scope-left ul.nav { font-variation-settings: "wdth" 50 !important; font-weight: 300; font-size: 0.9rem; }

}
.sp-filter-bar-inner-1 { background: #ac615c; }
.sp-filter-bar-inner-1 .nav-item a { padding: 5px 10px 3px 10px !important; }
.sp-filter-bar-inner-2 button { background: #fff; }
.sp-tab-active { background: #bbb4b1; border-radius: 6px 6px 0 0; }
.sp-scope-left ul.nav { font-variation-settings: "wdth" 100; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.sp-scope-left ul li a { color: #fcfbfb; }
.sp-scope-left ul li a:hover { color: #666; }
.sp-filter-bar-inner-2 { padding: 7px; }
.sp-scope-left a.nav-link { padding: 0px 15px 5px 15px !important; margin-top: 8px; }
.sp-scope-left ul li a.sp-tab-active { color:  #fcfbfb; padding: 5px 15px 0px 15px !important; }
.sp-filter-bar-inner-2 .dropdown-toggle { background: #dddad8; border: 1px solid #8b8583; color: #8b8583; padding: 6px 24px; }

.sp-filter-bar-inner-2 .dropdown-toggle:hover, .sp-filter-bar-inner-2 .dropdown-toggle:active, .sp-filter-bar-inner-2 .dropdown-toggle:focus { }
.sp-filter-bar-inner-2 button { font-weight: 600; }
.sp-filter-bar-inner-2 .btn-outline-dark { background-color: #8b8583; color:#dddad8; border-color: #8b8583; }
.sp-filter-bar-inner-2 .dropdown-toggle:focus, .sp-filter-bar-inner-2 .btn-outline-dark:focus { box-shadow: none; }

.sp-filter-bar-inner-2 .dropdown-menu { background-color:#dddad8; colosr: #8b8583; border: 1px solid #8b8583; }
.sp-filter-bar-inner-2 .dropdown-menu .form-check-input { border-color: #8b8583; }

body.admin-page input[type="text"], body.admin-page select, body.admin-page textarea, body.admin-page .choices { font-family: monospace; font-size: 22px !important; color: #333; }

.sentiment-col {
  padding: 0.5rem; /* or whatever value you want */
}
#sentiment-grid {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

img.sp-logo { width: 100%; height: auto; }

