/* ======================================
/* Creator List
/* ====================================== */

.loading-icon {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 50px;
  width: 100%;
}

.creators-index-header .fusion-layout-column {
  margin-bottom: 0 !important;
}

.creators-index-header {
  z-index: 15 !important;
}

.creators-list-sorting-container {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin-top: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
}

.creators-list-layout {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.layout-toggle {
  cursor: pointer;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: #F2F3F5;
  -ms-flex-item-align: stretch;
      -ms-grid-row-align: stretch;
      align-self: stretch;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 5px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: none;
  width: 85px;
}

.layout-toggle.active {
  background: #E2E5E8;
}

.creators-list-layout .layout-toggle:first-child {
  border-top-left-radius: 5.5px;
  border-bottom-left-radius: 5.5px;
}

.creators-list-layout .layout-toggle:last-child {
  border-top-right-radius: 5.5px;
  border-bottom-right-radius: 5.5px;
}

.creators-list-sorting {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.creator-sort-select {
  padding: 5px;
  font-size: 14px;
}

.creators-list {
  list-style: none;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0;
  margin: 0;
  gap: 1px;
}

.custom-select-wrapper {
  display: inline-block;
  position: relative;
  width: 100%;
}

/* Hide the native select */
.creator-sort-select {
  display: none;
}

/* Style the custom dropdown container */
.custom-select {
  position: relative;
  display: inline-block;
  min-width: 250px;
  font-size: 13px;
  font-weight: 500;
  font-display: 'Inter';
  cursor: pointer;
  width: 100%;
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
}

/* Style the trigger (visible part of the dropdown) */
.custom-select-trigger {
  -webkit-transition: border-color 0.3s ease, background-color 0.3s ease;
  -o-transition: border-color 0.3s ease, background-color 0.3s ease;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #F2F3F5;
  border-radius: 5.5px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  padding: 7px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/* Style the displayed value */
.custom-select-value {
  font-weight: 500;
  color: #585F68;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

/* Style the dropdown arrow */
.custom-select-trigger svg {
  margin-left: 7px;
  rotate: 180deg;
  width: 10px;
  display: block;
  height: auto;
}

/* Rotate arrow when dropdown is open */
.custom-select.open .custom-select-trigger svg {
  rotate: 0deg;
}

/* Style the options list */
.custom-options {
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #F2F3F5;
  border-radius: 0 0 5.5px 5.5px;
  display: none;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

/* Show options when dropdown is open */
.custom-select.open .custom-select-trigger {
  border-radius: 5.5px 5.5px 0 0;
}

.custom-select.open .custom-options {
  display: block;
}

/* Style each option */
.custom-option {
  -webkit-transition: background-color 0.3s ease, color 0.3s ease;
  -o-transition: background-color 0.3s ease, color 0.3s ease;
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 7px 10px;
  font-weight: 500;
  color: #8A96A3;
}


/* Style the selected option */
.custom-option.selected {
  font-weight: 600;
  color: #585F68;
}

.creators-list .loading {
  text-align: center;
  padding: 20px;
  color: #666;
  width: 100%;
}

@media (min-width: 500px) {
  .creators-list-sorting-container {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;
    margin-top: 0;
  }

  .creators-list-sorting {
    -webkit-box-flex: initial;
        -ms-flex: initial;
            flex: initial;
  }

  .layout-toggle {
    padding: 5px 5px;
    width: 34px;
  }
}

@media (min-width: 700px) {
  .creators-list-sorting-container {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: end;
    margin-top: 0;
  }
}

@media (max-width: 499px) {
  .creators-index-header {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }
}



/* Grid Layout
============================= */
.creators-list--layout-grid .post-card-creator-content .creator-button--placeholder  {
  display: none !important;
}

@media (min-width: 375px) {
  .creators-list--layout-grid .post-card-creator {
    max-width: calc(calc(100% / 3) - 1px);
  }
}

@media (min-width: 500px) {
  .creators-list--layout-grid .creator-name {
    font-size: 15px !important;
  }
}

@media (min-width: 768px) {
  .creators-list--layout-grid .post-card-creator {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(25% - 1px);
            flex: 1 1 calc(25% - 1px);
  }

  .creators-list--layout-grid .creator-name {
    font-size: 15px !important;
  }

  .creators-list--layout-grid .creator-location {
    font-size: 12.2px;
  }
}

@media (min-width: 950px) {
  .creators-list--layout-grid .post-card-creator {
    max-width: calc(calc(100% / 6) - 1px);
    -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(16.66% - 1px);
            flex: 1 1 calc(16.66% - 1px);
  }

  .creators-list--layout-grid .post-card-creator:hover .post-card-creator-content {
    background: #FFF;
  }

  .creators-list--layout-grid .post-card-creator:first-child .post-card-creator-image-link img {
    border-top-left-radius: 25px;
  }

  .creators-list--layout-grid .post-card-creator:nth-child(6) .post-card-creator-image-link img {
    border-top-right-radius: 25px;
  }
}

@media (min-width: 1200px) {
  .creators-list--layout-grid .post-card-creator:hover {
    -webkit-transform: scaleX(1.01) scaleY(1.01);
        -ms-transform: scaleX(1.01) scaleY(1.01);
            transform: scaleX(1.01) scaleY(1.01);
  }

  .creators-list--layout-grid .post-card-creator:hover,
  .creators-list--layout-list .post-card-creator:hover {
    background: #FFF;
  }
}



/* List Layout
============================= */
.creators-list--layout-list .post-card-creator {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 calc(100% - 1px);
          flex: 1 1 calc(100% - 1px);
  background: #F2F3F5;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 10px;
}

.creators-list--layout-list .post-card-creator-image-link img {
  border-radius: 5px;
  height: 56px;
  width: 56px;
}
.creators-list--layout-list .post-card-creator-content .button-container .plus-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.creators-list--layout-list .post-card-creator-content .creator-button--placeholder  {
  background: none !important;
}

.creators-list--layout-list .post-card-creator-image-link .plus-button {
  display: none;
}

.creators-list--layout-list .post-card-creator-content {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0 0 0 10px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  background: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.creators-list--layout-list .creator-location {
  margin-top: 6px;
}

.creators-list--layout-list .post-card-creator .button-container {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  max-width: 137px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 0;
}

.creators-list--layout-list .post-card-creator .creator-button {
  width: 41px;
}

.creators-list--layout-list .post-card-creator .creator-button.plus-button {
  position: initial;
  max-height: 29px;
  min-width: 28px;
  max-width: 28px;
  height: 29px;
}

.creators-list--layout-list .post-card-creator .creator-button.plus-button i::before {
  --button_accent_hover_color: var(--awb-color4);
  --button_gradient_top_color_hover: hsla(200,calc(81% - 5%),calc(90% - 10%), 100%);
  --button_accent_color: var(--awb-color1);
  --button_border_hover_color: var(--awb-custom_color_1);
  color: var(--button_accent_color);
}

.creators-list--layout-list .post-card-creator .creator-button.plus-button:hover {
  --button_accent_hover_color: var(--awb-color4);
  --button_gradient_top_color_hover: hsla(200,calc(81% - 5%),calc(90% - 10%), 100%);
  --button_accent_color: var(--awb-color1);
  --button_border_hover_color: var(--awb-custom_color_1);
  color: var(--button_accent_hover_color, var(--button_accent_color));
  background: var(--button_gradient_top_color_hover);
  border-color: var(--button_border_hover_color);
}

.creators-list--layout-list .post-card-creator .creator-button.plus-button:hover i::before {
  color: var(--button_accent_hover_color, var(--button_accent_color));
}

.creators-list--layout-list .post-card-creator .creator-button i {
  font-size: 10px;
}

.creators-list--layout-list .post-card-creator .creator-button--full-width {
  min-width: -webkit-max-content;
  min-width: -moz-max-content;
  min-width: max-content;
  line-height: normal;
  position: initial;
  padding: 8px;
  width: auto;
  margin: 0;
}


@media (max-width: 767px) {
  .creators-list--layout-list .post-card-creator-content .creator-button--placeholder  {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .creator-list--layout-list .creator-card .creator-button+.creator-button--full-width {
    margin-right: 15px;
    padding: 8px 12px;
    margin-left: 15px;
    width: auto;
  }

  .creators-list--layout-list .post-card-creator:first-child {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  .creators-list--layout-list .post-card-creator-image-link img {
    height: 28px;
    width: 28px;
  }

  .creators-list--layout-list .creator-meta {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }

  .creators-list--layout-list .creator-name {
    --minFontSize: 11 !important;
    --fontSize: 11 !important;
    max-width: 170px;
    width: 100%;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }

  .creators-list--layout-list .creator-location {
    --minFontSize: 9 !important;
    --fontSize: 9 !important;
    padding: 0 10px;
    margin-top: 0;
  }

  .creators-list--layout-list .post-card-creator .button-container {
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: auto;
  }

  .creators-list--layout-list .post-card-creator .creator-button {
    width: 28px;
  }

  .creators-list--layout-list .post-card-creator .creator-button+.creator-button--full-width {
    margin-right: 15px;
    padding: 8px 12px;
    margin-left: 15px;
    width: auto;
  }
}

@media (min-width: 1200px) {
  .creators-list--layout-list .post-card-creator {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(50% - 1px);
            flex: 1 1 calc(50% - 1px);
  }

  .creators-list--layout-list .post-card-creator:first-child {
    border-top-left-radius: 15px;
    border-top-right-radius: 0;
  }

  .creators-list--layout-list .post-card-creator:nth-child(2) {
    border-top-right-radius: 15px;
  }

  .creators-list--layout-list .creator-button--full-width {
    padding: 8px 22px;
  }
}


/* Dark Mode
============================= */
body.dark-mode .post-card-creator-content,
body.dark-mode .creators-list--layout-list .post-card-creator {
  background: none !important;
}

body.dark-mode .creators-list--layout-grid .post-card-creator:hover {
  background: none;
}

body.dark-mode .creators-list--layout-list .post-card-creator:hover,
body.dark-mode .creators-list--layout-grid .post-card-creator:hover .post-card-creator-content {
  background:#ffffff0f;
}