/* MODULE TABS > LAYOUT */
.tabs-module {
  background: transparent;
}

/* MODULE TABS > TITLE */
.tabs-module .top-title-wrapper {
  margin-bottom: 24px;
}
.tabs-module .top-title-wrapper .title-holder {
  max-width: 600px;
}

/* MODULE TABS > SELECT (MOBILE-ONLY) TRIGGER */
.tabs-module .select-trigger-wrapper {
  margin-bottom: 32px;
}
.tabs-module .select-trigger-wrapper form {
  position: relative;
}
.tabs-module .select-trigger-wrapper form select {
  background-color: var(--color-light-green) !important;
  border: none !important;
  border-radius: 8px;
  color: var(--color-dark-green);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  padding: 12px 46px 12px 14px;
  height: 48px;
}
.tabs-module .select-trigger-wrapper form:after {
  bottom: 10px;
  content: '\e901';
  font-family: icomoon !important;
  font-size: 18px;
  position: absolute;
  right: 20px;
  color: var(--color-white);
  pointer-events: none;
}

/* MODULE TABS > MAIN AREA > TRIGGERS */
.tabs-module .main-area-wrapper .tabs-triggers-holder {
  display: none;
}

@media (min-width: 48em) {
  .tabs-module .select-trigger-wrapper form {
    // border-bottom: 1px solid var(--color-ultra-light-gray);
    max-width: 560px;
  }
  .tabs-module .select-trigger-wrapper form select {
    /*
    background-color: var(--color-secondary) !important;
    border: none !important;
    border-radius: 8px;
    color: var(--color-white);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    padding: 12px 46px 12px 14px;
    height: 48px;
    */
  }
}

@media (min-width: 54em) {
  /* MODULE TABS > SELECT (MOBILE-ONLY) TRIGGER */
  .tabs-module .select-trigger-wrapper {
    display: none;
  }

  /* MODULE TABS > MAIN AREA */
  .tabs-module .main-area-wrapper {
    display: flex;
  }

  /* MODULE TABS > MAIN AREA > TRIGGERS */
  .tabs-module .main-area-wrapper .tabs-triggers-holder {
    display: block;
  }
  .tabs-module .main-area-wrapper .tabs-triggers-holder button {
    padding: 12px 16px;
    display: block;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 18px;
    color: var(--color-black);
    text-align: left;
    cursor: pointer;
    transition: all 200ms ease-out;
    font-family: var(--font-regular);
  }
  .tabs-module .main-area-wrapper .tabs-triggers-holder button:hover {
    background-color: var(--color-terciary);
  }

  /* MODULE TABS > MAIN AREA > TRIGGERS > TABS TOP */
  .tabs-module .main-area-wrapper.tabs_top .tabs-triggers-holder button {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 33.33%;
  }

  /* MODULE TABS > MAIN AREA > TRIGGERS > TABS LEFT */
  .tabs-module .main-area-wrapper.tabs_left {
    gap: 0;
  }
  .tabs-module .main-area-wrapper.tabs_left .tabs-triggers-holder {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 0 25%;
    max-width: 275px;
  }
  .tabs-module .main-area-wrapper.tabs_left button {
    border: 1px solid var(--color-new-gray);
    border-radius: 8px;
    width: 100%;
    background-color: inherit;
    color: var(--color-new-gray);
    font-family: var(--font-radio);
  }
  .tabs-module .main-area-wrapper.tabs_left button.active {
    background-color: var(--color-light-green);
    border: 1px solid var(--color-new-gray);
    color: var(--color-dark-green);
  }

  /* MODULE TABS > MAIN AREA > TRIGGERS > TABS TOP */
  .tabs-module .main-area-wrapper.tabs_top {
    flex-direction: column;
    gap: 24px;
  }
  .tabs-module .main-area-wrapper.tabs_top .tabs-triggers-holder {
    display: flex;
    flex-direction: row;
    gap: 0;
    position: relative;
  }
  .tabs-module .main-area-wrapper.tabs_top .tabs-triggers-holder:after {
    content: '';
    background-color: var(--color-terciary);
    bottom: 0;
    left: 16px;
    width: calc(100% -32px);
    height: 1px;
    position: absolute;
  }
  .tabs-module .main-area-wrapper.tabs_top button {
    border: none;
    border-radius: 0;
    width: auto;
    background-color: transparent;
  }
  .tabs-module .main-area-wrapper.tabs_top button.active {
    background-color: var(--color-light-green);
  }

  /* MODULE TABS > MAIN AREA */
  .tabs-module .main-area-wrapper .tabs-contents-holder {
    flex: 0 1 100%;
  }
}

@media (min-width: 80em) {
  /* MODULE TABS > MAIN AREA > TRIGGERS > TABS LEFT */
  .tabs-module .main-area-wrapper.tabs_left {
    gap: 32px;
  }

  /* MODULE TABS > MAIN AREA > TRIGGERS > TABS TOP */
  .tabs-module .main-area-wrapper.tabs_top .tabs-triggers-holder:after {
    left: 0;
    width: 100%;
  }
}
