:root {
    --caption-color: #585858;
}

.caption-primary {
    color: var(--caption-color);
}

.msa-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    align-content: center;

    max-width: 100%;
}

.msa-page-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.msa-page-info select {
    width: 65px;
    padding: 4px 9px;
    background: url("data:image/svg+xml,%3Csvg width='13' height='14' viewBox='0 0 13 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.25 5.62964L6.5 8.87964L9.75 5.62964' stroke='%23A6A6A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none;
    background-size: 13px 14px;
    color: var(--caption-color);
}

.msa-page-buttons {
    display: flex;
    align-items: center;
    gap: 17px;
}

.msa-page-buttons button {
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    min-width: 32px;
    min-height: 32px;
    text-align: center;
    color: var(--caption-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.msa-page-buttons button.disabled {
    background: white !important;
    color: var(--caption-color);
    cursor: not-allowed;
    pointer-events: none;
}

.msa-page-buttons button.active {
    background: #E4E4E4;
}

.msa-page-buttons button:hover {
    background: #f0f0f0;
}

.msa-page-buttons button:last-child,
.msa-page-buttons button:first-child {
    background-color: var(--msa-primary-color);
    font-weight: bold;
    width: 36px;
    display: flex;
    padding: 5px;
    align-content: center;
    justify-content: center;
}

.msa-page-buttons span {
    padding: 0 6px;
    color: var(--caption-color);
    font-weight: 500;
}

.msa-page-buttons .msa-page{
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 30px;
  letter-spacing: 0.5px;
  vertical-align: middle;
  text-transform: capitalize;
  color: #000000 !important;
}

@media  (max-width:715px) {
    .msa-pagination{
        flex-direction: column;
        justify-content: center;
    }
    
}

@media (max-width: 500px) {
  .msa-page-buttons {
    gap: 13px;
  }
}