:host {
  display: block;
  padding: 17px;
  background: #FFFFFF;
  border: 1.5px solid #EBEBEB;
  flex-grow: 1;
  width: 100%;
  max-width: 100%;
}

:host(.gasco-paginator.paginator-with-select) {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
:host(.gasco-paginator.paginator-with-select) .gasco-select {
  max-width: 100px;
}
:host(.gasco-paginator.paginator-with-select) .select-native :host(gasco-input) {
  margin-bottom: 0;
}
:host(.gasco-paginator.paginator-with-select) .paginator-select {
  display: flex;
  align-items: center;
  justify-content: end;
  flex: 1 1;
  gap: 1rem;
}
:host(.gasco-paginator.paginator-with-select) .paginator-select span {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #072531;
}
:host(.gasco-paginator.paginator-with-select) .paginator-select .select-wrap {
  position: relative;
  max-width: 80px;
  width: 100%;
}
:host(.gasco-paginator.paginator-with-select) .paginator-select .select-wrap > gasco-list {
  position: absolute;
  width: 100%;
  top: 3rem;
  z-index: 100;
}
:host(.gasco-paginator.paginator-with-select) .paginator-select .select-button {
  position: relative;
  border: 1px solid var(--gasco-color-primary, #00A3E0);
  border-radius: 4px;
  width: 100%;
  text-align: initial;
  padding-left: 11px;
  padding-right: 11px;
  padding-top: 4px;
  padding-bottom: 4px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #072531;
}
@supports (margin-inline-start: 0) or (-webkit-margin-start: 0) {
  :host(.gasco-paginator.paginator-with-select) .paginator-select .select-button {
    padding-left: unset;
    padding-right: unset;
    -webkit-padding-start: 11px;
    padding-inline-start: 11px;
    -webkit-padding-end: 11px;
    padding-inline-end: 11px;
  }
}
:host(.gasco-paginator.paginator-with-select) .paginator-select .select-button::after {
  position: absolute;
  content: "";
  width: 0.8em;
  height: 0.5em;
  top: 10px;
  right: 10px;
  background-color: var(--gasco-color-primary, #00A3E0);
  clip-path: polygon(100% 0%, 0 0%, 50% 100%);
  transition: 300ms;
}
:host(.gasco-paginator.paginator-with-select) .paginator-select .select-button:focus::after {
  transform: rotate(180deg);
}

:host button {
  cursor: pointer;
  border: none;
  background: transparent;
  display: inline-block;
}

:host .paginator-pages {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
:host .paginator-pages .wrap-buttons {
  display: flex;
}
:host .paginator-pages .wrap-buttons button {
  display: flex;
  padding: 6px 2px;
  align-items: center;
  transition: 300ms;
  border-radius: 4px;
}
:host .paginator-pages .wrap-buttons button:hover {
  background: var(--gasco-color-light, #F1F1F1);
}
:host .paginator-pages .wrap-indicator {
  padding-left: 8px;
  padding-right: 8px;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  gap: 8px;
  direction: ltr;
}
@supports (margin-inline-start: 0) or (-webkit-margin-start: 0) {
  :host .paginator-pages .wrap-indicator {
    padding-left: unset;
    padding-right: unset;
    -webkit-padding-start: 8px;
    padding-inline-start: 8px;
    -webkit-padding-end: 8px;
    padding-inline-end: 8px;
  }
}
:host .paginator-pages .wrap-indicator .paginator-indicator {
  position: relative;
  padding: 2px 8px;
  user-select: none;
  z-index: 1;
  transition: all 0.1s linear;
}
:host .paginator-pages .wrap-indicator .paginator-indicator:hover::after {
  background: var(--gasco-color-light, #F1F1F1);
}
:host .paginator-pages .wrap-indicator .paginator-indicator.active-indicator {
  color: #ffffff !important;
}
:host .paginator-pages .wrap-indicator .paginator-indicator.active-indicator::after {
  background: var(--gasco-color-primary, #00A3E0);
}
:host .paginator-pages .wrap-indicator .paginator-indicator.disabled {
  cursor: default;
  color: #bbb;
}
:host .paginator-pages .wrap-indicator .paginator-indicator.disabled:hover {
  border-color: #fafafa;
}
:host .paginator-pages .wrap-indicator .paginator-indicator::after {
  border-radius: 32px;
  padding-left: 4px;
  padding-right: 4px;
  padding-top: 4px;
  padding-bottom: 4px;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  content: " ";
  z-index: -1;
}
@supports (margin-inline-start: 0) or (-webkit-margin-start: 0) {
  :host .paginator-pages .wrap-indicator .paginator-indicator::after {
    padding-left: unset;
    padding-right: unset;
    -webkit-padding-start: 4px;
    padding-inline-start: 4px;
    -webkit-padding-end: 4px;
    padding-inline-end: 4px;
  }
}

@media only screen and (max-width: 670px) {
  :host(.gasco-paginator.paginator-with-select) {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  :host(.gasco-paginator.paginator-with-select) .paginator-select {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  :host(.gasco-paginator.paginator-with-select) .paginator-select span {
    font-size: 14px;
    line-height: 20px;
  }

  :host .paginator-pages .wrap-indicator .paginator-indicator {
    font-size: 10px;
  }
}
@media only screen and (max-width: 320px) {
  :host(.gasco-paginator.paginator-with-select) {
    padding-inline: 0 !important;
  }
  :host(.gasco-paginator.paginator-with-select) .paginator-select {
    width: initial;
  }
}