.carouseldots {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
}

.carouseldots.hide {
    display: none;
}

.carouseldots .viewport {
    overflow: hidden;
    height: 12px;
}

.carouseldots .track {
    display: flex;
    align-items: center;
    height: 12px;
    will-change: transform;
    transition: transform 0.2s ease;
}

.carouseldots .dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #d9e0fa;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-shadow: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.carouseldots .dot::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.carouseldots .dot:focus,
.carouseldots .dot:focus-visible,
.carouseldots .dot:active {
    outline: none;
    box-shadow: none;
}

.carouseldots .dot.near {
    transform: scale(0.66);
}

.carouseldots .dot.far {
    transform: scale(0.33);
}

.carouseldots .dot.active {
    background-color: #1471db;
    transform: scale(1.25);
    cursor: default;
}

.dark .carouseldots .dot.active {
    background-color: #1683ff;
}
