/*!
Copyright 2023 Adobe. All rights reserved.
This file is licensed to you under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
OF ANY KIND, either express or implied. See the License for the specific language
governing permissions and limitations under the License.
*/

.spectrum-Pagination{
  --spectrum-pagination-counter-margin-inline-start:var(--spectrum-pagination-item-inline-spacing);
  --spectrum-pagination-page-button-inline-spacing:var(--spectrum-pagination-item-inline-spacing);
  --spectrum-pagination-counter-color:var(--spectrum-neutral-subdued-content-color-default);
  --spectrum-pagination-counter-font-size:var(--spectrum-font-size-100);
  --spectrum-pagination-counter-line-height:var(--spectrum-line-height-100);
}

[dir="rtl"] .spectrum-Pagination{
		--spectrum-logical-rotation:matrix(-1, 0, 0, 1, 0, 0);
	}

.spectrum-Pagination:dir(rtl){
		--spectrum-logical-rotation:matrix(-1, 0, 0, 1, 0, 0);
	}

.spectrum-Pagination--explicit, .spectrum-Pagination--listing{
  display:flex;
  flex-direction:row;
  align-items:center;
}

.spectrum-Pagination-textfield{
  --mod-textfield-width:var(--mod-pagination-textfield-width, var(--spectrum-pagination-textfield-width));
  --mod-textfield-min-width:var(--mod-pagination-textfield-width, var(--spectrum-pagination-textfield-width));
}

.spectrum-Pagination-counter{
  font-size:var(--mod-pagination-counter-font-size, var(--spectrum-pagination-counter-font-size));
  line-height:var(--mod-pagination-counter-line-height, var(--spectrum-pagination-counter-line-height));
  margin-inline-start:var(--mod-pagination-counter-margin-inline-start, var(--spectrum-pagination-counter-margin-inline-start));
  color:var(--mod-pagination-counter-color, var(--spectrum-pagination-counter-color));
}

.spectrum-Pagination-prevButton{
  margin-inline-end:var(--mod-pagination-page-button-inline-spacing, var(--spectrum-pagination-page-button-inline-spacing));
}

.spectrum-Pagination-nextButton{
  margin-inline-start:var(--mod-pagination-page-button-inline-spacing, var(--spectrum-pagination-page-button-inline-spacing));
}

.spectrum-Pagination-prevButton .spectrum-Icon{
  transform:var(--spectrum-logical-rotation,) rotate(180deg);
}

.spectrum-Pagination-nextButton .spectrum-Icon{
    transform:var(--spectrum-logical-rotation);
}
