:host {
  display: block;
  padding: 20px;
  background: #FFFFFF;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
}

:host(.gasco-paginator.paginator-with-select) {
  display: flex;
  justify-content: space-between;
}
: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;
  gap: 10px;
}
:host(.gasco-paginator.paginator-with-select) .paginator-select .paginator-size {
  display: flex;
  align-items: center;
  gap: 10px;
}

: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 .paginator-pages .wrap-indicator .paginator-indicator {
    font-size: 10px;
  }
}